在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:silexphp/Silex开源软件地址:https://github.com/silexphp/Silex开源编程语言:PHP 100.0%开源软件介绍:Silex, a simple Web FrameworkWARNING: 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. InstallationThe 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 InformationRead the documentation for more information and changelog for upgrading information. TestsTo run the test suite, you need Composer and PHPUnit: composer install
phpunit SupportIf 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. LicenseSilex is licensed under the MIT license. |
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论