Download the PHP package visual-ideas/laravel-seoable without Composer
On this page you can find all versions of the php package visual-ideas/laravel-seoable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download visual-ideas/laravel-seoable
More information about visual-ideas/laravel-seoable
Files in visual-ideas/laravel-seoable
Package laravel-seoable
Short Description Easy Laravel nested settings (stored in MYSQL) package with MoonShine Laravel Admin GUI
License MIT
Homepage https://github.com/visual-ideas/laravel-seoable
Informations about the package laravel-seoable
Easy laravel cached settings
Easy laravel cached settings (stored in MYSQL) package with MoonShine Laravel Admin GUI
Installation
You can install the package via composer:
You must run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
You can use this package as default laravel config() function!
or Blade directive @settings
For PHPStorm you can set this blade directive with This instruction
or as part of native Laravel config()
Not working in console!
Update settings
You can use models VI\LaravelSeoable\Models\SettingGroup and VI\LaravelSeoable\Models\Setting
or set settings values with the settings() function:
Usage with MoonShine Laravel Admin
Please see MoonShine
You can publish two MoonShine Resources with command:
and use them in your MoonShine admin panel, like this:
Seeding settings
I recommend saving the settings in the seeders using the orangehill/iseed package:
But you can use seeder or migration to set your settings
Credits
License
The MIT License (MIT). Please see License File for more information.