PHPackages                             longtimejones/toucanine - 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. longtimejones/toucanine

AbandonedProject[Framework](/categories/framework)

longtimejones/toucanine
=======================

A very simple, yet flexible, PHP5 HMVC-alike micro framework.

v1.1.2(5y ago)013MITPHPPHP &gt;=5.4

Since Sep 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/longtimejones/toucanine)[ Packagist](https://packagist.org/packages/longtimejones/toucanine)[ Docs](https://longtimejones.github.io/toucanine/)[ RSS](/packages/longtimejones-toucanine/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (4)Used By (0)

[![ToucaNine](toucanine.png)](toucanine.png) ToucaNine
======================================================

[](#-toucanine)

A very simple, yet flexible, PHP5 HMVC-alike micro framework.

***Notice:** the source has been revised nearly 6 years after release of v1.1.1. The framework was and is intended as a mock-up for OOP learning. PHP has progressed and matured a lot since v5.4. Many of the techniques used in the framework are now obsoleted in PHP v7.4.*

### Components

[](#components)

ToucaNine framework comes packed with Nette HTTP Component, Illuminate Database, and HTML Purifier.

### Requirements

[](#requirements)

PHP v5.4.0

### Installation

[](#installation)

```
composer create-project longtimejones/toucanine --prefer-dist

```

### Basic usage instructions

[](#basic-usage-instructions)

```
require __DIR__ . '/path/to/src/ToucaNine/Bootstrapper.php';

$app->route('GET /', function () use ($app) {
    echo 'Hello, world!';
});

$app->dispatch();
```

**Setup app controller routes**

```
$app->route('GET /hello-world', array(
    'Welcome',    /* App controller */
    'helloWorld', /* Controller method */
));

$app->route('GET /hello-user/([^/]+)', array(
    'Welcome',   /* App controller */
    'helloUser', /* Controller method */
    '$1',        /* Argument passed to method */
));
```

**Configuration file**

Configuration for machines, Illuminate Database, and HTML Purifier.

```
app/Config.php

```

**Executing HTML Purifier app helper**

```
$this->helper('Html')->purifier()->purify($value);
```

**Executing Illuminate Database app model**

```
$this->model('User')->byUsername($user)->first()
```

**HMVC**

```
$this->controller('NameOfYourAppController')->invoke('nameOfControllerMethod', array(
    $argument1,
    $argument2,
    ...
));
```

**RESTful**

```
$app->route('POST /example/id/([^/]+)', function () use ($app) {
    ...
});
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~1128 days

Total

3

Last Release

2044d ago

PHP version history (2 changes)v1.1PHP &gt;=5.4.0

v1.1.2PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1840138?v=4)[Tim Jong Olesen](/maintainers/longtimejones)[@longtimejones](https://github.com/longtimejones)

---

Top Contributors

[![longtimejones](https://avatars.githubusercontent.com/u/1840138?v=4)](https://github.com/longtimejones "longtimejones (6 commits)")

---

Tags

frameworkhmvcmvcphpphp5routerframeworkrouterhmvc

### Embed Badge

![Health badge](/badges/longtimejones-toucanine/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)[sproutcms/cms

Enterprise content management and framework

242.5k4](/packages/sproutcms-cms)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)

PHPackages © 2026

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