Provides common base functionality for all other apparat modules:
- Manifest module definition
- Environment variable support & validation (based on vlucas/phpdotenv)
- Dependency Injection / Inversion of Control (IoC) container (based on level-2/dice)
- PSR-3 compatible logging (based on monolog/monolog)
- TODO: Signals & Slots implementation
Please find the project documentation in the doc
directory. I recommend reading it via Read the Docs.
This library requires PHP 5.6 or later. I recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies.
To run the unit tests at the command line, issue composer install
and then phpunit
at the package root. This requires Composer to be available as composer
, and PHPUnit to be available as phpunit
.
This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.