Download the PHP package yuyu-tech/file-manager without Composer
On this page you can find all versions of the php package yuyu-tech/file-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yuyu-tech/file-manager
More information about yuyu-tech/file-manager
Files in yuyu-tech/file-manager
Download yuyu-tech/file-manager
More information about yuyu-tech/file-manager
Files in yuyu-tech/file-manager
Vendor yuyu-tech
Package file-manager
Short Description Laravel package to manage storage and it's mapping
License MIT
Package file-manager
Short Description Laravel package to manage storage and it's mapping
License MIT
Keywords file managerlaravel
Please rate this library. Is it a good library?
Informations about the package file-manager
File Manager - Laravel Package
To manage storage access for s3 & local filesystem
Installation
How can we access it?
We can generate instance of FileManagerController using below ways.
-
Using Facade (FileManager)
-
Using Class (FileManagerController)
- Using app helper function (fileManager)
Store File
We can store eiter file content or UploadedFile object directly.
Store UploadFile Object
- Use storeFile method of FileManager instance for storing any attachment
- Input Parameters
- UploadFile Object
- Object with which it will be mapped.
- Relationship method name
- Storage path
- It will return an intance of Attachment.
- For Example:
Store Content
- Use storeContent method of FileManager instance for storing content.
- Input Parameters
- File Content
- Original file name
- Mime type
- File extension
- Object with which it will be mapped.
- Relationship method name
- Storage path
- It will return an intance of Attachment.
- For Example:
Generate Access Url
- We can generate either view or download URL for any attachment using getAccessUrl method of FileManager.
- Input Parameters
- Attachment ID
- Access URL Type: eiter "view" or "download", Default Value: "view"
- Expire After: Minutes after which URL will not be active. By default "1440" Minutes
- It will return URL
- For Example:
Note: Here we are not validating existance of an attachment while generating access url.
All versions of file-manager with dependencies
PHP Build Version
Package Version
Requires
spatie/image Version
*
The package yuyu-tech/file-manager contains the following files
Loading the files please wait ....