This is a collection of generic Classes, Functions and Traits for PHP projects.
php
Go to file
Sebastian Meyer 940b68edfa Improve style for code in documentation 2024-02-11 16:19:41 +01:00
.github Update PHP version in workflows 2024-02-05 15:44:15 +01:00
.phpdoc Improve style for code in documentation 2024-02-11 16:19:41 +01:00
src Adjust phpDoc 2024-02-07 18:29:32 +01:00
.editorconfig Initial Commit 2023-09-11 19:31:06 +02: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 Update documentation 2024-02-09 22:57:20 +01:00
composer.json Update documentation 2024-02-09 22:57:20 +01:00
phpcs.xml.dist Update static analyzer configuration 2024-02-09 21:31:00 +01:00
phpdoc.dist.xml Update phpDoc 2024-01-30 22:24:10 +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 Psalm and PHPStan coding standards 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