composer require folklore/laravel-panneau:dev-v1-rc
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,
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/