theprivateer/fabric
Fabric CMS base framework
239
| Install | |
|---|---|
composer require theprivateer/fabric |
|
| PHP: | >=5.6.4 |
| License: | MIT |
| Last Updated: | Apr 12, 2017 |
| Links: | GitHub · Packagist |
Maintainer: theprivateer
Fabric
An simple opinionated Content Management framework for your Laravel app
Important: Add the following to the end of the Service Providers array:
Privateer\Fabric\Providers\FabricServiceProvider::class,
Run command to publish the config files:
php artisan vendor:publish --provider="Privateer\Fabric\Providers\FabricServiceProvider" --tag=config --force
Then migrate:
php artisan migrate
To Enable redirects, register the following:
//app/Http/Kernel.php
protected $middleware = [
...
\Spatie\MissingPageRedirector\RedirectsMissingPages::class,
],
Add middleware to 'web' group:
//app/Http/Kernel.php
'web' => [
...
\Privateer\Fabric\Http\Middleware\GetSite::class,
],