szihaj/laravel-static-pages

Static page package for Laravel.

0.1 2018-05-27 22:00 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:07:49 UTC


README

Installation

$ composer require szihaj/laravel-static-pages

Add the Service Provider to your config/app.php file like so:

...
szihaj\LaravelStaticPages\StaticPageProvider::class,

Add the Facade to your aliases in config/app.php

'StaticPages' => szihaj\LaravelStaticPages\Facades\StaticPage::class,

Finally, publish the migrations, and run them:

$ php artisan vendor:publish --tag=migrations
$ php artisan migrate