startup-palace / laravel-maki by startup-palace

357
0
5
Package Data
Maintainer Username: startup-palace
Maintainer Contact: killian.blais@startup-palace.com (Killian Blais)
Package Create Date: 2017-01-30
Package Last Update: 2017-07-04
Language: PHP
License: MIT
Last Refreshed: 2024-03-23 15:04:57
Package Statistics
Total Downloads: 357
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 5
Total Forks: 0
Total Open Issues: 0

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:

    ublic function boot()
    {
       	\StartupPalace\Maki\Maki::containerBindings();
    }
    
  • At the end of your App\Providers\RouteServiceProvider::map(), add the "catch-all" route:

    ublic function map()
    {
        ...
        Maki::routes();
    }
    ``