LaravelPackages.net
Acme Inc.
Toggle sidebar
takeawaytown/laravel-settings

A package that allows saving persistent settings to either JSON or database in Laravel 5

29
0
1.0.3
About takeawaytown/laravel-settings

takeawaytown/laravel-settings is a Laravel package for a package that allows saving persistent settings to either json or database in laravel 5. It currently has 0 GitHub stars and 29 downloads on Packagist (latest version 1.0.3). Install it with composer require takeawaytown/laravel-settings. Discover more Laravel packages by takeawaytown or browse all Laravel packages to compare alternatives.

Last updated

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

Comments