This is a collection of generic Classes, Functions and Traits for PHP projects.
php
Go to file
Sebastian Meyer 8c63cfeeb7 Update README.md 2024-07-11 13:45:20 +02:00
.github Bump actions/configure-pages from 4 to 5 (#1) 2024-04-02 19:48:26 +02:00
.phpdoc Release v2.1.1 2024-07-11 13:14:31 +02:00
doc Release v2.1.1 2024-07-11 13:14:31 +02:00
src Update documentation 2024-07-11 13:08:56 +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 Add composer commands for tools 2024-07-11 13:08:28 +02: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 README.md 2024-07-11 13:45:20 +02:00
composer.json Add composer commands for tools 2024-07-11 13:08:28 +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 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/.

Quality Gates

PHPCS PHPMD

PHPStan Psalm