Veldora
v0.7.1 — Modern PHP 8.2+ MVC Framework

Veldora PHP Framework

The expressive, zero-dependency core PHP framework designed for speed, simplicity, and full code ownership. Native templating, ActiveRecord ORM, fast routing, CLI scaffolding, and a complete UI component suite.

routes/web.php
<?php
// routes/web.php — Expressive routing with groups, middleware & route parameters

$router->get('/', [HomeController::class, 'index']);
$router->get('/posts/{slug}', [PostController::class, 'show']);

// Authenticated route group
$router->group(['middleware' => ['auth']], function ($r) {
    $r->get('/dashboard', [DashboardController::class, 'index']);
    $r->get('/profile', [ProfileController::class, 'edit']);
    $r->put('/profile', [ProfileController::class, 'update']);
});

// Auth endpoints
$router->post('/login', [AuthController::class, 'login'])->middleware(['guest']);
$router->post('/logout', [AuthController::class, 'logout'])->middleware(['auth']);
41+
UI Components
53+
CLI Commands
24
Doc Chapters
PHP 8.2+
Modern & Fast

A framework that keeps code readable

Veldora gives you a structured MVC project where each file has a clear purpose. No hidden service containers, no auto-magic resolution that breaks silently — just straightforward PHP classes you can open and read.

  • No magic strings. Everything is type-hinted and IDE-friendly.
  • You own the code. Components live in your project, not in vendor.
  • Batteries included. Events, queues, mail, cache, storage — all built in.
  • Familiar syntax. Laravel-like conventions — readable by any PHP dev, no framework-specific knowledge needed.
  • PHP 8.2+ throughout. Strict types, constructor promotion, enums, and readonly properties used consistently.
Read the Docs
bash · Terminal
# Create a new project
composer create-project veldora/veldora my-app
cd my-app

# Scaffold authentication in seconds
php veldora make:auth
php veldora migrate

# Start the dev server
php veldora serve
# → Listening on http://localhost:8000
Auth in 1 command SQLite / MySQL / PG VS Code Extension 87 Tests · All Green

Everything included in a single install

Routing, ORM, auth, CLI, mail, queues, and UI components — all part of the framework with no extra packages needed.

MVC Architecture

Clean Controllers, Models, and Views with automatic PSR-4 autoloading. One class, one responsibility.

Template Engine

Blade-inspired @directives, {{ $variable }}, layout inheritance, and reusable components.

Powerful CLI

Scaffold anything with php veldora make:* — controllers, models, migrations, auth, jobs, and more.

Guard-based Auth

Session guards, @auth / @guest directives, CSRF protection, and a complete login/register scaffold.

ActiveRecord ORM

Fluent query builder, mass assignment, type casting, relations, pagination, and lifecycle hooks.

41+ UI Components

Button, Tabs, Modal, Datatable, Sidebar, Rating and 35 more. Add them with php veldora add button modal.

Mail & Queues

SMTP-powered Mailable classes, background job queues with retry logic and a persistent database driver.

Middleware Pipeline

Before/after hooks, CSRF protection, rate limiting, signed URLs, and email verification — all chainable.

Testing Infrastructure

PHPUnit integration with HTTP helpers, model factories, and full assertion suite — 87 tests ship with the framework.

Frequently Asked Questions

Quick answers to the most common questions about Veldora.

What is Veldora and who is it for?
Veldora is a lightweight, high-performance PHP 8.2+ MVC framework for developers who want the developer experience of Laravel without massive vendor overhead or slow cold starts.
How does Veldora handle CLI commands without Symfony Console?
Every single command in Veldora (53 commands in total) implements native executeDirect() execution. It runs with zero external console dependencies instantly, while also offering full Symfony Console support if installed.
How do I add UI components to my project?
Run php veldora ui:list to view all 41+ available components, and install them into your project using php veldora add button card modal.
How is authentication set up?
Run php veldora make:auth and then php veldora migrate. This creates complete Login, Registration, Password Reset, Profile, and Verification views, controllers, and database migrations.
View all FAQs & answers

Set up a new project in under a minute

Create a full project with auth, migrations, and templates already wired using Composer or npx. Start building immediately.

1 Create your project
2 Scaffold authentication
3 Start building
Full Documentation
bash • Terminal
# Option 1: Using Composer
composer create-project veldora/veldora my-app
cd my-app

# Option 2: Using npx
# npx create-veldora-app my-app

# Run migrations & scaffold auth
php veldora migrate
php veldora make:auth

# Start the dev server
php veldora serve