Atomic Framework: PHP framework with a 2 MB core
Atomic Framework began as the base layer for client work and turned into a published package. Version 0.1.4 is stable on Packagist, the core weighs about 2 MB, and the test suite runs 1481 checks without a single failure.
What sits inside the core
Most PHP projects rebuild the same parts. Atomic ships them: authentication, queue processing, task scheduling, caching, a CLI, WebSocket support and a plugin manager. Routing, templates and the request cycle come from Fat-Free Framework, so the foundation stays small and documented.
A new project starts with composer require globus-studio/atomic-framework. There is also an application template for teams that want the folder structure, configs and first routes already in place.
Why the size matters in production
Deployment of a 2 MB core fits into a regular release process: copy files, run migrations, restart workers. No bundler, no Node toolchain, no separate container for background jobs. A queue worker and a scheduler run from the same codebase as the web request.
That changes the cost of ownership. A small team can host ten projects on one server image and keep one deployment script, instead of maintaining a service for every concern.
Engineering decisions
The framework keeps Fat-Free as the request layer and adds the modules around it. That choice keeps upgrade paths short: Fat-Free releases stay compatible, and added modules live in separate namespaces.
The plugin manager exists so extensions do not turn into forks. A team can publish an internal plugin, pin a version, and keep the core untouched.
The API is declared stable before 1.0. Breaking changes go through a deprecation cycle, which matters when several products share the base.
Where it fits
- Product teams that run several PHP services and want one stack across them.
- Agencies that deploy similar projects and lose time on the same setup every time.
- Projects that need queues, scheduled jobs or live updates without adding infrastructure.
If a project needs an even smaller footprint, the same repository family includes ATOM, a micro-framework for PHP 8.5 with a single PCRE router, a template engine, DI, validation, sessions, database access and a CLI.
Quality gates and license
Every release passes the full suite: 1481 tests, zero failures. PHP 8.1 is the minimum. The package is published as globus-studio/atomic-framework on Packagist and licensed under GPL-3.0-or-later.
Source code and issue tracker live on GitHub. For teams comparing frameworks, the fastest check is to read the test suite and count how many of them cover the parts you plan to use.
Next step
Performance work on an existing site starts with the Laravel and PHP services page. Server-side speed often comes from removing dependencies rather than adding a cache layer, which is the same approach behind WP Performance Suite.
Useful links: Packagist package, source on GitHub, Fat-Free Framework.
