Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luckykenlin/filament-curator-with-laravel-tenancy
https://github.com/luckykenlin/filament-curator-with-laravel-tenancy
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/luckykenlin/filament-curator-with-laravel-tenancy
- Owner: luckykenlin
- Created: 2024-06-08T03:15:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-08T04:05:19.000Z (7 months ago)
- Last Synced: 2024-11-04T22:42:00.599Z (2 months ago)
- Language: PHP
- Size: 743 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup
```bash
composer installnpm install
npm run build
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan db:seed
```tenant panel: http://foo.filament-curator-with-laravel-tenancy.test/tenant
# Info
AdminPanelProvider and TenantPanelProvider
1. Check those provider's plugins, I have to register both to make it work.
2. I have no ideas how can I make the image url to be "tenant aware url", laravel tenancy auto do suffixing when
tenant initialized, I am able to use using Storage::disk('public') to store the files, and tenant_asset
('app/public/...') to get a link to the asset. Maybe I need to rewrite the url Accessor and other url related
function in the Media model?Spatie media library. https://tenancyforlaravel.com/docs/v3/integrations/spatie