opencultureconsulting / basics
A collection of generic classes and useful traits for PHP projects.
Fund package maintenance!
sebastian-meyer
paypal.me/sebastianmeyer
Requires
- php: ^8.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- phpdocumentor/shim: ^3.5
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^1.12
- phpstan/phpstan-strict-rules: ^1.6
- squizlabs/php_codesniffer: ^3.10
- vimeo/psalm: ^5.25
README
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, Psalm, PHP Mess Detector, PHP_CodeSniffer, and full PSR-12 compliance to make sure they can be combined and easily used in other projects.
Quick Start
The intended and recommended way of 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/.