Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Developer Gate Laravel Package

tomatophp/filament-developer-gate

View on GitHub
Deep Wiki
Context7

Screenshot

Filament developer gate

Dependabot Updates PHP Code Styling Tests Latest Stable Version License Downloads

Secure your selected route by using a middleware with static password for developers only

Screenshots

Login Logout Logout Confirm

Installation

composer require tomatophp/filament-developer-gate

finally reigster the plugin on /app/Providers/Filament/AdminPanelProvider.php

$panel->plugin(\TomatoPHP\FilamentDeveloperGate\FilamentDeveloperGatePlugin::make())

Usage

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;

or you can use direct action like this

use TomatoPHP\FilamentDeveloperGate\Actions\DeveloperLogoutAction;


DeveloperLogoutAction::make();

Publish Assets

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"

Testing

if you like to run PEST testing just use this command

composer test

Code Style

if you like to fix the code style just use this command

composer format

PHPStan

if you like to check the code by PHPStan just use this command

composer analyse

Other Filament Packages

Checkout our Awesome TomatoPHP

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle