tomatophp/filament-accounts
Filament Accounts Builder is a Laravel/Filament plugin for managing multiple accounts in one table with multi-auth and integrations, ideal for CRMs and multi-account apps. Includes account types, login-by, active/block status, avatars, impersonation, plus import and export.
auth.php guard examples plus useTypes() and impersonation patterns — measurably reducing the "custom auth wiring" gap previously flagged for OAuth/SSO extension.tomatophp/filament-types ^5.0.1 as a required dependency, and maatwebsite/excel ^3.1.64 || ^4.0 for export/import. This expands the transitive dependency surface — worth evaluating alongside the package itself.account_type / status, and still a scalability watch-item beyond ~100K accounts.v4 branch, which is important for phased adopters.schema() API. This was previously a "would need extension" gap.v4 branch exists, so teams must explicitly choose a track.tomatophp/filament-types and maatwebsite/excel become transitive liabilities — a bug or breaking change in either propagates to this package.getUrl() signature fix (#20) should reduce one class of admin routing bugs.v4 maintenance branch of this package.tomatophp/filament-types and maatwebsite/excel? Both are now hard requirements.auth.php guard example and impersonation guidance reduce integration guesswork.tomatophp/filament-types ^5.0.1 (default customer/account types are auto-seeded the first time the Accounts Types page is opened — a small but welcome onboarding improvement).tomatophp/filament-types ^5.0.1 and maatwebsite/excel ^3.1.64 || ^4.0 resolve cleanly against your lockfile.schema() API.v4 branch of this package.tomatofy/filament-types ^5.0.1 — new hard requirement; align versions with Filament.maatwebsite/excel ^3.1.64 || ^4.0 — new hard requirement for export/import.composer require tomatophp/filament-accounts
(Pulls in filament-types and maatwebsite/excel transitively.)php artisan migrate; let the Accounts Types page seed default customer/account types on first open.auth.php guard example and useTypes() pattern; review impersonation docs.schema() and confirm Excel 3 vs 4 line.main (v5 / Filament v5 / Laravel 12+) and v4 (Filament v4). Pin accordingly and plan a v4 → v5 cutover before the v4 line ages out.tomatophp/filament-types and maatwebsite/excel release notes — regressions there now affect this package.useTypes(), impersonation) improve the self-serve story.getUrl() fix (#20) removes a known class of admin-routing confusion.identifier/type/status, read replicas beyond ~10K, archiving via soft deletes.| Risk | Mitigation |
|---|---|
| Filament v5 / Livewire 4 upgrade breaks admin | Validate Filament upgrade in isolation first; fall back to the package's v4 branch if needed. |
| Laravel/PHP floor blocks adoption | Confirm Laravel 12+ and PHP 8.2 in CI/containers before requiring the package. |
Transitive dependency regression (filament-types, maatwebsite/excel) |
Pin versions; monitor advisories; run the package's Pest suite in CI. |
| Auth token leaks | Rotate API keys during migration; use Sanctum token revocation. |
| Data corruption during migration | Backup accounts table; wrap bulk updates in transactions. |
| Performance degradation at scale | Monitor query plans; eager-load to avoid N+1; index hot filter columns. |
| Multi-account data bleed | Enforce account-isolation middleware; test impersonation flows explicitly. |
How can I help you explore Laravel packages today?