Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1008 Bytes

readme.md

File metadata and controls

43 lines (33 loc) · 1008 Bytes

Laravel Maki 🍣

Create a CMS-like system with Laravel Maki, by using re-usable sections to display your content.

Requirements

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();
     }