Download the PHP package inwave/laravel-uploadcare without Composer
On this page you can find all versions of the php package inwave/laravel-uploadcare. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download inwave/laravel-uploadcare
More information about inwave/laravel-uploadcare
Files in inwave/laravel-uploadcare
Package laravel-uploadcare
Short Description Laravel Serviceprovider for Uploadcare
License MIT
Homepage https://github.com/InWave/laravel-uploadcare.git
Informations about the package laravel-uploadcare
Uploadcare for Laravel
This is a simple Laravel service provider for Uploadcare's official PHP library. It is a fork from altitude/laravel-uploadcare and the pull request from dimaninc to make it compatible with Laravel 5. This package is now maintained by me.
Installation after laravel 5.5
- install package by composer:
This package will auto discover itself, therefore there is no need to add files to the app.php. Further more it will also autodiscover it's dependencies.
-
Publish the config file:
- Add the required config variables in the .env file:
Installation pre laravel 5.5
First, add this to your composer.json
file
Then, create config/uploadcare.php
with the following
Best practice would be to put the keys in your .ENV file.
Finally, add the service provider and alias in your config/app.php
And you should be good to go.
Example
This Service extends Uploadcare's API class so you can use any of its methods.
It also provides the form macro Form::uploadcare($field_name, $value = null, $options = array())
.
app/Http/routes.php
resources/views/demo/demo.blade.php
For more information, please check the offical documentation
License
All versions of laravel-uploadcare with dependencies
laravel/framework Version >=5.5.0
laravelcollective/html Version >=5.5.0
uploadcare/uploadcare-php Version >=v1.1.0