Skip to content
Muhammet Şafak
tr

PHP packages that stand alone and still work together

Graduated

An attempt to write modular PHP libraries without tying them to a framework; it became the 39-package InitPHP ecosystem and Framework3.

Started
January 2021 — Ongoing

Technologies

PHP Composer PHPUnit

This experiment became a product:

InitPHP

What I tried

The question: can a PHP library be useful installed on its own and still form a framework when combined with its siblings — without choosing between the two? Router, Database, Cache, Mailer and Socket were each tried separately.

What came out of it

39 independent packages plus a minimal MVC framework (Framework3) sitting on top of them. The common ground is PHP-FIG standards, type safety and PHPUnit tests; distribution runs through Composer/Packagist under MIT.

Where it ended up

The collection stopped being an experiment and turned into a maintained open-source ecosystem. Details in the portfolio.

Tags: #php#library#open-source
Share:

More Experiments

All experiments

Search the site

Start typing to search posts, projects and pages.

Esc to close Powered by Pagefind