PHPackages                             tomatophp/filament-developer-gate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. tomatophp/filament-developer-gate

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

tomatophp/filament-developer-gate
=================================

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

v4.0.0(9mo ago)11106.7k↓20.3%3[4 PRs](https://github.com/tomatophp/filament-developer-gate/pulls)6MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Apr 6Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/tomatophp/filament-developer-gate)[ Packagist](https://packagist.org/packages/tomatophp/filament-developer-gate)[ GitHub Sponsors](https://github.com/fadymondy)[ RSS](/packages/tomatophp-filament-developer-gate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (15)Versions (10)Used By (6)

[![Screenshot](https://raw.githubusercontent.com/tomatophp/filament-developer-gate/master/arts/fadymondy-tomato-developer-gate.jpg)](https://raw.githubusercontent.com/tomatophp/filament-developer-gate/master/arts/fadymondy-tomato-developer-gate.jpg)

Filament developer gate
=======================

[](#filament-developer-gate)

[![Dependabot Updates](https://github.com/tomatophp/filament-developer-gate/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/tomatophp/filament-developer-gate/actions/workflows/dependabot/dependabot-updates)[![PHP Code Styling](https://github.com/tomatophp/filament-developer-gate/actions/workflows/fix-php-code-styling.yml/badge.svg)](https://github.com/tomatophp/filament-developer-gate/actions/workflows/fix-php-code-styling.yml)[![Tests](https://github.com/tomatophp/filament-developer-gate/actions/workflows/tests.yml/badge.svg)](https://github.com/tomatophp/filament-developer-gate/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/19c93e5263fcbd0101fa4a66f1cca0c46582901c776a3ff3d441a70a7659418f/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d646576656c6f7065722d676174652f76657273696f6e2e737667)](https://packagist.org/packages/tomatophp/filament-developer-gate)[![License](https://camo.githubusercontent.com/84cb5af67e6cb579b9f23bfb9c26d7c355d417582ce2141d4c61a4261606ecc0/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d646576656c6f7065722d676174652f6c6963656e73652e737667)](https://packagist.org/packages/tomatophp/filament-developer-gate)[![Downloads](https://camo.githubusercontent.com/39fc9b24c12d0f267eac22efb2094eafd76cf01c1bed8f2b51d2b963b0927de7/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d646576656c6f7065722d676174652f642f746f74616c2e737667)](https://packagist.org/packages/tomatophp/filament-developer-gate)

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

Screenshots
-----------

[](#screenshots)

[![Login](https://raw.githubusercontent.com/tomatophp/filament-developer-gate/master/arts/login.png)](https://raw.githubusercontent.com/tomatophp/filament-developer-gate/master/arts/login.png)[![Logout](https://raw.githubusercontent.com/tomatophp/filament-developer-gate/master/arts/logout-action.png)](https://raw.githubusercontent.com/tomatophp/filament-developer-gate/master/arts/logout-action.png)[![Logout Confirm](https://raw.githubusercontent.com/tomatophp/filament-developer-gate/master/arts/logout-confirm.png)](https://raw.githubusercontent.com/tomatophp/filament-developer-gate/master/arts/logout-confirm.png)

Installation
------------

[](#installation)

```
composer require tomatophp/filament-developer-gate
```

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

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

Usage
-----

[](#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
--------------

[](#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
-------

[](#testing)

if you like to run `PEST` testing just use this command

```
composer test
```

Code Style
----------

[](#code-style)

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

```
composer format
```

PHPStan
-------

[](#phpstan)

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

```
composer analyse
```

Other Filament Packages
-----------------------

[](#other-filament-packages)

Checkout our [Awesome TomatoPHP](https://github.com/tomatophp/awesome)

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance76

Regular maintenance activity

Popularity40

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 92.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~100 days

Recently: every ~125 days

Total

6

Last Release

271d ago

Major Versions

v1.0.4 → v4.0.02025-08-20

PHP version history (2 changes)v1.0.0PHP ^8.1|^8.2

v4.0.0PHP ^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/2147eb2fca7ab5f0124d0fafd88ba2d2a5dfa3a0036fb8872d1084b7cba29366?d=identicon)[fadymondy](/maintainers/fadymondy)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (25 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

developer-accessdeveloper-toolsfilamentphpfilamentphp-plugingatesecurityphplaravelsecurityauthsecuretoolsdeveloperfilamentgate

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tomatophp-filament-developer-gate/health.svg)

```
[![Health](https://phpackages.com/badges/tomatophp-filament-developer-gate/health.svg)](https://phpackages.com/packages/tomatophp-filament-developer-gate)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[cartalyst/sentinel

PHP 8.2+ Fully-featured Authentication &amp; Authorization System

1.6k2.7M72](/packages/cartalyst-sentinel)[tomatophp/filament-users

Manage your users with a highly customizable user resource for FilamentPHP with integration of filament-shield and filament-impersonate

90102.0k7](/packages/tomatophp-filament-users)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
