PHP code example of tomatophp / filament-saas-panel
1. Go to this page and download the library: Download tomatophp/filament-saas-panel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use \TomatoPHP\FilamentSaasPanel\Traits\InteractsWithTenant;
use Filament\Models\Contracts\HasTenants;
use Filament\Models\Contracts\FilamentUser;
use Filament\Models\Contracts\HasAvatar;
use Spatie\MediaLibrary\HasMedia;
class User extends Authenticatable implements FilamentUser, HasAvatar, HasMedia, HasTenants
{
}