brackets / media
Associate files with Eloquent models
Installs: 205 588
Dependents: 2
Suggesters: 0
Security: 0
Stars: 8
Watchers: 3
Forks: 8
Open Issues: 1
Type:project
Requires
- php: ^8.0.2
- illuminate/support: ^9.0|^10.0
- spatie/laravel-medialibrary: ^10.0
Requires (Dev)
- orchestra/testbench: ^6.0|^7.0|^8.0
- phpunit/phpunit: ^9.0|^10.0
- dev-master / 7.1.x-dev
- v7.1.0
- 7.0.0
- 6.0.0
- 5.0.0
- v4.1.0
- v4.0.0
- v3.0.0
- v2.0.1
- v2.0.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-beta
- dev-Feat/Upgrade-Craftable-To-Laravel-10
- dev-update-max-file-size
- dev-laravel-9
- dev-laravel-8
- dev-laravel-7
- dev-laravel-6
- dev-release-v3.0
- dev-refactore-for-v3.0
- dev-laravel-58
- dev-code-style-fixes
- dev-release-v2.0
- dev-patch-91
- dev-media-update
- dev-release-3.0
- dev-upgrade-57
- dev-laravel-56
- dev-admin-ui-compatibility-fix
This package is auto-updated.
Last update: 2024-10-30 01:47:31 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.