thinktomorrow / assetlibrary
An extension on top of Spatie/laravel-medialibrary which allows to attach an asset on multiple models. Also ocalized assets are supported.
1.0.3
2026-06-08 14:11 UTC
Requires
- php: >=8.3
- spatie/image: ^3.7
- spatie/laravel-medialibrary: ^11.11.1
Requires (Dev)
- larastan/larastan: ^3.0
- nesbot/carbon: ^3.8
- orchestra/testbench: >9.9
- phpunit/phpunit: ^12.5
This package is auto-updated.
Last update: 2026-06-08 14:12:27 UTC
README
[![Latest Version on Packagist][ico-version]][link-packagist] ![Software License][ico-license]
Assetlibrary is a intermediate for the Spatie medialibrary package.
- It allows to attach an asset to multiple models.
- An asset can contain model specific data.
- It also allows to attach assets per locale.
Install
Via Composer
$ composer require thinktomorrow/assetlibrary
Resources
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email ben@thinktomorrow.be instead of using the issue tracker.
Credits
- [All Contributors][link-contributors]
License
The MIT License (MIT). Please see License File for more information.