Download the PHP package tomatophp/filament-tenancy without Composer
On this page you can find all versions of the php package tomatophp/filament-tenancy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tomatophp/filament-tenancy
More information about tomatophp/filament-tenancy
Files in tomatophp/filament-tenancy
Package filament-tenancy
Short Description Tenancy multi-database integration for FilamentPHP
License MIT
Informations about the package filament-tenancy
Filament Tenancy
Tenancy multi-database integration for FilamentPHP
[!WARNING]
We have a known problem withroute:cache
if you find a problem with multi-database connection from your tenant side you may face this problem just usephp artisan route:clear
and it will be fixed.
Screenshots
Features
- [x] Multi Database
- [x] Create Tenant Resource
- [x] Sync Tenant Resource
- [x] Password Change
- [x] Tenant Impersonate
- [ ] Share Tenant Data
- [ ] Custom Theme For Tenant
- [ ] Livewire Component For Register New Tenant
Installation
after install your package please run this command
in your .env
add this
where tomatophp.test
is your central domain, and make sure you add a root user or a user have a permission to create database, then in your main central panel add this plugin
now you need to create a panel for tenancy app
and make the name same as ->panel('app')
, in your tenancy app panel add this plugin
now on your config\database.php
add this code
now run config:cache
on your bootstrap\app.php
add this middleware
Allow Impersonate
you can allow impersonate to tanent panel with 1 click by use this method on your plugin
Publish Assets
you can publish config file by use this command
you can publish views file by use this command
you can publish languages file by use this command
you can publish migrations file by use this command
Other Filament Packages
Checkout our Awesome TomatoPHP
All versions of filament-tenancy with dependencies
stancl/tenancy Version ^3.8
tomatophp/console-helpers Version ^1.1
filament/filament Version ^3.0