imtigger/laravel-settings-ui
Laravel Settings UI
Simple UI for anlutro/laravel-settings
Requirements
- PHP >= 5.6.4
- Laravel >= 5.3
- anlutro/laravel-settings must be properly installed
- kristijanhusak/laravel-form-builder must be properly installed
Installation
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"
Usage
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
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.2.0 | >=5.6.4 | 5.* | property | |
| 0.1.2 | >=5.6.4 | 5.* | property | |
| 0.1.1 | >=5.6.4 | 5.3.* | property | |
| 0.1 | >=5.6.4 | 5.3.* | property |