laravision / uploader
Uploader files system
dev-master
2017-07-18 04:42 UTC
This package is not auto-updated.
Last update: 2024-11-10 04:12:14 UTC
README
This package expects that you are using Laravel 5.1 or above.
Install
In order to install Laravel 5 Laravision Uploader :
- You will need to import the laravision/uploader package via composer:
composer require laravision/uploader
- Add the service provider to your
config/app.php
file within theproviders
key:
// ... 'providers' => [ /* * Package Service Providers... */ Laravision\Uploader\UploaderServiceProvider::class, ], // ...
- Add the aliases to your
config/app.php
file within thealiases
key:
// ... 'aliases' => [ /* * Package Class Aliases... */ 'Uploader' => Laravision\Uploader\UploaderFacade::class, ], // ...
Usage
- Upload file named picture :
public function store(Request $img){ //... $uploader = Uploader::run($img->file('picture')); //... }
License
Laravision Visiteur is free and open-sourced software distributed under the terms of the MIT license.
Note
Please report any issue you find in the issues page.
Pull requests are welcome.