Download the PHP package rawbinn/media without Composer
On this page you can find all versions of the php package rawbinn/media. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rawbinn/media
More information about rawbinn/media
Files in rawbinn/media
Informations about the package media
Rawbinn Media
A standalone media library for Laravel. Upload files, store metadata, generate image variants, and serve cached resized images.
Requirements
- PHP 8.3+
- Laravel 13+
- GD or Imagick (for image processing)
Installation
Laravel auto-registers the service provider and Media facade.
Quick start
1. Configure
2. Extend the model (optional)
Use media_model() anywhere you need the configured class:
3. Helpers
4. Image cache service
Routes
Routes are enabled by default and can be customized:
Admin routes:
POST admin/filemanager/uploadGET admin/filemanager/filesGET admin/filemanager/download/{id}DELETE admin/filemanager/{id}POST admin/image/upload
Public cache route:
GET image/{path}/{dimension?}
Disable all package routes:
Security
When signed_downloads is enabled, generate temporary links with:
Events
Listen for package lifecycle hooks:
File manager UI
The bundled uploader uses rawbinn-* class names. Legacy Larapress views using data-toggle="seshra-uploader" remain supported.
Publishing
| Tag | Description |
|---|---|
media-config |
Publish config/media.php |
media-assets |
Publish file manager CSS/JS to public/vendor/rawbinn/media/assets |
Testing
From the package directory:
From the monorepo root:
Larapress integration
Larapress consumes this package for admin media management. Set Larapress-specific middleware in your published config:
License
MIT. See LICENSE.
All versions of media with dependencies
illuminate/config Version ^13.0
illuminate/database Version ^13.0
illuminate/filesystem Version ^13.0
illuminate/http Version ^13.0
illuminate/routing Version ^13.0
illuminate/support Version ^13.0
intervention/image Version ^3.0