soumen-dey/laravel-setting

A lightweight and simple package for database based key-value store for Laravel 5.6 and above.

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/soumen-dey/laravel-setting

v1.0 2019-05-04 09:06 UTC

This package is not auto-updated.

Last update: 2025-09-29 00:41:11 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

A lightweight and simple package for database based key-value store for Laravel 5.6 and above.

Installation

Via Composer

$ composer require soumen-dey/laravel-setting

The migrations will be loaded automatically, just run php artisan migrate.

Publish the config file.

php artisan vendor:publish --provider="Soumen\Setting\SettingServiceProvider" --tag="config"

Usage

Use the included helper to access the settings.

setting('key', 'value'); // set the setting 'key' using the 'value'
setting('key') // get the setting 'key'

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Credits

License

MIT License. Please see the license file for more information.