PHPackages                             artmin96/filament-jet - 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. artmin96/filament-jet

ActiveLibrary

artmin96/filament-jet
=====================

This is my package filament-jet

0.0.2(2y ago)481.2k12[1 issues](https://github.com/ArtMin96/filament-jet/issues)[3 PRs](https://github.com/ArtMin96/filament-jet/pulls)MITPHPPHP ^8.0

Since Nov 28Pushed 2y ago3 watchersCompare

[ Source](https://github.com/ArtMin96/filament-jet)[ Packagist](https://packagist.org/packages/artmin96/filament-jet)[ Docs](https://github.com/artmin96/filament-jet)[ GitHub Sponsors](https://github.com/ArtMin96)[ RSS](/packages/artmin96-filament-jet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (23)Versions (6)Used By (0)

FilamentJet
===========

[](#filamentjet)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4231082ae3652b0aabdcb31cbc807f4025b84b85f83466d1ebd1814b00008bb7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6172746d696e39362f66696c616d656e742d6a65742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/artmin96/filament-jet)[![GitHub Tests Action Status](https://camo.githubusercontent.com/b738cb7b3281ad9b292f1dccc7e37c022cfb93d6b0183ab8480c6506e55ed4bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6172746d696e39362f66696c616d656e742d6a65742f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/artmin96/filament-jet/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/3f4e7ed3b707868b62d13399262a9138aaa918dc90ab6b176436a147343364c0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6172746d696e39362f66696c616d656e742d6a65742f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/artmin96/filament-jet/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/1ef5862d3d1e54d479b0c65c313060df0c888809514005cc86ce2c2f29ea298e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6172746d696e39362f66696c616d656e742d6a65742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/artmin96/filament-jet)

[![Filament Jet cover art](./art/banner.png)](./art/banner.png)

Filament Jet is a authentication starter kit for [Filament](https://github.com/filamentphp/filament) and provides the perfect starting point for your next [Filament](https://github.com/filamentphp/filament) application. Filament Jet provides the implementation for your application's login, registration, email verification, two-factor authentication, session management, personal data export, API via Laravel Sanctum, and optional team management features.

Switchable teamUser menu[![Filament Jet switchable team art](./art/switchable-team.png)](./art/switchable-team.png)[![Filament Jet user menu art](./art/user-menu.png)](./art/user-menu.png)Installation
------------

[](#installation)

> **Warning**Attempting to install Filament Jet into an existing Filament application may result in unexpected behavior and issues.

You can install the package via composer:

```
composer require artmin96/filament-jet
```

After installing the Filament Jet package, you may execute the following Artisan command.

```
php artisan filament-jet:install
```

In addition, you may use the `--teams` switch to enable team support.

After installing Filament Jet, you should install and build your NPM dependencies and migrate your database:

```
npm run dev

npm run build

php artisan migrate
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-jet-views"
```

Update the `config/filament.php` to point to the Filament Jet's `Login::class`.

```
'auth' => [
    'guard' => env('FILAMENT_AUTH_GUARD', 'web'),
    'pages' => [
        'login' => \ArtMin96\FilamentJet\Filament\Pages\Auth\Login::class,
    ],
],
```

You may want to change the size of the auth card.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::login([
        'card_width' => 'md',
    ]),
],
```

Show/hide brand.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::login([
        'has_brand' => true,
    ]),
],
```

Full config for login.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::login([
        'card_width' => 'md',
        'has_brand' => true,
        'rate_limiting' => [
            'enabled' => true,
            'limit' => 5,
        ],
        'pipelines' => [],
    ]),
],
```

Profile Management
------------------

[](#profile-management)

Filament Jet's profile management features are accessed by the user using the top-right user profile navigation dropdown menu. Filament Jet actions that allow the user to update their name, email address, and, optionally, their profile photo.

[![Filament Jet profile information art](./art/profile-information.png)](./art/profile-information.png)[![Filament Jet update password art](./art/update-password.png)](./art/update-password.png)[![Filament Jet two factor art](./art/two-factor.png)](./art/two-factor.png)[![Filament Jet two factor finish enabling art](./art/two-factor-finish-enabling.png)](./art/two-factor-finish-enabling.png)[![Filament Jet two factor enabled art](./art/two-factor-enabled.png)](./art/two-factor-enabled.png)[![Filament Jet two factor secret codes hidden art](./art/two-factor-secret-codes-hidden.png)](./art/two-factor-secret-codes-hidden.png)[![Filament Jet browser sessions art](./art/browser-sessions.png)](./art/browser-sessions.png)[![Filament Jet delete account art](./art/delete-account.png)](./art/delete-account.png)[![Filament Jet download information art](./art/download-information.png)](./art/download-information.png)[![Filament Jet download information ready art](./art/download-information-ready.png)](./art/download-information-ready.png)

You may want to disable the `updateProfileInformation` feature by adding a comment.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    // Features::updateProfileInformation(),
],
```

### Enabling Profile Photos

[](#enabling-profile-photos)

If you wish to allow users to upload custom profile photos, you must enable the feature in your application's `config/filament-jet.php` configuration file. To enable the feature, simply uncomment the corresponding feature entry from the `features` configuration item within this file:

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::profilePhotos(),
],
```

Follow the link for more information: [Jetstream Profile Management](https://jetstream.laravel.com/2.x/features/profile-management.html)

### Password Update

[](#password-update)

You may want to disable the `updatePasswords` feature by adding a comment.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    // Features::updatePasswords([
    //     ...
    // ]),
],
```

You may want to update the password without filling in the current password.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::updatePasswords([
        'askCurrentPassword' => false,
    ]),
],
```

### Two Factor Authentication

[](#two-factor-authentication)

When a user enables two-factor authentication for their account, they should scan the given QR code using a free TOTP authenticator application such as Google Authenticator. In addition, they should store the listed recovery codes in a secure password manager such as [1Password](https://1password.com/).

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::twoFactorAuthentication([
        'authentication' => [
            'session_prefix' => 'filament.',
            'card_width' => 'md',
            'has_brand' => true,
            'rate_limiting' => [
                'enabled' => true,
                'limit' => 5,
            ],
        ],
        'confirm' => true,
        'toggleRecoveryCodesVisibilityWithConfirmPassword' => true,
        // 'window' => 0,
    ]),
],
```

You may want to disable the `twoFactorAuthentication` feature by adding a comment.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    // Features::twoFactorAuthentication([
    //     ...
    // ]),
],
```

You may want to toggle recovery codes visibility without password confirmation:

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::twoFactorAuthentication([
        // ...
        'toggleRecoveryCodesVisibilityWithConfirmPassword' => false,
    ]),
],
```

### Browser Sessions

[](#browser-sessions)

This feature utilizes Laravel's built-in `Illuminate\Session\Middleware\AuthenticateSession` middleware to safely log out other browser sessions that are authenticated as the current user.

> **Note**To utilize browser session management within Filament Jet, ensure that your session configuration's `driver` (or `SESSION_DRIVER` environment variable) is set to 'database'.

You may want to disable the `logoutOtherBrowserSessions` feature by adding a comment.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    // Features::logoutOtherBrowserSessions(),
],
```

### Delete Account

[](#delete-account)

You may want to disable the `accountDeletion` feature by adding a comment.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    // Features::accountDeletion(),
],
```

### Download Your Information

[](#download-your-information)

You can download a copy of your information from your profile. Once your files are available, you can download them to your device.

You may want to disable the `personalDataExport` feature by adding a comment.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    // Features::personalDataExport([
    //    'export-name' => 'personal-data',
    //    'add' => [
            // ['nameInDownload' => '', 'content' => []]
    //    ],
    //    'add-files' => [
            // ['pathToFile' => '', 'diskName' => '', 'directory' => '']
    //    ],
    // ]),
],
```

- `add`: the first parameter is the name of the file in the inside the zip file. The second parameter is the content that should go in that file. If you pass an array here, we will encode it to JSON.
- `add-file`: the first parameter is a path to a file which will be copied to the zip. You can also add a disk name as the second parameter.

The `export-name` will only affect the name of the download that will be sent as a response to the user, not the name of the zip stored on disk.

This uses the [spatie/laravel-personal-data-export](https://github.com/spatie/laravel-personal-data-export) package. Follow the link for other information.

Teams
-----

[](#teams)

If you installed Filament Jet using the `--teams` option, your application will be scaffolded to support team creation and management.

### Create Team

[](#create-team)

[![Filament Jet create team art](./art/create-team.png)](./art/create-team.png)

### Team Settings

[](#team-settings)

[![Filament Jet update team name art](./art/update-team-name.png)](./art/update-team-name.png)[![Filament Jet add team member art](./art/add-team-member.png)](./art/add-team-member.png)[![Filament Jet pending team invitations art](./art/pending-team-invitations.png)](./art/pending-team-invitations.png)[![Filament Jet team members art](./art/team-members.png)](./art/team-members.png)[![Filament Jet manage team member role art](./art/manage-team-member-role.png)](./art/manage-team-member-role.png)[![Filament Jet delete team art](./art/delete-team.png)](./art/delete-team.png)

### Disabling team feature

[](#disabling-team-feature)

If you want to disable the team feature, remove this line from the `config/filament-jet.php` config.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::teams([
        'invitations' => false,
        'middleware' => [],
    ]),
],
```

If you want to add other middlewares, fill in the middleware array.

Follow the link for more information: [Jetstream Teams](https://jetstream.laravel.com/2.x/features/teams.html)

### Invitations

[](#invitations)

By default, Filament Jet will simply add any existing application user that you specify to your team. To get started, pass the `invitations` option when enabling the "teams" feature for your application. This may be done by modifying the `features` array of your application's `config/filament-jet.php` configuration file.

Follow the link for more information: [Jetstream Teams](https://jetstream.laravel.com/2.x/features/teams.html)

API
---

[](#api)

[![Filament Jet api token create art](./art/api-token-create.png)](./art/api-token-create.png)[![Filament Jet api token display art](./art/api-token-display.png)](./art/api-token-display.png)[![Filament Jet api token list art](./art/api-token-list.png)](./art/api-token-list.png)[![Filament Jet api token permissions art](./art/api-token-permissions.png)](./art/api-token-permissions.png)

Laravel Sanctum provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token-based APIs. Sanctum allows each user of your application to generate multiple API tokens for their account. These tokens may be granted abilities / permissions which specify which actions the tokens are allowed to perform.

### Enabling API Support

[](#enabling-api-support)

If your application will be offering an API that may be consumed by third-parties, you must enable Filament Jet's API feature. To do so, you should uncomment the relevant entry in the `features` configuration option of your application's `config/filament-jet.php` configuration file:

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::api(),
],
```

Follow the link for more information: [Jetstream API](https://jetstream.laravel.com/2.x/features/api.html)

Authentication
--------------

[](#authentication)

### Registration

[](#registration)

[![Filament Jet register art](./art/register.png)](./art/register.png)

#### Requiring Terms Of Service / Privacy Policy Approval

[](#requiring-terms-of-service--privacy-policy-approval)

Many applications require users to accept their terms of service / privacy policy during registration. Filament Jet allows you to easily enable this requirement for your own application, as well as provides a convenient way of writing these documents using Markdown.

To get started, enable this feature in your application's `config/filament-jet.php` configuration file:

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::termsAndPrivacyPolicy(),
],
```

Next, you may write your terms of service / privacy policy documents by modifying your application's `resources/markdown/terms.md` and `resources/markdown/policy.md` files.

#### Disabling Registration Feature

[](#disabling-registration-feature)

You may want to disable the `registration` feature by adding a comment.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    // Features::registration([
    //     'page' => \ArtMin96\FilamentJet\Filament\Pages\Auth\Register::class,
    //     'terms_of_service' => \ArtMin96\FilamentJet\Http\Livewire\TermsOfService::class,
    //     'privacy_policy' => \ArtMin96\FilamentJet\Http\Livewire\PrivacyPolicy::class,
    //     'card_width' => 'md',
    //     'has_brand' => true,
    //     'rate_limiting' => [
    //         'enabled' => true,
    //         'limit' => 5,
    //     ],
    // ]),
],
```

### Login

[](#login)

[![Filament Jet login art](./art/login.png)](./art/login.png)

### Reset Password

[](#reset-password)

[![Filament Jet reset password art](./art/reset-password.png)](./art/reset-password.png)[![Filament Jet reset password sent art](./art/reset-password-sent.png)](./art/reset-password-sent.png)[![Filament Jet reset password update art](./art/reset-password-update.png)](./art/reset-password-update.png)

#### Disabling Reset Password Feature

[](#disabling-reset-password-feature)

You may want to disable the `resetPasswords` feature by adding a comment.

```
use ArtMin96\FilamentJet\Features;

'features' => [
    // Features::resetPasswords([
    //     'request' => [
    //         'page' => \ArtMin96\FilamentJet\Filament\Pages\Auth\PasswordReset\RequestPasswordReset::class,
    //         'card_width' => 'md',
    //         'has_brand' => true,
    //         'rate_limiting' => [
    //             'enabled' => true,
    //             'limit' => 5,
    //         ],
    //     ],
    //     'reset' => [
    //         'page' => \ArtMin96\FilamentJet\Filament\Pages\Auth\PasswordReset\ResetPassword::class,
    //         'card_width' => 'md',
    //         'has_brand' => true,
    //         'rate_limiting' => [
    //             'enabled' => true,
    //             'limit' => 5,
    //         ],
    //     ],
    // ]),
],
```

### Two Factor Challenge

[](#two-factor-challenge)

[![Filament Jet two factor code art](./art/two-factor-code.png)](./art/two-factor-code.png)[![Filament Jet two factor recovery-code art](./art/two-factor-recovery-code.png)](./art/two-factor-recovery-code.png)

### Extending and Overriding Components

[](#extending-and-overriding-components)

All pages within the auth flow are full-page Livewire components made to work with Filament Forms. So you can easily extend any component to add your own fields and actions.

You may want to change the registration component:

```
use ArtMin96\FilamentJet\Features;

'features' => [
     Features::registration([
        'page' => \ArtMin96\FilamentJet\Filament\Pages\Auth\Register::class,
        'terms_of_service' => \ArtMin96\FilamentJet\Http\Livewire\TermsOfService::class,
        'privacy_policy' => \ArtMin96\FilamentJet\Http\Livewire\PrivacyPolicy::class,
        'card_width' => 'md',
        'has_brand' => true,
        'rate_limiting' => [
            'enabled' => true,
            'limit' => 5
        ],
    ]),
],
```

You may want to change the terms of service or privacy policy component:

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::registration([
        // ...
        'terms_of_service' => YourTermsOfServiceComponent::class,
        'privacy_policy' => YourPrivacyPolicyComponent::class,
        // ...
    ]),
],
```

You may want to change the reset password pages:

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::resetPasswords([
        'request' => [
            'page' => \ArtMin96\FilamentJet\Filament\Pages\Auth\PasswordReset\RequestPasswordReset::class,
            // ...
        ],
        'reset' => [
            'page' => \ArtMin96\FilamentJet\Filament\Pages\Auth\PasswordReset\ResetPassword::class,
            // ...
        ],
    ]),
],
```

### Email Verification

[](#email-verification)

To get started, verify that your `App\Models\User` model implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract

```
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable implements MustVerifyEmail
{
    // ...
}
```

Filament Jet includes support for requiring that a newly registered user verify their email address. However, support for this feature is disabled by default. To enable this feature, you should uncomment the relevant entry in the `features` configuration item of your application's `config/filament-jet.php` configuration file:

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::emailVerification([
        // ...
    ]),
],
```

You may want to change the verification checker page or email verification controller:

```
use ArtMin96\FilamentJet\Features;

'features' => [
    Features::emailVerification([
        'page' => \ArtMin96\FilamentJet\Filament\Pages\Auth\EmailVerification\EmailVerificationPrompt::class,
        'controller' => \ArtMin96\FilamentJet\Http\Controllers\Auth\EmailVerificationController::class,
        'card_width' => 'md',
        'has_brand' => true,
        'rate_limiting' => [
            'enabled' => true,
            'limit' => 5
        ],
    ]),
],
```

Usage
-----

[](#usage)

The `filament-jet` configuration file contains a `features` configuration array where you can enable or disable the feature you want.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Arthur Minasyan](https://github.com/ArtMin96)
- [All Contributors](../../contributors)

This package was inspired by a package by [Laravel's jetstream](https://github.com/laravel/jetstream).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.8% 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 ~333 days

Total

2

Last Release

920d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/477c7f16e7301036e026f9374ec9f2b9f6b396f563e87d556a78d9810cbfbb68?d=identicon)[ArtMin96](/maintainers/ArtMin96)

---

Top Contributors

[![ArtMin96](https://avatars.githubusercontent.com/u/29732308?v=4)](https://github.com/ArtMin96 "ArtMin96 (133 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)")[![marco76tv](https://avatars.githubusercontent.com/u/1944941?v=4)](https://github.com/marco76tv "marco76tv (1 commits)")

---

Tags

filamentfilament-authenticationfilament-pluginfilamentadminfilamentphplaravellaravel-sanctumlaravelArtMin96filament-jet

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/artmin96-filament-jet/health.svg)

```
[![Health](https://phpackages.com/badges/artmin96-filament-jet/health.svg)](https://phpackages.com/packages/artmin96-filament-jet)
```

###  Alternatives

[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k1.7M41](/packages/jeffgreco13-filament-breezy)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

81158.7k4](/packages/stephenjude-filament-two-factor-authentication)[joaopaulolndev/filament-edit-profile

Filament package to edit profile

250258.1k34](/packages/joaopaulolndev-filament-edit-profile)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[bezhansalleh/filament-plugin-essentials

A collection of essential traits that streamline Filament plugin development by taking care of the boilerplate, so you can focus on shipping real features faster

27584.7k16](/packages/bezhansalleh-filament-plugin-essentials)

PHPackages © 2026

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