Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Mediaman Laravel Package

emaia/laravel-mediaman

Laravel MediaMan is a UI-agnostic media manager for Laravel. Upload files via a fluent MediaUploader, organize them into virtual collections, attach media to any model through polymorphic associations, tag by channels, and run automatic image conversions.

View on GitHub
Deep Wiki
Context7
v2.1.0

What's Changed

Added

  • MediaUploader::maxFileSize(int $bytes) and mediaman.max_file_size config (env MEDIAMAN_MAX_FILE_SIZE). 0 = unlimited.
  • FileSizeExceeded exception thrown when upload exceeds the limit.

Changed (potentially breaking)

  • MediaCollection::findByName() and Media::findByName() are now static methods (previously Eloquent scopes). Chained usage like MediaCollection::with('media')->findByName('x') no longer works — use MediaCollection::findByName('x') (lazy-loads relations).
  • WidthCalculator interface gained calculateWidthsFromBinary(string): Collection. Custom implementations must add this method.

Fixed

  • findByName('non-existent') now returns null instead of leaking a Builder (visible only when called from Media::fetchCollections).
  • Media::fetchCollections / MediaCollection::fetchMedia no longer throw TypeError when a BaseCollection contains integer ids.

Performance

  • HasMedia::syncMedia now uses bulk attach — N items = 1 INSERT instead of N.
  • Responsive image pipeline (generator + dimension calculation) no longer writes to sys_get_temp_dir. Bytes are read once and reused.

Full Changelog: https://github.com/emaia/laravel-mediaman/compare/v2.0.0...v2.1.0

v1.5.3
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium