silexandfriends / silex
The PHP micro-framework based on the Symfony Components
Requires
- php: ^8.0
- pimple/pimple: ^3.4
- symfony/event-dispatcher: ^5.3
- symfony/http-foundation: ^5.3
- symfony/http-kernel: ^5.3
- symfony/monolog-bridge: ^5.3
- symfony/routing: ^5.3
- symfony/security-bundle: ^5.3
Requires (Dev)
- doctrine/dbal: ^2.2
- fig/link-util: ^1.1
- monolog/monolog: ^2.2
- swiftmailer/swiftmailer: ^6.2
- symfony/asset: ^5.3|<5.3
- symfony/browser-kit: ^5.3
- symfony/config: ^5.3
- symfony/css-selector: ^5.3
- symfony/doctrine-bridge: ^5.3
- symfony/dom-crawler: ^5.3
- symfony/expression-language: ^5.3
- symfony/finder: ^5.3
- symfony/form: ^5.3
- symfony/intl: ^5.3
- symfony/options-resolver: ^5.3
- symfony/phpunit-bridge: ^5.3
- symfony/process: ^5.3
- symfony/serializer: ^5.3
- symfony/translation: ^5.3
- symfony/twig-bridge: ^5.3
- symfony/validator: ^5.3
- symfony/var-dumper: ^5.3
- symfony/web-link: ^5.3
- twig/twig: ^3
Replaces
- silex/api: v3.1.0
- silex/providers: v3.1.0
- silex/silex: v3.1.0
- 3.1.x-dev
- v3.1.0
- 3.0.x-dev
- dev-master / 3.0.x-dev
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- 2.x-dev
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.1-alpha
- v2.4.0
- v2.4.0-alpha
- v2.3.1
- v2.3.0
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
This package is auto-updated.
Last update: 2024-11-12 11:39:08 UTC
README
WARNING: Silex is in maintenance mode only. Ends of life is set to June 2018. Read more on Symfony's blog.
Silex is a PHP micro-framework to develop websites based on Symfony 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 7.1.3 or later.
Installation
The recommended way to install Silex is through Composer:
composer require silex/silex "~2.0"
Alternatively, you can download the silex.zip file and extract it.
More Information
Read the documentation for more information and changelog for upgrading information.
Tests
To run the test suite, you need Composer and PHPUnit:
composer install phpunit
Support
If you have a configuration problem use the silex tag on StackOverflow to ask a question.
If you think there is an actual problem in Silex, please open an issue if there isn't one already created.
License
Silex is licensed under the MIT license.