PHPackages                             globus-studio/atomic-framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. globus-studio/atomic-framework

ActiveProject[HTTP &amp; Networking](/categories/http)

globus-studio/atomic-framework
==============================

Atomic Framework – power in minimalism

v0.1.2(2mo ago)33943GPL-3.0-or-laterPHPPHP &gt;=8.1

Since Apr 8Pushed 1w ago17 watchersCompare

[ Source](https://github.com/MADEVAL/Atomic-Framework)[ Packagist](https://packagist.org/packages/globus-studio/atomic-framework)[ RSS](/packages/globus-studio-atomic-framework/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

 **Atomic Framework**
 *Power in minimalism*

 [![PHP ≥ 8.1](https://camo.githubusercontent.com/ac5bac5986be41eb500c6ac9087d4e4a544a27148a3fd2b47333ea18cd25cc6c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344382e312d3838393242463f7374796c653d666c61742d737175617265266c6f676f3d706870)](https://www.php.net/releases/8.1/en.php) [![License](https://camo.githubusercontent.com/b14296b58f1c1400ad7e30c28cd1366d6c505e385afe0d2867848ceba1963ebc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c2d2d332e302d2d6f722d2d6c617465722d626c75653f7374796c653d666c61742d737175617265)](https://github.com/MADEVAL/Atomic-Framework/blob/master/LICENSE) [![Version](https://camo.githubusercontent.com/7495478b263b41915ec0851398ed93894fe4fe7394d737ab01f103db3f28deb4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d302e312e302d6f72616e67653f7374796c653d666c61742d737175617265)](https://github.com/MADEVAL/Atomic-Framework)

---

Atomic Framework
================

[](#atomic-framework)

A modular, full-featured PHP framework built on top of [Fat-Free Framework](https://fatfreeframework.com/). Atomic provides a structured application skeleton with authentication, queue processing, scheduling, caching, CLI tooling, and more - while staying lightweight and unopinionated.

Application skeleton
--------------------

[](#application-skeleton)

Download the application skeleton for a quick start: [Atomic Application](https://github.com/MADEVAL/Atomic-Framework-Application)

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Project Structure](#project-structure)
- [Configuration](#configuration)
- [Core Concepts](#core-concepts)
    - [Application Lifecycle](#application-lifecycle)
    - [Routing](#routing)
    - [Middleware](#middleware)
    - [Controllers &amp; Models](#controllers--models)
    - [Authentication](#authentication)
    - [Database &amp; Migrations](#database--migrations)
    - [Queue System](#queue-system)
    - [Task Scheduler](#task-scheduler)
    - [Plugins](#plugins)
    - [Event &amp; Hook System](#event--hook-system)
    - [Caching](#caching)
    - [Internationalization](#internationalization)
    - [CLI](#cli)
- [Security](#security)
- [Testing](#testing)
- [Documentation](#documentation)
- [License](#license)

Features
--------

[](#features)

CategoryHighlights**Core**Fluent bootstrap, dual config loaders (`.env` / PHP arrays), preflight environment checks**Auth**Bcrypt password hashing, session binding (IP + User-Agent), dual rate limiting (IP + credential), OAuth 2.0 (Google), Telegram Login Widget, admin impersonation with audit trail**Database**MySQL via PDO, Redis, Memcached - managed through `ConnectionManager` with health-check pings**Migrations**Timestamp-based migration system with batch tracking, rollback support, and plugin migration auto-discovery**Queue**Redis driver (Lua-scripted atomic ops) and Database driver (row-level locks) with retry, TTL, and monitoring**Scheduler**Full POSIX cron expression parser, timezone-aware, timeout protection (300 s)**Cache**Stable Redis, Memcached, database, and folder (filesystem) drivers with cascade fallback, namespace-wide invalidation, and transient storage**Middleware**Parameterized middleware stack with named aliases and route-pattern matching**Events &amp; Hooks**Hierarchical event dispatcher with priorities + WordPress-compatible action/filter layer**Mail**SMTP mailer with multipart/alternative support, DNS deliverability scoring (SPF/DKIM/DMARC)**i18n**Multi-language support with URL prefixing, cookie/session/header detection, automatic `hreflang` generation**Files**CSV parsing/generation, PDF generation with embedded TrueType fonts, XLS/OLE2 reading**CLI**45+ built-in commands: init, migrations, seeding, cache operations, queue management, scheduling**Crypto**NaCl secretbox (libsodium) authenticated encryption with per-message random nonces**Validation**Trait-based model validation with 15+ rule types including UUID, regex, and password entropy**Telemetry**Event tracking and monitoring endpoints**WebSockets**Workerman-based WebSocket server with Redis pub/sub**Plugins**Plugin lifecycle management with dependency checking: WordPress REST, Monopay, RSS Reader, WooCommerce**Theme**Theme manager with asset enqueueing, head metadata, OpenGraph, and path traversal protectionRequirements
------------

[](#requirements)

- **PHP ≥ 8.1** with extensions: `json`, `session`, `mbstring`, `fileinfo`, `pdo`, `pdo_mysql`, `curl`
- **Composer**
- **MySQL / MariaDB** (primary database)
- **Redis** (recommended for cache, queue, sessions, WebSockets)
- **Memcached** (optional, alternative cache backend)
- **libsodium** (bundled with PHP ≥ 7.2 for encryption)

Installation
------------

[](#installation)

Quick start and install the framework via Composer:

```
composer require globus-studio/atomic-framework
```

Download the application skeleton for a quick start: [Atomic Application](https://github.com/MADEVAL/Atomic-Framework-Application)

Create your project entry point:

```
// public/index.php
