centagon / build-core by renecentagon

The core of the Build CMS.
289
1
3
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

Build Core for Laravel

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.