{"repo":"qcod/laravel-app-settings","free":true,"listed":false,"github":"https://github.com/qcod/laravel-app-settings","clone":"git clone https://github.com/qcod/laravel-app-settings.git","description":"Store settings in database with a manager UI for your Laravel app","language":"PHP","stars":340,"topics":["settings","laravel","php","cache","settings-storage"],"license":"MIT","category":"databases-storage","readme_excerpt":"Laravel App Settings Use qcod/laravel-app-settings to add settings manager with UI in your Laravel app. It stores settings in the database and by default uses Bootstrap 4 for styling but you can configure it to work with any css system. All the settings saved in db are 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 AppSettings::get('app name') will be available. 3 - Now you should publish the config file with: It will create config/app settings.php with all the configuration option and way to define your setting inputs divided into sections. 4 - Now run the migration by php artisan migrate to create the settings table. Getting Started First you need to define all the settings you want in our settings page. For example we will need these settings app name , from email & from name . Lets define it in config: config/app settings.php Now if you visit http://yourapp.com/settings route, you will get the UI with all the settings you defined. You can change the layout to fit it in with your app design by changing app settings config: Next open the resources/views/your setting.blade.php and include settings partial where you want to display the se","default_branch":null,"files":null,"tree":[],"storefront":"/r/qcod","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/qcod/laravel-app-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."}