887a7afda7 | ||
---|---|---|
.github | ||
.phpdoc | ||
doc | ||
src | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.php-cs-fixer.dist.php | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
composer.json | ||
phpcs.xml.dist | ||
phpdoc.dist.xml | ||
phpstan.dist.neon | ||
psalm.xml.dist |
README.md
PHP Basics
A collection of generic classes and useful traits for PHP projects.
The package currently contains classes for type-sensitive data structures, error and exception handlers, multiple traits implementing standard interfaces, and more generic traits for common use cases. They share the same design principles like property and method naming schema, highest coding standards of PHPStan and Psalm, and full PSR-12 compliance to make sure they can be combined and easily re-used in other projects.
Quick Start
The intended and recommended way of re-using this package is via Composer. The following command will get you the latest version:
composer require opencultureconsulting/basics
All available versions as well as further information about requirements and dependencies can be found on Packagist.
Full Documentation
The full documentation is available on GitHub Pages or alternatively in doc/.