centagon/build-core
Composer 安装命令:
composer require centagon/build-core
包简介
The core of the Build CMS.
关键字:
README 文档
README
Getting started
Add Build Core to your composer.json file:
"require": {
"centagon/build-core": "^1.0"
}
Use composer to install this package.
$ composer update
Registering the package
'providers' => [
// ...
Build\Core\ServiceProvider::class
]
Updating the Application Kernel
Open your app/Http/Kernel.php file and add the following trait to the top of the class:
class Kernel extends HttpKernel
{
use \Build\Core\Http\Kernel;
// ...
}
Using the Build User instead of the Laravel user.
Open the config/auth.php file and replace the user model with Build\Core\Eloquent\Models\User like so:
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => Build\Core\Eloquent\Models\User::class,
],
],
Documentation
Documentation can be found here.
Contributing
Have a bug? Please create an issue here on GitHub that conforms with our contributing guidelines. You can also browse the Help Wanted tag in our issue tracker to find things to do.
Security
If you discover a security vulnerability within this package, please send an e-mail directly to the Centagon Developers at developers@centagon.com. All security vulnerabilities will be promptly addressed.
License
This package is available under the MIT license.
Copyright (c) 2016 Centagon, B.V.
统计信息
- 总下载量: 289
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-08