【文件属性】:
文件名称:silex:Silex装订线
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-10 14:00:48
PHP
Bernard对Silex的绑定
将带到 。
入门
将需求添加到您的composer.json文件,并向您的Application注册。
{
" require " : {
" bernard/silex " : " ~0.4@dev "
}
}
<?php
$ app = new Silex \ Application ;
$ app -> register ( new Bernard \ Silex \ BernardServiceProvider , array (
'bernard.options' => array (
'driver' => 'doctrine' , // or redis, predis, sqs, iron_mq
'serializer' => 'symfony' , // or
【文件预览】:
silex-master
----.gitignore(21B)
----src()
--------Bernard()
----.travis.yml(283B)
----LICENSE(1KB)
----composer.json(483B)
----README.md(2KB)
----tests()
--------Bernard()
--------bootstrap.php(126B)
----phpunit.xml.dist(554B)