library upload
A basic package for handling uploaded files.
c4tech/upload
A basic package for handling uploaded files.
- Wednesday, October 7, 2015
- by impleri
- Repository
- 3 Watchers
- 0 Stars
- 117 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
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., (*1)
, (*2)
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., (*3)
Installation and setup
- Add
"c4tech/upload": "1.x"
to your composer requirements and run composer 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 in models
and repos
to match your class names.
- (Optional) Map the Repository Facades in your facades config array for fast access:
a.
"Upload" => "C4tech\Upload\Facade"
dev-master
9999999-dev
A basic package for handling uploaded files.
Sources
Download
MIT
The Requires
The Development Requires
by
Marcus Amargi
by
Christopher Roussel
by
Alton Torregano
1.0.1
1.0.1.0
A basic package for handling uploaded files.
Sources
Download
MIT
The Requires
The Development Requires
by
Marcus Amargi
by
Christopher Roussel
by
Alton Torregano
1.0.0
1.0.0.0
A basic package for handling uploaded files.
Sources
Download
MIT
The Requires
The Development Requires
by
Marcus Amargi
by
Christopher Roussel
by
Alton Torregano