Download the PHP package gigcodes/asset-manager without Composer
On this page you can find all versions of the php package gigcodes/asset-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gigcodes/asset-manager
More information about gigcodes/asset-manager
Files in gigcodes/asset-manager
Package asset-manager
Short Description Asset Manager Laravel package for Gigcodes UI Library
License MIT
Informations about the package asset-manager
GIGCODES Asset Manager
Gigcodes - Asset Manager is a package for easily uploading and attaching media files to models with Laravel.
Features
- Filesystem-driven approach is easily configurable to allow any number of upload directories with different accessibility. Easily restrict uploads by MIME type, extension and/or aggregate type (e.g.
image
for JPEG, PNG or GIF). - Many-to-many polymorphic relationships allow any number of media to be assigned to any number of other models without any need to modify their schema.
- Attach media to models with tags, in order to set and retrieve media for specific purposes, such as
'thumbnail'
,'featured image'
,'gallery'
or'download'
. - Integrated support for integration/image for manipulating image files to create variants for different use cases.
Example Usage
Upload a file to the server, and place it in a directory on the filesystem disk named "uploads". This will create a Media record that can be used to refer to the file.
Attach the Media to another eloquent model with one or more tags defining their relationship.
Retrieve the media from the model by its tag(s).
Installation
Add the package to your Laravel app using composer
Publish the config file (config/asset_manager.php
) of the package using artisan.
Run the migrations to add the required tables to your database.
Documentation
Read the documentation here.
License
This package is released under the MIT license (MIT).
All versions of asset-manager with dependencies
aws/aws-sdk-php Version ^3.222
gabrielelana/byte-units Version ^0.5.0
intervention/image Version ^2.7
spatie/laravel-queueable-action Version ^2.14