You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project implements a subset of Epson's ESC/POS protocol for thermal receipt printers. It allows you to generate and print receipts with basic formatting, cutting, and barcodes on a compatible printer.
8
9
@@ -178,15 +179,12 @@ If you haven't used `composer` before, you can read about it at [getcomposer.org
178
179
179
180
This project has few hard dependencies:
180
181
181
-
- PHP 7.3 or newer.
182
+
- PHP 8.2 or newer.
182
183
-`json` extension, used to load bundled printer definitions (see [documentation](https://www.php.net/manual/en/book.json.php))
183
184
-`intl` extension, used for character encoding (see [documentation](https://www.php.net/manual/en/book.intl.php))
184
185
-`zlib` extension, used for de-compressing bundled resources (see [documentation](https://www.php.net/manual/en/book.zlib.php)).
185
186
186
-
It is also suggested that you install either `imagick` or `gd`, as these can be used to speed up image processing.
187
-
188
-
A number of optional extensions can be added to enable more specific features. These
189
-
are described in the "suggest" section of [composer.json](https://github.com/mike42/escpos-php/tree/master/composer.json).
187
+
It is also suggested that you install either `imagick` or `gd`, as these will be used to speed up image processing if present. The [gfx-php](https://github.com/mike42/gfx-php) library will otherwise be used as a fallback.
190
188
191
189
### The 'Hello World' receipt
192
190
@@ -552,7 +550,7 @@ This code is MIT licensed, and you are encouraged to contribute any modification
552
550
553
551
For development, it's suggested that you load `imagick`, `gd` and `Xdebug` PHP extensions.
554
552
555
-
The tests are executed on [Travis CI](https://travis-ci.org/mike42/escpos-php) over PHP 7.3, 7.4 and 8.0. Older versions of PHP are not supported in the current release, nor is HHVM.
553
+
The tests are executed [via GitHub actions](https://github.com/mike42/escpos-php/blob/main/.github/workflows/ci.yml) on PHP 8.2, 8.3, 8.4 and 8.5. Older versions of PHP are not supported in the current release.
556
554
557
555
Fetch a copy of this code and load dependencies with composer:
558
556
@@ -564,11 +562,15 @@ Execute unit tests via `phpunit`:
This project uses the PSR-2 standard, which can be checked via [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer):
568
570
569
571
php vendor/bin/phpcs --standard=psr2 src/ -n
570
572
571
-
The developer docs are build with [doxygen](https://github.com/doxygen/doxygen). Re-build them to check for documentation warnings:
573
+
The developer docs are not currently maintained, but were built with [doxygen](https://github.com/doxygen/doxygen). Re-build them to check for documentation warnings:
0 commit comments