This is a collection of generic Classes, Functions and Traits for PHP projects.
php
Go to file
Sebastian Meyer e3c315d149 Update documentation 2024-04-03 22:37:03 +02:00
.github Bump actions/configure-pages from 4 to 5 (#1) 2024-04-02 19:48:26 +02:00
.phpdoc Update changelog 2024-04-03 22:37:03 +02:00
doc Update documentation 2024-04-03 22:37:03 +02:00
src Extend API of StrictArray 2024-04-03 22:37:03 +02:00
.editorconfig Initial Commit 2023-09-11 19:31:06 +02:00
.gitattributes Update .gitattributes 2024-02-14 14:00:13 +01:00
.gitignore Update .gitignore 2024-03-20 16:26:51 +01:00
.php-cs-fixer.dist.php Update static analyzer configuration 2024-02-09 21:31:00 +01:00
CODE_OF_CONDUCT.md Initial Commit 2023-09-11 19:31:06 +02:00
CONTRIBUTING.md Improve phpDoc documentation 2023-11-15 12:01:21 +01:00
LICENSE Initial Commit 2023-09-11 19:31:06 +02:00
README.md Fix PHP_CodeSniffer rules 2024-02-12 17:57:01 +01:00
composer.json Update keywords 2024-03-31 18:34:21 +02:00
phpcs.xml.dist Fix PHP_CodeSniffer rules 2024-02-12 17:57:01 +01:00
phpdoc.dist.xml Remove visibility option from phpDoc configuration 2024-02-12 11:32:58 +01:00
phpstan.dist.neon Add PHPStan GitHub workflow 2023-11-21 17:19:58 +01:00
psalm.xml.dist Update phpDoc 2024-01-30 22:24:10 +01:00

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/.

Quality Gates

PHPCS PHPMD

PHPStan Psalm