This is a collection of generic Classes, Functions and Traits for PHP projects.
php
Go to file
Sebastian Meyer 77f9c356ef Update dependabot.yml 2024-02-19 18:19:31 +01:00
.github Update dependabot.yml 2024-02-19 18:19:31 +01:00
.phpdoc Update documentation 2024-02-19 14:52:57 +01:00
doc Update documentation 2024-02-19 14:52:57 +01:00
src Explicitly declare used functions 2024-02-16 16:16:05 +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 phpDoc 2024-01-30 22:24:10 +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 Add Overloading traits 2024-02-11 19:05:56 +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