| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 257 | All time:  7,840 This week: 455 | ||||
| Version | License | PHP version | Categories | |||
| mabs-micro-framework 1.0.0 | MIT/X Consortium ... | 5.3.9 | PHP 5, Libraries | 
| Description | Author  | ||||||||
This package is a micro-framework for Web application development.  | 
  | 
Mabs is a PHP micro framework, speedy, light and easy to learn .
You may install the Mabs Framework with Composer (recommended).
$ composer require  mabslabs/mabs @dev
// web/index.php
<?php
require_once __DIR__.'/../vendor/autoload.php';
$app = new Mabs\Application();
$app->get('hello/(name)', function ($name) {
    return 'Hello '.$name;
})->run();
// web/index.php
<?php
require_once __DIR__.'/../vendor/autoload.php';
use  \Symfony\Component\HttpFoundation\RedirectResponse;
$app = new Mabs\Application();
$container = $app->getContainer();
$app->get('/', function () use ($container) {
    $url = $container['router']->generateUrl('hello_page', array('name' => 'World'));
    return new RedirectResponse($url);
});
$app->get('hello/(name)', function ($name) {
  return 'Hello '.$name;
}, 'hello_page');
$app->run();
This bundle is available under the MIT license.
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Lic. | Auxiliary data | |||
| Data | Auxiliary data | |||
| Doc. | Auxiliary data | |||
| / | src | 
| File | Role | Description | ||
|---|---|---|---|---|
|    | 
Class | Class source | ||
|    | 
Aux. | Class source | ||
|    | 
Class | Class source | ||
|    | 
Class | Class source | ||
| / | src | / | Router | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Class source | 
|    | 
Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| mabs-micro-framework-2015-09-01.zip 16KB | |
| mabs-micro-framework-2015-09-01.tar.gz 7KB | |
| Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.