theprivateer/fabric is a Laravel package for fabric cms base framework.
It currently has 0 GitHub stars and 239 downloads on Packagist.
Install it with composer require theprivateer/fabric.
Discover more Laravel packages by theprivateer
or browse all Laravel packages to compare alternatives.
Last updated
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,
],