Modern PHP 8.5 framework — built for clarity, not complexity.
Everything you need to build modern PHP applications
Built on PSR-7 (HTTP), PSR-11 (Container), PSR-15 (Middleware), and PSR-3 (Logger). Full interoperability with any PSR-compliant library.
Leverage PHP 8.5 property hooks and attributes for automatic validation. Type-safe data transfer with asymmetric visibility.
Powerful, elegant templating engine with components, slots, and custom directives. Write clean, maintainable views.
Define routes with PHP attributes directly on controllers. No configuration files, just clean, self-documenting code.
Thanks to PHP 8.4+ property hooks, it was finally possible to create ORM in PHP behaving like Entity Framework from C#. Relationships, query builder, migrations, and seeders included.
Clean data transformation pipelines using the pipe operator. Transform data with readable, functional code.
ORM-based job queue with UUID support, Clock integration, and cron scheduling. Process background tasks with database or Redis backends.
Event dispatcher with listener priority, stoppable propagation, and full PSR-14 compliance. Decouple your application logic with events.
Multi-backend caching with Redis, Memcached, and file storage. Authorization-aware cache for role-based content.
Built-in role and permission system with policy classes. Fine-grained access control without external packages.
Modern libsodium XChaCha20-Poly1305 AEAD encryption. Secure sessions, cookies, and sensitive data by default.
Encrypted session management with file and database drivers. Secure, tamper-proof cookies out of the box.
Native SMTP implementation with Mailable classes. Send emails without external dependencies.
Professional debug bar with query monitoring, N+1 detection, and performance metrics. Automatic eager loading optimization.
Beautiful debug views for web and interactive REPL-like debugging in console. The only PHP framework with built-from-scratch CLI debugging.
Artisan-like CLI with migrations, seeders, queue workers, and interactive debugging in terminal. Beautiful console output and progress bars.
Make HTTP requests to external APIs with PSR-18 compliant client. Clean, fluent interface for API integrations.
Build modern SPAs with Vue.js using server-side routing. No separate API needed, full framework integration.
PSR-20 compliant clock for testable time operations. Freeze time in tests, no more DateTimeImmutable headaches.
PSR-3 compliant logging with multiple channels and handlers. Track application events with ease.
Up and running in seconds
composer create-project larafony/skeleton:dev-main my-app
cd my-app
npm install
npm run build
php bin/larafony build:notes
php8.5 -S localhost:8000 -t public
php8.5-memcached packages available../build.sh from project root to compile extensions from source.sudo apt install php8.5-redissudo dnf install php-redis (via Remi repository)composer self-update.The framework you can truly understand
Not a toy or tutorial framework. Built for real-world applications with high quality standards and full test coverage.
Use Blade, Twig, or Inertia.js. Swap components freely. No vendor lock-in, just pure PHP flexibility.
Minimal dependencies, optimized pipelines, and efficient patterns. Fast by design, not by accident.
Clean architecture, SOLID principles, and PHP 8.5 features. Code you'll be proud to maintain.