PHPackages                             tomatophp/filament-accounts - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. tomatophp/filament-accounts

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

tomatophp/filament-accounts
===========================

Manage your multi accounts inside your app using 1 table with multi auth and a lot of integrations

4.0.0(7mo ago)748.3k↑100%9[4 PRs](https://github.com/tomatophp/filament-accounts/pulls)7MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Apr 18Pushed 4mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (18)Versions (34)Used By (7)

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

Filament Accounts Builder
=========================

[](#filament-accounts-builder)

[![Dependabot Updates](https://github.com/tomatophp/filament-accounts/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/tomatophp/filament-accounts/actions/workflows/dependabot/dependabot-updates)[![PHP Code Styling](https://github.com/tomatophp/filament-accounts/actions/workflows/fix-php-code-styling.yml/badge.svg)](https://github.com/tomatophp/filament-accounts/actions/workflows/fix-php-code-styling.yml)[![Tests](https://github.com/tomatophp/filament-accounts/actions/workflows/tests.yml/badge.svg)](https://github.com/tomatophp/filament-accounts/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/f538c3ffedec0149a3533d4fa30049fe48c8f9ca39517ca2d5ff9046b5c0c3f2/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6163636f756e74732f76657273696f6e2e737667)](https://packagist.org/packages/tomatophp/filament-accounts)[![License](https://camo.githubusercontent.com/b40792166eb618af8d048a9272c6490911bb8213d783851829ce9c8c9c89538d/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6163636f756e74732f6c6963656e73652e737667)](https://packagist.org/packages/tomatophp/filament-accounts)[![Downloads](https://camo.githubusercontent.com/6f633bc4645e345e635bf5727db02f9d1c9a1ee19386d533b8008808fa5f27c4/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6163636f756e74732f642f746f74616c2e737667)](https://packagist.org/packages/tomatophp/filament-accounts)

Manage your multi accounts inside your app using 1 table with multi auth and a lot of integrations

Caution

Don't update to v2.3 if you are using v2.2 or less because you will lose some features but you can update and use this features from integrated packages.

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

[](#screenshots)

[![Accounts List](https://raw.githubusercontent.com/tomatophp/filament-accounts/master/arts/accounts-list.png)](https://raw.githubusercontent.com/tomatophp/filament-accounts/master/arts/accounts-list.png)[![Change Password](https://raw.githubusercontent.com/tomatophp/filament-accounts/master/arts/change-password.png)](https://raw.githubusercontent.com/tomatophp/filament-accounts/master/arts/change-password.png)[![Send Notifications](https://raw.githubusercontent.com/tomatophp/filament-accounts/master/arts/send-notifications.png)](https://raw.githubusercontent.com/tomatophp/filament-accounts/master/arts/send-notifications.png)[![Edit Account](https://raw.githubusercontent.com/tomatophp/filament-accounts/master/arts/edit-account.png)](https://raw.githubusercontent.com/tomatophp/filament-accounts/master/arts/edit-account.png)

Features
--------

[](#features)

- Accounts Manager
- Account Types `not tested`
- Account Login By `not tested`
- Account Active/Block `not tested`
- Account Avatar `not tested`
- Account Impersonate Integration `not tested`
- Account Table Column `not tested`
- Export `not tested`
- Import `not tested`
- Account Filament Alerts Integration
- Account Teams
- Google Contacts Integrations

Use Case
--------

[](#use-case)

you can use this package if you like to build a CRM or a multi-accounts app

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

[](#installation)

```
composer require tomatophp/filament-accounts
```

after install your package please run this command

```
php artisan filament-accounts:install
```

if you are not using this package as a plugin please register the plugin on `/app/Providers/Filament/AdminPanelProvider.php`

```
->plugin(\TomatoPHP\FilamentAccounts\FilamentAccountsPlugin::make())
```

Publish Account Model
---------------------

[](#publish-account-model)

you can publish your account model to add other relations or implement some interfaces by using this command

```
php artisan vendor:publish --tag="filament-accounts-model"
```

now go to your `filament-accounts.php` config file and change the model value to the new one.

if you don't find it you can publish it

```
php artisan vendor:publish --tag="filament-accounts-config"

```

Add Accounts Guard
------------------

[](#add-accounts-guard)

now you need to add a new guard to your auth.php config like this

```
