Download the PHP package amir94rp/laravel-file-manager without Composer
On this page you can find all versions of the php package amir94rp/laravel-file-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amir94rp/laravel-file-manager
More information about amir94rp/laravel-file-manager
Files in amir94rp/laravel-file-manager
Package laravel-file-manager
Short Description vue 3 laravel file manager
License MIT
Informations about the package laravel-file-manager
Laravel, Inertia Vue 3 Image Manager
This package is a simple image manager that allows you to upload your images, specify the name and format of the uploading files, create and delete folder.
In addition to storing the original image, this package stores 3 images in dimensions of 50%, 25% and 10% of the uploaded image. on selecting the image, you can choose one of these dimensions and specify an alt text.
Installation
Install ImageManager Laravel package
Publish config file
Link your storage
Install ImageManager Vue3 component
If you are using Tailwind V.2, add the module path to the Tailwind settings file (tailwind.config.js). In this module, we use aspect ratio and forms plugins, and you should add these to the plugins array.
If you are not interested in the above method or do not use Tailwind V.2, you can import the style file.
Usage/Examples
Available Props
Prop | Default | Description |
---|---|---|
open |
false |
Required. open and close the ImageManager |
multiple |
false |
active multiple image selecting |
select |
false |
active image size selecting |
alt |
false |
active image alt writing |
quality |
sm |
ImageManager preview quality. possible values : 'xl' , 'lg' , 'md' , 'sm' |
Events
Event | Type | Description |
---|---|---|
output |
String , Array , Object |
ImageMnager selected images output |