This is a collection of generic Classes, Functions and Traits for PHP projects.
php
Go to file
Sebastian Meyer 1c1c3c49ad Fix code styling 2024-03-27 23:08:42 +01:00
.github Update dependabot.yml 2024-02-19 18:19:31 +01:00
.phpdoc Add new datastructure StrictArray 2024-03-27 12:19:43 +01:00
doc Add new datastructure StrictArray 2024-03-27 12:19:43 +01:00
src Fix code styling 2024-03-27 23:08:42 +01: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 dependencies 2024-03-20 14:11:44 +01: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