PHPackages                             otak/maestro - 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. otak/maestro

AbandonedArchivedLibrary[Framework](/categories/framework)

otak/maestro
============

Next-generation MVC Micro-Framework for PHP5.3+

1.0.39(11y ago)481Apache 2.0PHP

Since Jun 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/OtaK/Maestro)[ Packagist](https://packagist.org/packages/otak/maestro)[ Docs](https://github.com/OtaK/Maestro)[ RSS](/packages/otak-maestro/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (1)Versions (43)Used By (0)

Maestro
=======

[](#maestro)

Next-generation MVC Framework for PHP5.3+ Mimics ExpressJS/LocomotiveJS's API for PHP.

Components
----------

[](#components)

- Maestro\\Router\\Router - @nikic's FastRoute made compatible with PHP5.3 and wrapped inside a friendlier syntax.
- Maestro\\Renderer\\Renderer - Dependency-less extensible rendering engine.
- Maestro\\HTTP\\Request - HTTP Request abstraction object
- Maestro\\HTTP\\Response - HTTP Response abstraction object, multiple content-type sending available.
- Maestro\\Controller - Controller base class.
- Maestro\\Maestro - Self-contained app with all of the above components.

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

[](#installation)

### Composer

[](#composer)

As usual, put this in your `composer.json` file.

```
	"require": {
        "otak/maestro": "1.0.x"
    }

```

Usage
-----

[](#usage)

Create the following file structure at the root of your project

```

/app
--	/controllers
--	/models
--	/views
/config
--	/initializers
--	routes.php
/helpers
index.php

```

Then fill out your index.php like this

```
