centagon/build-core


README

Total Downloads Build Status License

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.