craftable / media
Associate files with Eloquent models
v3.0.6
2019-07-06 10:02 UTC
Requires
- php: ^7.0
- craftable/admin-auth: ^3.0
- illuminate/support: 5.8.*
- spatie/laravel-medialibrary: ^7.0
Requires (Dev)
- orchestra/testbench: ^3.5|~3.6|~3.7
- phpunit/phpunit: ^6.3|~7.0
This package is auto-updated.
Last update: 2024-11-06 21:46:48 UTC
README
This packages adds an ability to assign a media to your eloquent models. It uses Spatie's spatie/laravel-medialibrary
, but it goes a bit further:
- Collections definition - inspired by the conversions definition, we have created Media Collections definition via similar fluent API
- Auto-Process - saving the eloquent model automatically processes and attaches media collections from the request
- Authorization - controls, who has the permission to attach specific medium to specific model
- Private access - controls, who has the permission to view specific medium
You can find full documentation at https://docs.getcraftable.com/#/media.