Zero Dependencies.
Pure PHP Performance.
Build ultra-fast, rock-solid web applications with zero composer bloat. Enjoy a built-in CLI, DBML ORM, native migrations, routing, and mailer without third-party friction.
Rapid Scaffolding with Zero CLI
Zero CLI delivers the developer ergonomics of modern frameworks without requiring external node or composer dependencies.
Zero Dependencies. Rich Features.
Everything required to build industrial-grade web APIs, services, and applications is built right into the framework core.
Dependency-Free Core
ZeroPHP is built entirely on native PHP with zero third-party packages. No vendor bloat, no supply chain vulnerabilities, and zero upgrade headaches.
// Zero composer packages required
$app = new ZeroPHP\Application();Zero CLI Toolbelt
A powerful command-line interface out of the box. Rapidly scaffold models, controllers, migrations, seeders, and custom helpers with a single command.
php zero make:model User
php zero make:controller PostControllerBuilt-in DBML ORM
Interact with your database fluently without raw SQL friction. Native support for MySQL, PostgreSQL, and SQLite with relationship helpers.
User::where('active', true)
->orderBy('created_at', 'desc')
->get();Lightning Routing
Expressive and structured routing engine supporting route groups, parameter patterns, sub-domains, and nested middleware pipelines.
Route::get('/api/users/{id}', [UserController::class, 'show'])
->middleware('auth');Schema Migrations
Effortlessly version and evolve your database schema across teams. Simple commands to create, run, and rollback migration files.
php zero migrate
php zero migrate:rollbackMiddleware & Security
Filter HTTP requests seamlessly. Built-in rate limiting, CSRF protection, request validation, and customizable auth guards.
$request->validate([
'email' => 'required|email',
'password' => 'min:8'
]);Native SMTP & Mailer
Send rich transactional emails directly through any SMTP server. Clean API supporting HTML views, plain text fallbacks, and multi-file attachments.
Mail::to($user->email)
->subject('Welcome to ZeroPHP')
->send('emails.welcome', $data);View & Template System
Separate logic from presentation with high-performance layouts, slots, and partials. Fast dynamic page rendering without heavy template engines.
return View::render('dashboard.index', [
'title' => 'Overview',
'stats' => $stats
]);See ZeroPHP in Action
Clean, readable, and standard PHP 8 syntax with full IDE autocompletion and zero complicated config files.
<?php
use App\Controllers\PostController;
use App\Controllers\UserController;
use ZeroPHP\Http\Route;
// Public routes
Route::get('/', function() {
return view('welcome', ['title' => 'ZeroPHP Framework']);
});
// Grouped API routes with middleware
Route::prefix('/api/v1')->middleware('api.auth')->group(function() {
Route::get('/posts', [PostController::class, 'index']);
Route::post('/posts', [PostController::class, 'store']);
Route::get('/posts/{id}', [PostController::class, 'show']);
Route::get('/user/profile', [UserController::class, 'profile']);
});Why Developers Choose ZeroPHP
Skip the complexity of hundred-megabyte vendor folders and endless dependency maintenance.
Versus 150+ MB for traditional full-stack frameworks.
Just unzip and run. No slow composer resolution required.
No transitive dependency conflicts breaking production.
Start Building Leaner, Faster PHP Apps Today.
Get up and running in under 30 seconds with ZeroPHP. Download the latest release or dive straight into our documentation.