ZeroPHP is
Dependency-Free Framework

It's designed to be simple — no need to install or maintain third-party packages. With ZeroPHP, your applications stay lean, independent, no packages, no bloat.

Zero Dependencies, Rich Features

Dependency-Free

ZeroPHP is a PHP framework with zero external dependencies. ZeroPHP keeps your applications lean, independent, no packages, no bloat.

Zero CLI

Zero CLI is the command-line interface included with ZeroPHP. It provides a set of helpful commands to assist you while building your application.

DBML

Writing raw SQL queries can be painful. We built DBML to help you interact with your database without the hassle. It supports MySQL, PostgreSQL, and SQLite.

Routing

Our routing system is simple, well-structured, and easy to maintain. It helps keep your apps long-lasting, free from dependencies, and effortless to manage.

Database Migration

DB Migration makes it easy to version and manage your database schema. It provides simple commands to create, modify, and roll back tables, ensuring your database stays consistent across all environments.

Middleware

Middleware allows you to filter and process HTTP requests before they reach your application. It's a simple way to handle tasks like authentication, logging, or modifying requests and responses.

SMTP

SMTP and Mail make sending emails from your application simple. ZeroPHP provides a clean API to send messages through any SMTP server, with support for plain text, HTML, and attachments, no external bloat.

Template System

The Templating System helps you separate logic from presentation, making your views clean and easy to manage. It supports layouts, partials, and simple syntax to build dynamic pages with minimal effort.

Zero CLI

linux

zero@php ~ % curl -L -o main.zip https://zerophp.com/get/latest.zip \
&& unzip -q main.zip \
&& rm main.zip \
&& mv Zero-main my-project \
&& cd my-project \
&& rm -rf docs todo.md readme.md .git \
&& cp .env.example .env \
&& php zero key:generate