itlessons / php-application
Simple PHP micro-framework
0.0.1
2015-03-22 08:59 UTC
Requires
- php: >=5.4.3
- doctrine/cache: *
- itlessons/php-database: *
- itlessons/php-ioc: *
- itlessons/php-routing: *
- swiftmailer/swiftmailer: >=4.1.2,<4.2-dev
- symfony/http-foundation: *
- twig/twig: >=1.8,<2.0-dev
Requires (Dev)
- symfony/browser-kit: ~2.3,<3.0
- symfony/css-selector: ~2.3,<3.0
This package is not auto-updated.
Last update: 2025-04-26 19:34:33 UTC
README
php-application is a very simple micro-framework designed for the study.
<?php require_once __DIR__.'/../vendor/autoload.php'; $app = new Application(); $app->get('/hello/(name:str)', function ($name) use ($app) { return 'Hello '.$app->escape($name); }); $app->run();
php-application works with PHP 5.4 or later.
Installation
The recommended way to install php-application is through Composer:
php composer.phar require itlessons/php-application "*"
Alternatively, you can download the php-application.zip file and extract it.
More Information
Read the documentation for more information.