| Package Data | |
|---|---|
| Maintainer Username: | imtigger |
| Maintainer Contact: | tiger@tiger-workshop.com (Tiger Fok) |
| Package Create Date: | 2017-03-17 |
| Package Last Update: | 2019-12-22 |
| Language: | PHP |
| License: | mit |
| Last Refreshed: | 2025-11-04 15:05:33 |
| Package Statistics | |
|---|---|
| Total Downloads: | 20,587 |
| Monthly Downloads: | 1 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 1 |
| Total Forks: | 2 |
| Total Open Issues: | 3 |
Simple UI for anlutro/laravel-settings
This plugin can only be installed from Composer.
Run the following command:
$ composer require imtigger/laravel-settings-ui
Add the following to your config/app.php:
'providers' => [
...
Imtigger\LaravelSettingsUI\LaravelSettingsUIServiceProvider::class,
]
Add route to web.php
Route::get('/setting', ['as' => 'laravel-settings-ui', 'uses' => '\\Imtigger\\LaravelSettingsUI\\Controller@get']);
Route::post('/setting', ['as' => 'laravel-settings-ui.post', 'uses' => '\\Imtigger\\LaravelSettingsUI\\Controller@post']);
Publish config, form and view
php artisan vendor:publish --provider="Imtigger\LaravelSettingsUI\LaravelSettingsUIServiceProvider"
Edit app/Forms/LaravelSettingsForm.php to add/remove fields
All fields in this Form is automagically saved
Edit resources\views\vendor\laravel-settings-ui\settings.blade.php to adapt it to your favorite theme!
Final word: Remember use middleware to protect routes