Package Data | |
---|---|
Maintainer Username: | renecentagon |
Package Create Date: | 2016-11-08 |
Package Last Update: | 2019-01-22 |
Home Page: | https://centagon.github.io/build-core |
Language: | JavaScript |
License: | MIT |
Last Refreshed: | 2024-11-19 03:05:50 |
Package Statistics | |
---|---|
Total Downloads: | 289 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Add Build Core to your composer.json file:
"require": {
"centagon/build-core": "^1.0"
}
Use composer to install this package.
$ composer update
'providers' => [
// ...
Build\Core\ServiceProvider::class
]
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;
// ...
}
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 can be found here.
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.
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.
This package is available under the MIT license.
Copyright (c) 2016 Centagon, B.V.