Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Setup

```bash
composer install

npm 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