startup-palace / laravel-maki
dev-master
2017-07-04 09:25 UTC
Requires
- php: ^7.0
- illuminate/database: ^5.4
- kblais/laravel-uuid: ^0.1.0
- rcrowe/twigbridge: ^0.9.4
Requires (Dev)
- orchestra/database: ^3.4
- orchestra/testbench: ^3.4
- phpunit/phpunit: ^6.1
- squizlabs/php_codesniffer: ^3.0
This package is not auto-updated.
Last update: 2025-01-04 01:39:56 UTC
README
Create a CMS-like system with Laravel Maki, by using re-usable sections to display your content.
Requirements
- PHP >= 7.0
- Laravel 5.4
- TwigBridge
Installation
-
Installation must be done through Composer:
composer require startup-palace/laravel-maki
-
Add the service provider in your
app/config.php
:'providers' => [ ... \StartupPalace\Maki\Providers\ServiceProvider::class, ],
-
Publish the config:
php artisan vendor:publish --provider="StartupPalace\Maki\Providers\ServiceProvider" --tag="config"
-
In your
App\Providers\AppServiceProvider::boot()
method, add the container bindings:public function boot() { \StartupPalace\Maki\Maki::containerBindings(); }
-
At the end of your
App\Providers\RouteServiceProvider::map()
, add the "catch-all" route:public function map() { ... Maki::routes(); }