I Built a Modern PHP Framework From Scratch — Veldora PHP
Hey everyone! I'm Shahriyar, the creator of Veldora PHP.
I've been building Veldora as an independent PHP framework focused on clean architecture, developer experience, and giving developers more ownership over their applications.
Veldora is a modern PHP 8.2+ MVC framework for building web applications and APIs. It combines an IoC container, PSR-4 autoloading, middleware pipeline, ActiveRecord ORM, and a Blade-inspired template engine into one cohesive framework.
What Veldora includes
- MVC architecture with IoC container and dependency injection
- PSR-4 autoloading and clean, explicit application structure
- Expressive routing with middleware support
- ActiveRecord ORM with relationships, eager loading, transactions, soft deletes, factories, seeders, and model events
- Database migrations and schema management
- Form Requests and validation
- Guard-based authentication with sessions, password hashing, remember tokens, and route protection
- Full authentication scaffolding for login, registration, password reset, profile, and email verification
- Blade-inspired
.veldora.phptemplate engine - Template directives, layouts, sections, and reusable components
- 41+ built-in UI components
- Built-in CLI with 48 commands for scaffolding, migrations, routes, configuration, caching, queues, events, and more
- Background queues and jobs
- Events and listeners
- Mail and mailable classes
- Cache and file storage
- HTTP client with JSON, authentication, retries, and test fakes
- Sessions, cookies, CSRF protection, and API resources
- Maintenance mode and application tooling
- Official VS Code tooling with syntax highlighting, IntelliSense snippets, file icons, and bracket matching
One of the things I wanted Veldora to do differently is keep the framework explicit and type-friendly instead of relying heavily on runtime magic. The goal is to make the framework easier to understand, extend, and own.
Why another PHP framework?
PHP already has mature and excellent frameworks.
I didn't build Veldora because PHP needed another framework. I built it because I wanted to explore a different approach to framework design and create the developer experience I personally wanted to use.
Veldora is intentionally independent and open source, with a focus on developer ownership and a cohesive development experience.
Veldora PHP v0.6.0
Veldora PHP v0.6.0 is now publicly available.
Website:
https://veldora.modrao.com
GitHub:
https://github.com/veldorahq
I'd genuinely love to hear from other PHP developers.
What do you think a modern PHP framework should provide out of the box?
Feedback, criticism, ideas, and contributions are welcome.
Top comments (0)