Skip to content

Releases: tomatophp/filament-accounts

v2.3.1

22 Dec 22:59
1f5cabf
Compare
Choose a tag to compare

What's Changed

  • Add bcrypt hashing for password by @megoxv in #8

Full Changelog: v2.3.0...v2.3.1

v2.3.0

04 Nov 10:53
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.5...v2.3.0

v2.1.5

09 Oct 11:20
Compare
Choose a tag to compare

Allow Teams Manager

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: v2.1.4...v2.1.5

v2.1.4

17 Sep 16:32
Compare
Choose a tag to compare

Full Changelog: v2.1.3...v2.1.4

v2.1.3

16 Sep 10:47
Compare
Choose a tag to compare
  • add filament-plugins integration to convert the package to the module.

Full Changelog: v2.1.2...v2.1.3

v2.1.2

14 Sep 16:03
961973a
Compare
Choose a tag to compare

What's Changed

  • fix resource namespace in config by @megoxv in #3

Full Changelog: v2.1.1...v2.1.2

v2.1.1

12 Sep 16:18
Compare
Choose a tag to compare

Full Changelog: v2.1.0...v2.1.1

v2.1.0

02 Sep 15:10
Compare
Choose a tag to compare
  • Add Dynamic Types For Account
  • Add Dynamic Types For Account Requests
  • Add Dynamic Types For Contact Us Status
  • Use Export & Import Actions
  • Use Account Locations on SaaS Panel
  • Use Account Requests on SaaS Panel
  • Use Account Contact Us on SaaS Panel

Use Export & Import Actions

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()
)

Use Account Locations on SaaS Panel

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

Use Account Requests on SaaS Panel

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.

Use Account Contact Us on SaaS Panel

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('tomato-contact-us-form')

Full Changelog: v2.0.11...v2.1.0

v2.0.11

28 Aug 15:20
Compare
Choose a tag to compare
  • add Export/Import Actions by @3x1io

Full Changelog: v2.0.10...v2.0.11

v2.0.10

27 Aug 14:22
914739d
Compare
Choose a tag to compare

What's Changed

  • fix contacts route and login by @megoxv in #2

New Contributors

  • @megoxv made their first contribution in #2

Full Changelog: v2.0.9...v2.0.10