Download the PHP package profscode/media-management without Composer
On this page you can find all versions of the php package profscode/media-management. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download profscode/media-management
More information about profscode/media-management
Files in profscode/media-management
Download profscode/media-management
More information about profscode/media-management
Files in profscode/media-management
Vendor profscode
Package media-management
Short Description Profscode Media Management is a streamlined media handling package designed to intelligently process, store, and retrieve uploaded images. It can automatically resize images during upload, generate multiple variations, optimize file names, and associate media with models for easy access. Inspired by Spatie’s Media Library, it offers a similar developer experience with a simpler, more extensible structure tailored to project-specific needs.
License MIT
Package media-management
Short Description Profscode Media Management is a streamlined media handling package designed to intelligently process, store, and retrieve uploaded images. It can automatically resize images during upload, generate multiple variations, optimize file names, and associate media with models for easy access. Inspired by Spatie’s Media Library, it offers a similar developer experience with a simpler, more extensible structure tailored to project-specific needs.
License MIT
Please rate this library. Is it a good library?
Informations about the package media-management
What Is Profscode Media Management?
This package provides media/file management for your Laravel models. It stores files in a model-based directory structure, generates conversions (thumbnails/webp), and provides convenient URL access.
Installation
1. Use Trait in Your Model
ProfscodeMedia Model Structure
This model keeps metadata about uploaded media files.
Fields
| Field | Description |
|---|---|
| model_id | Related model ID |
| model_type | Model class name |
| collection | Collection name (avatar, gallery, etc.) |
| original_name | Original uploaded filename |
| name | Stored filename |
| mime_type | MIME type |
| disk | Laravel storage disk |
| size | File size |
| conversions | JSON containing thumbnails and webp paths |
addMediaFromRequest Usage
Requires:
Optional conversion structure:
addMediaFromUrl Usage
or
Retrieving Media (Relation)
retrive Media as Collection
getUrl Usage
Original URL:
Thumbnail or WebP:
getFirstMediaUrl Usage
Storage Structure
License
MIT © Profscode
Support
For issues, please open a GitHub Issue.
All versions of media-management with dependencies
PHP Build Version
Package Version
The package profscode/media-management contains the following files
Loading the files please wait ...