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

how to use escpos-php in laravel

Open simirfan opened this issue 5 years ago • 5 comments

thank you for the program you developed. I want to use this system in my laravel project. Is something like this possible?

simirfan avatar Jan 23 '20 11:01 simirfan

Meanwhile, the program worked successfully on my sII-rp-d10 thermal printer

simirfan avatar Jan 23 '20 11:01 simirfan

Yes this is possible.

We don't provide any Laravel-specific documentation, but this library ships as a composer dependency. I believe it's as simple as running composer require mike42/escpos-php in the root of your project, and then using use Mike42\Escpos\Printer; somewhere in your own code.

See also the Composer section in the README.

mike42 avatar Feb 08 '20 05:02 mike42

thank you mike. I was able to successfully run the codes in my laravel project.

simirfan avatar Feb 08 '20 22:02 simirfan

Simirfan Can you share how you implemented mike42/escpos-php in your laravel project? Thanks

gilson-reis avatar Jul 24 '20 02:07 gilson-reis

Hello @simirfan @mike42 how do I use escpos in laravel?

aydarda avatar May 26 '25 13:05 aydarda