PHP 8+ · MVC · v1.0

Built for the PHP you use today — not the PHP you remember.

A robust, light-weight MVC framework built for developers who want speed and simplicity without sacrificing capability — routing, ORM, caching, realtime jobs and websockets, all in one cohesive stack.

Read the Docs View on Git
routerfast & configurable
warlockws + jobs + broker
dbifluent orm + schema
Money.php
<?php
 
use Hazaar\Util\Money;
 
$price = new Money(149.99, 'USD');
$aud   = $price->convertTo('AUD');
 
// realtime exchange rate lookup, no config needed
echo $price->format(); // $149.99
echo $aud->format();   // A$228.14

Everything the stack needs. Nothing it doesn't.

06 modules
RT / 01

Router

Fast, configurable request routing with clean, expressive route definitions.

DB / 02

Fluent ORM

A database abstraction layer with a fluent query builder across multiple drivers.

CH / 03

Cache & Sessions

Pluggable cache and session backends — file, memory, Redis and more.

SC / 04

Schema Manager

Manage database schema changes with versioned, reviewable snapshots.

WL / 05

Warlock

Built-in WebSocket server with delayed and background job execution.

MB / 06

Message Broker

Robust realtime signalling for coordinating processes across your app.

Running in under a minute.

Scaffold a new project with Composer and serve it immediately with the built-in CLI server — no additional tooling required to start building.

read the getting started guide →
zsh
$ composer create-project hazaar/hazaar my-app
$ cd my-app && composer serve
  Server running at http://127.0.0.1:8080

Documentation

Guides on routing, the ORM, caching backends, schema snapshots and Warlock.

hazaar.io/docs →

Source & Issues

Browse the framework source, file issues, or track releases on Packagist.

git.hazaar.io →

Community

Get involved, ask questions, or contribute to the project directly.

[email protected]