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

This package is auto-updated.

Last update: 2024-10-16 23:49:30 UTC


README

Author Software License GitLab tag (latest by SemVer)

build status coverage report

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.