All news

PHPAML Data enters alpha

A typed persistence layer for SQL and MongoDB joins the PHPAML platform.

PHPAML Data is now available as an alpha release. It gives PHPAML applications a focused data layer without tying the framework to a single database or application style.

One core, several databases

SQLite is the default path. MySQL, MariaDB, and PostgreSQL share the SQL foundation, while MongoDB remains an independent adapter built on the common contracts.

Made for the AML workflow

Choose the database once during installation. Models, migrations, seeders, status checks, and diagnostics then use the same short commands. Application models stay in src/models/.

phpaml — zsh
aml install data --driver sqlite
aml data:doctor

What comes next

The alpha is ready for evaluation and early projects. Feedback will focus on API clarity, provider consistency, migration safety, and diagnostics before the stable release.