Laravel's missing setting component Feature
-
manually add the service provider in your config/app.php file:
App\Providers\SettingsProvider::class,
-
Add those route in yor routes/web.php
Route::prefix('settings')->group(function () { Route::get('/', [SettingController::class, 'index'])->name('admin.settings.index'); Route::get('/{setting}/move-up', [SettingController::class, 'move_up'])->name('admin.settings.moveUp'); Route::get('/{setting}/move-down', [SettingController::class, 'move_down'])->name('admin.settings.moveDown'); Route::post('/', [SettingController::class, 'store'])->name('admin.settings.store'); Route::put('/', [SettingController::class, 'update'])->name('admin.settings.update'); Route::delete('/{setting}/delete', [SettingController::class, 'destroy'])->name('admin.settings.delete'); Route::get('/{setting}/unset-value', [SettingController::class, 'unsetValue'])->name('admin.settings.unsetValue'); });
-
iqbalhasan.dev Sponsors
We would like to extend our thanks to the following sponsors for funding iqbalhasan.dev development. If you are interested in becoming a sponsor, please email us [email protected]
If you discover a security vulnerability within Laravel, please send an e-mail to IQBAL HASAN via [email protected]. All security vulnerabilities will be promptly addressed.
The iqbalhasan.dev Project is open-sourced software licensed under the MIT license.