folklore/laravel-panneau

v0.2.1 2018-07-10 15:25 UTC

README

Latest Stable Version Build Status Coverage Status Total Downloads

Installation

composer require folklore/laravel-panneau:dev-v1-rc

Laravel 5.4 and lower

1- Add the service provider to your app/config/app.php file

Folklore\Panneau\PanneauerviceProvider::class,

2- Add the facade to your app/config/app.php file

'Panneau' => Folklore\Panneau\Facades\Panneau::class,

All versions

1- Publish the configuration file and public files

$ php artisan vendor:publish

2- Add this to app/Providers/RouteServiceProvider.php

/**
 * Define the routes for the application.
 *
 * @return void
 */
public function map()
{
    $this->mapApiRoutes();

    $this->mapWebRoutes();

    app('panneau')->routes();
}

3- Review the following files:

  • Configuration: config/panneau.php
  • Routes: routes/panneau.php
  • Views: resources/views/vendor/panneau/
  • Assets: resources/assets/vendor/panneau/