Looking to hire Laravel developers? Try LaraJobs

laravel-settings maintained by cmxperts

Description
Laravel Settings Manager
Author
Last update
2023/08/08 11:03 (dev-main)
License
Links
Downloads
30

Comments
comments powered by Disqus

Settings

Settings Management for Laravel 10

Installation

  1. Run
composer require cmxperts/laravel-settings

Step 2 & 3 are optional if you are using laravel 5.5

  1. Add the following class, to "providers" array in the file config/app.php (optional on laravel 5.5)
CmXperts\Settings\SettingsServiceProvider::class,
  1. Run publish
php artisan vendor:publish --provider="CmXperts\Settings\SettingsServiceProvider"
  1. Configure (optional) in config/cmx_settings.php :
  • CUSTOM MIDDLEWARE: You can add you own middleware
  • TABLE PREFIX: By default this package will create 1 new table named "settings" but you can still add your own table prefix avoiding conflict with existing table
  • TABLE NAMES If you want use specific name of table you have to modify that and the migrations
  • Custom routes If you want to edit the route path you can edit the field
  • Role Access If you want to enable roles (permissions) on menu items
  1. Run migrate
php artisan migrate

DONE