ahmadarif / example
示例包 laravel
v0.4
2017-08-22 05:55 UTC
Requires
- php: ~5.6|~7.0
- illuminate/support: ~5.1
Requires (Dev)
- phpunit/phpunit: >=5.4.3
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2024-09-29 04:20:16 UTC
README
为模拟(如我)的简单composer库。
安装
通过Composer
$ composer require ahmadarif/example
然后在 config/app.php
中添加服务提供者
AhmadArif\Example\ExampleServiceProvider::class,
然后,将此包的外观添加到 $aliases 数组中
'Example' => AhmadArif\Example\Facade\Example::class,
使用方法
Route::get('/', function () { return Example::sayHello(); });
安全
如果您发现任何与安全相关的问题,请通过电子邮件 ahmad.arif019@gmail.com 联系,而不是使用问题跟踪器。
致谢
许可证
MIT许可证(MIT)。有关更多信息,请参阅许可证文件。