Fabric CMS base framework
239
0
1
Package Data
Maintainer Username: theprivateer
Maintainer Contact: emailtheprivateer@gmail.com (Phil Stephens)
Package Create Date: 2017-01-09
Package Last Update: 2017-04-12
Home Page:
Language: CSS
License: MIT
Last Refreshed: 2024-04-18 15:13:19
Package Statistics
Total Downloads: 239
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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,
        ],