Beauty Framework Roadmap
✅ Completed Milestones
-
Framework (
beauty-framework/app)- General file structure
- Workers
- Docker
.rr.yamlconfigMakefile- Configuration
-
Core Framework (
beauty-framework/core)- PSR-7, PSR-11, PSR-15 compatibility
- DI container via
php-di/php-di - Attribute-based routing (
#[Route]) - Global + per-route middleware support via
#[Middleware] config/*.phploader with support for nested keys- Runtime overrides and caching
- PSR-14 Dispatcher and Listeners
-
HTTP Package (
beauty-framework/http)- Extended PSR-7
HttpRequest AbstractValidationRequestfor validationJsonResponse,RedirectResponse,StreamedResponse,BinaryFileResponseAbstractJsonResourcehelpers- Middleware system with attribute support
- Response normalization with
ResponsibleInterface
- Extended PSR-7
-
Validation Package (
beauty-framework/validation)- Fork of
rakit/validationwith nullable type support ValidatedRequestimplementation- Controller-level validation via attributes
- Fork of
-
CLI Package (
beauty-framework/cli)- Console kernel and command system
- Command generator (
generate:command) - Output formatting helpers (
line,info,warn, etc.)
-
Database Package (
beauty-framework/database)- Connection manager with support for
pgsql,mysql,sqlite,sqlsrv - Simple QueryBuilder and
ConnectionInterface - Support for custom drivers
- Connection manager with support for
-
Jobs System (
beauty-framework/jobs)- Jobs abstraction for
roadrunner-jobs - Async jobs, compitable with RR
- Jobs abstraction for
-
Process System (
beauty-framework/parallels)- Concurrent job runner with
Fiberstrategy
- Concurrent job runner with
-
gRPC Package (
beauty-framework/grpc)- Attribute-based service registration (
#[GrpcService]) - Auto-discovery and
grpc-worker.phpsupport - Generator toolchain for
.protocompilation
- Attribute-based service registration (
-
Cache System (
beauty-framework/cache)- PSR-16 cache interface
- Redis-based implementation
- Cache drivers (
file,redis,roadrunner-kv,array,memory (LRU))
🚧 In Progress
-
ORM (
beauty-framework/orm)- Query Builder (
beauty-framework/databaseabstraction) - Data Mapper or ActiveRecord models
- Query Builder (
-
Security Package (
beauty-framework/security)- Password hashing (Symfony adapter)
- Auth system (tokens, guards)
-
Testing Support (
beauty-framework/testing)- PHPUnit integration
- Framework-aware test helpers
🧪 Planned Modules
| Package | Description |
|---|---|
beauty-framework/eventbus | Distributed event bus (via Redis Streams or similar) |
beauty-framework/scheduler | Scheduler with commands supports |
beauty-framework/orm | Lightweight query builder and migrations |
beauty-framework/testing | Advanced test utilities, CLI test runner |
beauty-framework/config | Full-featured env/config system (done in core, may split later) |
beauty-framework/log | Built-in loggers |
📘 Documentation
-
All core packages are being documented via Docusaurus
-
Hosting at: https://beauty-framework.github.io/
-
Each module includes:
- Installation guide
- Usage examples
- API reference
- CLI commands if applicable
💡 Ideas (Future Research)
- Facades like Laravel (optional package)
- Built-in Swagger/OpenAPI generator
- WebSocket Gateway (RR broadcast integration)
- Microservice skeletons and templates
- External ORM supports (
beauty-framework/doctrine-ormfor example) - Package for
grafana/lokiintegration (beauty-framework/monitoring)
Last updated: 2025-06-15