Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.3.3...v4.0.0
just allow useResource->() on the plugin
->plugin(\TomatoPHP\FilamentAccounts\FilamentAccountsPlugin::make()
->useResource(false)
)
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.3.2...v2.3.3
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.3.1...v2.3.2
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.3.0...v2.3.1
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.1.5...v2.3.0
install jetstream without run install command.
composer require laravel/jetstream
than publish the migrations
php artisan vendor:publish --tag=filament-accounts-teams-migrations
now you need to migrate your database
php artisan migrate
now publish your Accounts model
php artisan vendor:publish --tag="filament-accounts-model"
inside your published model use this implementation
class Account extends Authenticatable implements HasMedia, FilamentUser, HasAvatar, HasTenants, HasDefaultTenant
{
...
use InteractsWithTenant;
}
on your main panel you must use teams
->plugin(\TomatoPHP\FilamentAccounts\FilamentAccountsPlugin::make()
->useTeams()
)
and on your app panel you must use this plugin
->plugin(\TomatoPHP\FilamentAccounts\FilamentAccountsSaaSPlugin::make()
->editTeam()
->deleteTeam()
->teamInvitation()
->showTeamMembers()
->allowTenants()
)
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.1.4...v2.1.5
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.1.2...v2.1.3
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.1.1...v2.1.2
before use Export & Import actions you need to install laravel excel package
composer require maatwebsite/excel
now on your main panel provider add ->useExport() , ->useImport() to the plugin
->plugin(\TomatoPHP\FilamentAccounts\FilamentAccountsPlugin::make()
...
->useExport()
->useImport()
)
you can make your account manage the locations by using this code
->plugin(
FilamentAccountsSaaSPlugin::make()
->canManageAddress()
)
it will add Edit Locations menu to the tenant menu and the accounts can manage there locations
you can manage account requests by using this code
use TomatoPHP\FilamentAccounts\Services\Contracts\AccountRequestForm;
->plugin(
FilamentAccountsSaaSPlugin::make()
->canManageRequests(form: [
AccountRequestForm::make('account_approve')
->schema([
TextInput::make('name')
->label('Name')
->required(),
]),
AccountRequestForm::make('account_verify')
->schema([
TextInput::make('id')
->label('ID')
->numeric()
->minLength(14)
->maxLength(14)
->required(),
])
])
->useTypes()
)
as you see you can select a form the every request type.
you can manage account contact us by using this code
->plugin(
FilamentAccountsSaaSPlugin::make()
->showContactUsButton()
)
or you can use it anywhere on your app by using the livewire component
[@livewire](https://github.com/livewire)('tomato-contact-us-form')
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.0.11...v2.1.0
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.0.10...v2.0.11
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.0.9...v2.0.10
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.0.5...v2.0.6
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.0.4...v2.0.5
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.0.3...v2.0.4
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v2.0.2...v2.0.3
SaaS panel auto builderSaaS settings to PluginTeams resourcesTeams Management for every selected accountFull Changelog: https://github.com/tomatophp/filament-accounts/compare/v1.1.1...v2.0.0
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v1.0.5...v1.1.0
Full Changelog: https://github.com/tomatophp/filament-accounts/compare/v1.0.1...v1.0.2
How can I help you explore Laravel packages today?