Download the PHP package globus-studio/atomic-framework without Composer
On this page you can find all versions of the php package globus-studio/atomic-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download globus-studio/atomic-framework
More information about globus-studio/atomic-framework
Files in globus-studio/atomic-framework
Package atomic-framework
Short Description Atomic Framework – power in minimalism
License GPL-3.0-or-later
Informations about the package atomic-framework
Atomic Framework
Power in minimalism
Status: stable (
v0.1.4) — production-ready, 1481 tests, 0 failures, API is stable.Packagist:
globus-studio/atomic-framework·composer require globus-studio/atomic-framework
A modular, full-featured PHP framework built on Fat-Free Framework. Ships with authentication, queue processing, task scheduling, caching, CLI tooling, WebSockets, and plugin management — all in a ~2 MB core.
Download the application skeleton for a quick start: Atomic Application
Quick example
Why Atomic
| Atomic | Fat-Free raw | Laravel |
|---|---|---|
| Full auth stack (bcrypt, OAuth, Telegram, impersonation) | DIY | Built-in (passport/Sanctum) |
| Queue + scheduler built-in | None | Horizon + scheduler |
| Plugin system with dependency checking | None | Packages |
| 45+ CLI commands | Minimal | Artisan (100+) |
| ~2 MB core | ~200 KB | ~30 MB |
| WordPress-compatible hooks | None | Events only |
| Redis-based cache, queue, session, mutex | None | Separate packages |
Install
Start a new project (recommended):
Add to existing project:
Capabilities
| Category | Highlights |
|---|---|
| Core | Fluent bootstrap, dual config loaders (.env / PHP arrays), preflight environment checks |
| Auth | Bcrypt 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, 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 | Redis, Memcached, database, and folder drivers with cascade fallback, namespace-wide invalidation, transient storage |
| Middleware | Parameterized middleware stack with named aliases and route-pattern matching |
| Events & Hooks | Hierarchical event dispatcher with priorities + WordPress-compatible action/filter layer |
| SMTP mailer with multipart/alternative support, DNS deliverability scoring (SPF/DKIM/DMARC) | |
| i18n | Multi-language 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, password entropy |
| Telemetry | Event tracking and monitoring endpoints |
| WebSockets | Workerman-based WebSocket server with Redis pub/sub |
| Plugins | Plugin lifecycle with dependency checking: WordPress REST, Monopay, RSS Reader, WooCommerce |
| Theme | Theme manager with asset enqueueing, head metadata, OpenGraph, path traversal protection |
Application lifecycle
The application bootstrap is a thin adapter around the framework. Application-specific hooks and events belong in an application service provider. Order matters — framework lifecycle hooks fire at specific points:
The framework loads providers listed in config/providers.php. Their register() methods run before the framework lifecycle, allowing application hooks and events to be registered without putting application behavior in bootstrap/app.php.
Routing
Routes are organized by type and loaded automatically based on request context:
| Request Type | Route Files |
|---|---|
| Web | routes/web.php, routes/web.error.php |
| API | routes/api.php |
| CLI | routes/cli.php |
| Telemetry | routes/telemetry.php |
Middleware
Named, parameterized middleware attached to route patterns:
Controllers & Models
Authentication
Security features: Bcrypt hashing (timing-safe), session regeneration on login, IP + User-Agent binding, dual rate limiting, OAuth state verification with hash_equals(), audit logging.
Database & Migrations
Queue system
Dual-driver queue with Redis (Lua-scripted atomics) and Database (row-level locks):
Task scheduler
Plugins
Plugins are explicit providers — only classes listed in config/providers.php are loaded:
Events & hooks
Events — hierarchical with priorities:
Hooks — WordPress-compatible actions and filters:
Caching
Multi-driver caching with cascade fallback. Redis, Memcached, folder, and database adapters share the same interface:
Internationalization
Detection priority: URL prefix → GET parameter → Cookie → Session → Accept-Language header → default.
CLI
Security
| Layer | Implementation |
|---|---|
| Encryption | NaCl secretbox (libsodium) — authenticated encryption with random nonces |
| Passwords | Bcrypt with automatic salt, constant-time verification |
| Sessions | IP + User-Agent binding, regeneration on login, configurable lifetime |
| Rate Limiting | Dual counters (IP-based + credential-based) with configurable TTL windows |
| OAuth | CSRF state tokens verified with hash_equals(), replay protection |
| CSRF | Nonce tokens bound to IP and User-Agent |
| Input | htmlspecialchars escaping, parameterized database queries via PDO |
| Logging | Sensitive data (passwords, tokens, keys) automatically masked |
| Authorization | Role-based access via Guard with backed enum support |
| Impersonation | Admin-only with session regeneration and full audit trail |
Dependencies
| Capability | Package | Required |
|---|---|---|
| Framework core | globus-studio/fatfree-core |
Yes |
| ORM | globus-studio/cortex-atomic |
Yes |
| WebSockets | workerman/workerman, workerman/redis |
Optional |
PHP extensions: json, session, mbstring, fileinfo, pdo, pdo_mysql, curl
Testing
- 1481 tests across 70+ test classes
- 100% pass rate — 0 failures, 218 skipped (platform-specific: Redis, Memcached, pcntl on Windows)
- Covers: cryptography, authentication, authorization, validation, middleware, CSRF, events, hooks, routing, caching, scheduling, session management, theme management
Documentation
| You want to... | Read... |
|---|---|
| Understand bootstrap lifecycle | atomic_core.md |
| Configure the application | config.md |
| Set up database | database.md |
| Work with models | model.md |
| Run migrations | migrations.md |
| Set up caching | cache.md |
| Use the queue system | queue.md |
| Schedule tasks | scheduler.md |
| Write middleware | middleware.md |
| Handle events and hooks | hook.md |
| Send emails | mailer.md |
| Set up i18n | i18n.md |
| Use CLI commands | cli.md |
| Manage sessions | session.md |
| Write plugins | plugins.md |
| Use theme system | assets.md |
| Set up logging | log.md |
| Use rate limiting | rate_limit.md |
| Secure the app | security.md |
| Write tests | testing_guide.md |
Links
| Resource | URL |
|---|---|
| Packagist | globus-studio/atomic-framework |
| Application skeleton | MADEVAL/Atomic-Framework-Application |
| Website | atomic.globus.studio |
License
GPL-3.0-or-later. See LICENSE.
All versions of atomic-framework with dependencies
ext-json Version *
ext-session Version *
ext-mbstring Version *
ext-fileinfo Version *
ext-pdo Version *
ext-pdo_mysql Version *
ext-curl Version *
globus-studio/fatfree-core Version ^3.9.2.1
globus-studio/cortex-atomic Version ^2.0
psr/container Version ^2.0