hgraca / php-extension
A PHP library with code that can be included into a project and used as if it was part of the PHP core itself.
v2.3.0
2023-08-16 21:00 UTC
Requires
- php: ^8.2
Requires (Dev)
- ergebnis/composer-normalize: ^2.31.0
- friendsofphp/php-cs-fixer: ^v3.18.0
- malukenho/mcbumpface: ^1.2.0
- overtrue/phplint: ^9.0.4
- phpstan/phpstan: ^1.10.20
- phpunit/phpunit: ^10.2.2
- psalm/plugin-phpunit: ^0.18.4
- ramsey/uuid: ^4.7.4
- rector/rector: ^0.15.25
- roave/security-advisories: dev-master
- symfony/uid: ^v6.3.0
- vimeo/psalm: ^5.12.0
Suggests
- ext-json: Needed by the JsonEncoder class.
- ramsey/uuid: Allows using this libraries UUID functionality.
- symfony/uid: Allows using this libraries UUID functionality.
README
A PHP library with code that can be included into a project and used as if it was part of the PHP core itself.
Dev usage
How to run
Using local PHP (8.2):
- Install the dependencies with
composer install
; - The tests can be run with
composer test
; - To list all custom scripts run
composer run-script --list
.
Using Docker:
- Change PHP and xdebug configs in
./build
; - Install the dependencies with
docker compose -f ./build/docker-compose.yaml run app composer install
; - The tests can be run with
docker compose -f ./build/docker-compose.yaml run app composer test
; - To list all custom scripts run
docker compose -f ./build/docker-compose.yaml run app composer run-script --list
.