PHPackages                             cawaphp/cawa - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. cawaphp/cawa

AbandonedArchivedLibrary[Framework](/categories/framework)

cawaphp/cawa
============

Сáша Framework

84451PHP

Since Aug 17Pushed 7y ago5 watchersCompare

[ Source](https://github.com/cawaphp/cawa)[ Packagist](https://packagist.org/packages/cawaphp/cawa)[ RSS](/packages/cawaphp-cawa/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Сáша frameworks
===============

[](#сáша-frameworks)

PHP7 Hmvc framework built for performance &amp; simplicity
----------------------------------------------------------

[](#php7-hmvc-framework-built-for-performance--simplicity)

**Сáша** is a full HMVC framework for PHP. It was built with 2 concept in mind : Simplicity &amp; Performance.

Performance : Everything is timed in order to find bottleneck quickly.

Simplicity : I make some questionable choice in order to avoid too much abstractions. Too many abstraction tends to have a lot of php class / interface loaded and since PHP is born to died at every request, compilation/running time (even with opcache) will be slow.

Warning
-------

[](#warning)

Be aware that this package is still in heavy developpement. Some breaking change will occure. Thank's for your comprehension.

Installation
------------

[](#installation)

Install the latest version with

```
$ composer require cawa/cawa
```

Basic Usage
-----------

[](#basic-usage)

```
use Cawa\Core\HttpApp;
use Cawa\Router\Route;

putenv('APP_ENV=' . HttpApp::DEVELOPMENT);

$app = HttpApp::create(__DIR__);
$app->init();
HttpApp::router()->addRoutes([
    Route::create()->setName("main")->setMatch("/{{O:[A-Za-z0-9]+}}")->setController(function(array $args = array())
    {
        return "Hello " . ($args["name"] ?? "Guest");
    }),
]);
$app->handle();
$app->end();
```

Features
--------

[](#features)

- HMVC framework : Because simple MVC sucks
- Template : PhtmlTrait &amp; Twig template engine support
- Http Router : strict type http router, with localized url, controller &amp; callback
- Error Handler : catch all error with pretty html output
- Intl &amp; l18n : really simple key value store v
- Events : because events is cool &amp; help put timer on all your application
- Db : Abstraction layer without realiying on PDO
- HttpClient : a really simple http client that just work
- Cache : Redis &amp; Apc cache abstraction
- Log : PSR3 logger with syslog handler (others coming asap)
- Session : file session (db, ... coming asap) without using the php session handler
- Collection : filerable, sortable with callable
- Email : with Swift\_Mailer as backend
- Date : with Carbon as backend

About
-----

[](#about)

### Performance

[](#performance)

My first bench can run a simple hello world at 6k queries per second. In the same hardware, I ran symfony3 simple hello world app at 350 queries per second.

Plan is to support one of these lib in order to bosst performance:

- [Swoole](https://github.com/swoole/swoole-src)
- [Amp](https://github.com/amphp/amp)
- [Icicle](https://github.com/icicleio/icicle)

### Requirements

[](#requirements)

- Сáша only work with PHP 7 or above
- [mbstring](http://php.net/manual/en/book.mbstring.php)
- [intl](http://php.net/manual/en/book.intl.php)
- [curl](http://php.net/manual/en/book.curl.php)
- [yaml](http://php.net/manual/en/book.yaml.php)

### License

[](#license)

Cawa is licensed under the GPL v3 License - see the `LICENSE` file for details

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e49ec71b223035cadd3123f997666dd685f1b3eb355b894a35bd8adeb4da3ba4?d=identicon)[tchiot.ludo](/maintainers/tchiot.ludo)

---

Top Contributors

[![tchiotludo](https://avatars.githubusercontent.com/u/2064609?v=4)](https://github.com/tchiotludo "tchiotludo (242 commits)")

### Embed Badge

![Health badge](/badges/cawaphp-cawa/health.svg)

```
[![Health](https://phpackages.com/badges/cawaphp-cawa/health.svg)](https://phpackages.com/packages/cawaphp-cawa)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M255](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M590](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M119](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
