escpos-php icon indicating copy to clipboard operation
escpos-php copied to clipboard

autolaod.php missing in code

Open simpo-sys opened this issue 3 years ago • 3 comments

vendor/autolaod.php path is not found in code...

simpo-sys avatar Jul 18 '20 02:07 simpo-sys

require DIR . '/../../../autoload.php'; or require DIR . '/../../../../autoload.php'; in subfolders

If you are trying to run the example from the vendor directory, then correct it as in the video https://youtu.be/TxQJMpp7UIg?t=400 from 6:40

Muraveiko avatar Jul 24 '20 10:07 Muraveiko

vendor/autolaod.php path is not found in code...

samsamuels avatar Sep 29 '20 07:09 samsamuels

What you're missing is running composer install, which will import your packages and create the vendor folder, along with the autoload script.

WangElectronics avatar Jan 18 '22 21:01 WangElectronics