PHP Basics

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.

Table of Contents

Documentation

Overview
Typed Datastructures
Error and Exception Handlers
Interface Traits
Traits
User Guide
Requirements
Installation
Changelog

Packages

Basics
DataStructures
ErrorHandlers
Interfaces
Traits

Search results