Action-mapper

Front-controller micro-framework for PHP 5.3 web applications

This project is maintained by lcobucci

What's ActionMapper?

ActionMapper is a front-controller micro-framework for PHP 5.3+ web applications created based on some @symfony 2 components (Http Foundation, Dependency Injection and Config). It allows you to map closures, classes and classes methods to your application's routes.

Why to use it?

We all know that PHP has a lot of good frameworks, so why create another one? Our idea was to provide a freedom that we usually don't have when using a full-stack framework. With ActionMapper you can use closures or classes (with annotations or not), you can create your own error handler, map routes and filters using XML or PHP and other great things! Resuming: with ActionMapper you are the boss!

What's new on ActionMapper 2?

Installation

You can download or clone the repository from git (just the src/* contents are relevant), or install it from PEAR (recomended, because it will install all the dependencies automatically).

To install using PEAR you just have to type this on your console (as root if needed):

$ pear config-set auto_discover 1
$ pear install lcobucci.github.com/ActionMapper2

More information

For more details about the ActionMapper 2 usage, you can check on our wiki!