Skip to content

A Laravel package for adding global and per-user settings. Comes with config file & migration with view templates also on the roadmap.

License

Notifications You must be signed in to change notification settings

takeawaytown/laravel-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Latest Stable Version Total Downloads License

Laravel Settings

Laravel 5.x persistent settings using Database and/or JSON

Install process

  1. Require this package with composer :

    composer require takeawaytown/laravel-settings

  2. Register the ServiceProvider to the providers array in config/app.php

    TakeawayTown\LaravelSettings\SettingsServiceProvider::class,

  3. Add an alias for the facade to aliases array in your config/app.php

    'Settings' => TakeawayTown\LaravelSettings\Facades\Settings::class,

  4. Publish the config and migration files:

    php artisan vendor:publish --provider="TakeawayTown\LaravelSettings\SettingsServiceProvider" --force

Change config/settings.php according to your needs.

Create the settings table.

php artisan migrate

Credits to main author

Anlutro Laravel Settings: anlutro/laravel-settings

About

A Laravel package for adding global and per-user settings. Comes with config file & migration with view templates also on the roadmap.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages