Download the PHP package c4tech/upload without Composer
On this page you can find all versions of the php package c4tech/upload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download c4tech/upload
More information about c4tech/upload
Files in c4tech/upload
Download c4tech/upload
More information about c4tech/upload
Files in c4tech/upload
Vendor c4tech
Package upload
Short Description A basic package for handling uploaded files.
License MIT
Package upload
Short Description A basic package for handling uploaded files.
License MIT
Please rate this library. Is it a good library?
Informations about the package upload
Upload
File uploads are nice. We were processing uploaded files in so many applications, that it became easier to make a single, polymorphic relation for reuse across applications and entities.
What's in the box?
The Upload model is simple enough. It comes paired with traits, for both Models and Repositories, to provide the necessary functionality to relate to uploads.
Installation and setup
- Add
"c4tech/upload": "1.x"
to your composer requirements and runcomposer update
. - Add
C4tech\Upload\ServiceProvider
to your service providers config array. - Run
php artisan vendor:publish
to get the migrations. - Run
php artisan migrate
to set up the migrations. - (Optional) Edit
config/upload.php
and change entries inmodels
andrepos
to match your class names. - (Optional) Map the Repository Facades in your facades config array for fast access:
a.
"Upload" => "C4tech\Upload\Facade"
All versions of upload with dependencies
PHP Build Version
Package Version
The package c4tech/upload contains the following files
Loading the files please wait ....