szihaj / laravel-static-pages
Static page package for Laravel.
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:helper
This package is not auto-updated.
Last update: 2025-02-01 22:02:46 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