concertophp / concerto
PHP lightweight-framework based on the Symfony2 Components
v1.4.0
2015-06-21 01:44 UTC
Requires
- php: >=5.3.9
- pimple/pimple: ~1.0
- symfony/event-dispatcher: ~2.3,<3.0
- symfony/http-foundation: ~2.3,<3.0
- symfony/http-kernel: ~2.3,<3.0
- symfony/routing: ~2.3,<3.0
Requires (Dev)
- doctrine/dbal: ~2.2
- monolog/monolog: ~1.4,>=1.4.1
- swiftmailer/swiftmailer: 5.*
- symfony/browser-kit: ~2.3,<3.0
- symfony/config: ~2.3,<3.0
- symfony/css-selector: ~2.3,<3.0
- symfony/debug: ~2.3,<3.0
- symfony/dom-crawler: ~2.3,<3.0
- symfony/finder: ~2.3,<3.0
- symfony/form: ~2.3,<3.0
- symfony/locale: ~2.3,<3.0
- symfony/monolog-bridge: ~2.3,<3.0
- symfony/options-resolver: ~2.3,<3.0
- symfony/process: ~2.3,<3.0
- symfony/security: ~2.3,<3.0
- symfony/serializer: ~2.3,<3.0
- symfony/translation: ~2.3,<3.0
- symfony/twig-bridge: ~2.3,<3.0
- symfony/validator: ~2.3,<3.0
- twig/twig: >=1.8.0,<2.0-dev
Suggests
- symfony/browser-kit: ~2.3
- symfony/css-selector: ~2.3
- symfony/dom-crawler: ~2.3
- symfony/form: ~2.3
README
Silex is a PHP micro-framework to develop websites based on Symfony2 components:
<?php require_once __DIR__.'/../vendor/autoload.php'; $app = new Silex\Application(); $app->get('/hello/{name}', function ($name) use ($app) { return 'Hello '.$app->escape($name); }); $app->run();
Silex works with PHP 5.3.3 or later.
Installation
The recommended way to install Silex is through Composer:
composer require silex/silex "~1.3"
Alternatively, you can download the silex.zip file and extract it.
More Information
Read the documentation for more information.
Tests
To run the test suite, you need Composer and PHPUnit:
$ composer install $ phpunit
Community
Check out #silex-php on irc.freenode.net.
License
Silex is licensed under the MIT license.