{"repo":"qcod/laravel-settings","free":true,"listed":false,"github":"https://github.com/qcod/laravel-settings","clone":"git clone https://github.com/qcod/laravel-settings.git","description":"Store key value pair in database as settings","language":"PHP","stars":230,"topics":["laravel","laravel-settings","eloquent","database","php"],"license":"MIT","category":"databases-storage","readme_excerpt":"Laravel Settings Use qcod/laravel-settings to store key value pair settings in the database. All the settings saved in db is cached to improve performance by reducing sql query to zero. Installation 1 - You can install the package via composer: 2 - If you are installing on Laravel 5.4 or lower you will be needed to manually register Service Provider by adding it in config/app.php providers array and Facade in aliases arrays. In Laravel 5.5 or above the service provider automatically get registered and a facade Setting::get('app name') will be available. 3 - Now run the migration by php artisan migrate to create the settings table. Optionally you can publish migration by running Getting Started You can use helper function settings('app name') or Settings::get('app name') to use laravel settings. Available methods Groups From v 1.0.6 You can organize your settings into groups. If you skip the group name it will store settings with default group name. If you are updating from previous version dont forget to run the migration You have all above methods available just set you working group by calling - group('group name') method and chain on: Changelog Please see CHANGELOG for more information on what has changed recently. Testing The package contains some integration/smoke tests, set up with Orchestra. The tests can be run via phpunit. Contributing Please see CONTRIBUTING for details. Security If you discover any security related issues, please email saquibweb@gmail.com instead o","default_branch":null,"files":null,"tree":[],"storefront":"/r/qcod","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/qcod/laravel-settings/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}