Download the PHP package shortcodes/files-upload without Composer
On this page you can find all versions of the php package shortcodes/files-upload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download shortcodes/files-upload
More information about shortcodes/files-upload
Files in shortcodes/files-upload
Download shortcodes/files-upload
More information about shortcodes/files-upload
Files in shortcodes/files-upload
Vendor shortcodes
Package files-upload
Short Description Allows to easly upload files and store in tmp dir
License mit
Package files-upload
Short Description Allows to easly upload files and store in tmp dir
License mit
Please rate this library. Is it a good library?
Informations about the package files-upload
Files upload
Package is created for speedup managing upload of files to Larave storage
Install
composer require shortcodes/files-upload
Usage
Below there is a list of instructions how to use package
Settings
Publish config file of module
php artisan vendor:publish --provider="Shortcodes\FilesUpload\FilesUploadPackageProvider"
Now you can modify settings of module in
Routes
Add package routes to your routes file using predefined method:
Route::uploadRoutes()
It creates two routes
POST /files - to add new files to tmp directory and
GET /files/{url} - to view files
If file is image you can generate thumbnail using request query string parameters and
Model
To be able to use package in module it is nessesary to add trait to model
class YourModel extends Model{
use CanUploadFiles;
...
}
And provide property as array of fields that can be uploadable
All versions of files-upload with dependencies
PHP Build Version
Package Version
The package shortcodes/files-upload contains the following files
Loading the files please wait ....