szihaj / laravel-static-pages by szihaj

Static page package for Laravel.
37
1
2
Package Data
Maintainer Username: szihaj
Maintainer Contact: szihaj5fdp@gmail.com (szihaj)
Package Create Date: 2016-04-07
Package Last Update: 2018-05-27
Language: PHP
License: GPL-3.0
Last Refreshed: 2025-02-21 03:15:55
Package Statistics
Total Downloads: 37
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

szihaj/laravel-static-pages

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