theprivateer / fabric
Fabric CMS base framework
Installs: 239
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
Requires
- php: >=5.6.4
- imgix/imgix-php: ^1.1
- laracasts/flash: ^2.0
- laravelcollective/html: ^5.3
- league/commonmark: ^0.15.3
- league/glide-laravel: ^1.0
- spatie/laravel-menu: ^2.0
- spatie/laravel-missing-page-redirector: ^1.1
- spatie/laravel-sluggable: ^1.3
- theprivateer/eloquent-uuid: ^0.1.0
- watson/sitemap: ^2.0
This package is not auto-updated.
Last update: 2024-10-26 19:48:22 UTC
README
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,
],