matrix/aristocrat
最新稳定版本:1.0.0
Composer 安装命令:
composer require matrix/aristocrat
包简介
Aristocrat implementation for Laravel
关键字:
README 文档
README
Installation
To get the latest version of Theme simply require it in your composer.json file.
"matrix/aristocrat": "dev-master"
You'll then need to run composer install to download it and have the autoloader updated.
Once Aristocrat is installed you need to register the service provider with the application.
Open app/config/app.php and find the providers index and add the following line.
'providers' => [
'Matrix\Aristocrat\ServiceProvider',
]
You need register the facade in the aliases index in same app/config/app.php file.
'aliases' => [
'Aristocrat' => 'Matrix\Aristocrat\Facade',
]
Usages
class HomeController extends BaseController {
public function getIndex(){
$restult = Aristocrat::selectData();
}
}
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-05