boring-php
Minimalist library of functions and classes to build working applications in (almost) plain PHP., (*1)
Motivation
The current trend in application programming is to add layers of libraries and frameworks over the core language to make development easier. That does increase the abstraction level that the programmer sees, but also leads to leaky abstractions, more stuff to be learned, and more moving/breakable parts that increase complexity., (*2)
Besides that, some programming languages are more specialized in certain tasks than others. PHP in particular started as a web templating engine, evolving to a general purpose language over time. I believe that PHP falls short of having most of the features that full-stack frameworks offer., (*3)
Being a boring, stable, known technology, PHP is a good choice for many projects. With small additions to the core functions and extensions, it can be used to develop larger applications while keeping maintainability., (*4)
Principles
Usage
Basic routing
Database access
Consume and produce JSON
Templating
Asset management
Access control
Error handling