Secure your selected route by using a middleware with static password for developers only
composer require tomatophp/filament-developer-gate
finally reigster the plugin on /app/Providers/Filament/AdminPanelProvider.php
$panel->plugin(\TomatoPHP\FilamentDeveloperGate\FilamentDeveloperGatePlugin::make())
to secure selected resource or page you can use this trait
use TomatoPHP\FilamentDeveloperGate\Traits\InteractWithDeveloperGate;
or you can use the middleware direct on your routes like this
Route::middleware([\TomatoPHP\FilamentDeveloperGate\Http\Middleware\DeveloperGateMiddleware::class])->group(function () {
Route::get('/dashboard', function () {
return view('dashboard');
})->name('dashboard');
});
you can add a logout action button to your page or resource by using this trait
use TomatoPHP\FilamentDeveloperGate\Traits\DeveloperGateLogoutAction;
you can publish config file by use this command
php artisan vendor:publish --tag="filament-developer-gate-config"
you can publish views file by use this command
php artisan vendor:publish --tag="filament-developer-gate-views"
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-developer-gate-lang"
you can publish migrations file by use this command
php artisan vendor:publish --tag="filament-developer-gate-migrations"
- Filament Users Resource
- Filament Translations
- Filament Settings Hub
- Filament Menus Generator
- Filament Alerts Sender
- Filament Accounts Builder
- Filament Wallet Manager
- Filament Artisan Runner
- Filament File Browser
- Filament Locations Seeder
- Filament Plugins Manager
- Filament Splade Integration
- Filament Types Manager
- Filament Icons Picker
- Filament Helpers Classes
you can join our discord server to get support TomatoPHP
you can check docs of this package on Docs
Please see CHANGELOG for more information on what has changed recently.
Please see SECURITY for more information about security.
The MIT License (MIT). Please see License File for more information.