28/05
2018
Static page package for Laravel.
$ composer require szihaj/laravel-static-pages
Add the Service Provider to your config/app.php file like so:, (*1)
... szihaj\LaravelStaticPages\StaticPageProvider::class,
Add the Facade to your aliases in config/app.php, (*2)
'StaticPages' => szihaj\LaravelStaticPages\Facades\StaticPage::class,
Finally, publish the migrations, and run them:, (*3)
$ php artisan vendor:publish --tag=migrations $ php artisan migrate