How do i include library to nativePHP #60
Unanswered
NorthenCat
asked this question in
Q&A
Replies: 1 comment
|
There are two different cases here. A normal PHP package such as maatwebsite/excel should stay a Composer dependency and be bundled with the Laravel app. Tesseract is different because it is an external executable, not a PHP library. In current NativePHP you can ship extra executables/resources from the project's extras/ directory and resolve them at runtime from the extras disk. So don't rely on a system-installed tesseract.exe if the built app must work on another machine; bundle the platform binary and its required data/dependencies explicitly. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
currently i need to use maatwebsite/excel and tesseract in nativephp, but it doesnt work to nativephp app desktop. how do i include them ?
All reactions