link1st/laravel-test
laravel-test
laravel扩展开发
安装
加载包
"link1st/laravel-test": "dev-master"
在配置文件中添加 config/app.php
'providers' => [
/**
* 添加供应商
*/
link1st\test\TestServiceProvider::class,
],
'aliases' => [
/**
* 添加别名
*/
'test'=>link1st\test\Facades\Test::class,
],
生成配置文件
php artisan vendor:publish
使用
// 使用自动加载直接使用
$link = new \link1st\test\easemob();
echo $link->get_config();
// 使用门面使用
echo \test::get_config();
echo \test::index();
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
631,580,251
9,707
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
404,034,618
608
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
384,821,166
4,658