Download the PHP package tomatophp/filament-accounts without Composer
On this page you can find all versions of the php package tomatophp/filament-accounts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-accounts
Filament Accounts Builder
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
Features
- [x] Accounts Manager
- [x] Account Types
not tested
- [x] Account Login By
not tested
- [x] Account Active/Block
not tested
- [x] Account Avatar
not tested
- [x] Account Impersonate Integration
not tested
- [x] Account Table Column
not tested
- [x] Export
not tested
- [x] Import
not tested
- [ ] Account Filament Alerts Integration
- [ ] Account Teams
- [ ] Google Contacts Integrations
Use Case
you can use this package if you like to build a CRM or a multi-accounts app
Installation
after install your package please run this command
if you are not using this package as a plugin please register the plugin on /app/Providers/Filament/AdminPanelProvider.php
Publish Account Model
you can publish your account model to add other relations or implement some interfaces by using this command
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
Add Accounts Guard
now you need to add a new guard to your auth.php config like this
Usage
this plugin makes it easy to make a starting point for your app if this app has customers to manage
but here is the problem, every app has a different way of managing customers, so we built a Facade service to control the way you want to manage your customers
Use Avatar
add this method to your plugin in AdminPanelProvider.php
Use Filament Types
just allow ->useTypes()
on the plugin
Show Address Field
you can show or hide address field on the create or edit form by using this code
Show Type Field
you can show or hide type field on the create or edit form by using this code
Attach Relation To Accounts
you can attach a new relation to the accounts relations manager by just passing the relation class to the facade service method
Use Export & Import Actions
now on your main panel provider add ->useExport()
, ->useImport()
to the plugin
Use Account Column
you can use the account column in any table by using this code
just pass the account id to the column
Use Filament Impersonate
you can use the impersonate to impersonate the user by install it first
now on your main panel provider add ->useImpersonate()
, ->impersonateRedirect('/app')
to the plugin
now clear your config
for more information check the Filament Impersonate
Testing
if you like to run PEST
testing just use this command
Code Style
if you like to fix the code style just use this command
PHPStan
if you like to check the code by PHPStan
just use this command
Other Filament Packages
Checkout our Awesome TomatoPHP
All versions of filament-accounts with dependencies
tomatophp/console-helpers Version ^1.1
filament/filament Version ^3.2
filament/notifications Version ^3.2
tomatophp/filament-types Version ^2.0
maatwebsite/excel Version ^3.1
filament/spatie-laravel-media-library-plugin Version ^3.2