imtigger/laravel-settings-ui

Laravel Settings UI
20,614 2
Install
composer require imtigger/laravel-settings-ui
Latest Version:0.2.0
PHP:>=5.6.4
Laravel:5
License:mit
Last Updated:Dec 22, 2019
Links: GitHub  ·  Packagist
Maintainer: imtigger

Laravel Settings UI

Simple UI for anlutro/laravel-settings

Requirements

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

Laravel Form Builder Documentations

Laravel Settings Documentations

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

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