Skip to content

Commit

Permalink
remove guzzle and psr7 implementation from dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
josiasmontag committed Jun 21, 2019
1 parent bb1fdf1 commit aaa63c6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -17,6 +17,20 @@ You can install the package via composer:

composer require cloudconvert/cloudconvert-laravel

This package (`cloudconvert/cloudconvert-php`) is not tied to any specific library that sends HTTP messages. Instead,
it uses [Httplug](https://github.com/php-http/httplug) to let users choose whichever
PSR-7 implementation and HTTP client they want to use.

If you just want to get started quickly you should run the following command:


composer require cloudconvert/cloudconvert-laravel php-http/guzzle6-adapter guzzlehttp/psr7


This will install the library itself along with an HTTP client adapter that uses
Guzzle as transport method (provided by Httplug) and a PSR-7 implementation
(provided by Guzzle).


Next you must publish the config file.

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -16,14 +16,14 @@
"illuminate/http": "~5.8.0",
"illuminate/routing": "~5.8.0",
"cloudconvert/cloudconvert-php": "v3.x-dev",
"php-http/guzzle6-adapter": "^2.0",
"guzzlehttp/psr7": "^1.5",
"symfony/psr-http-message-bridge": "^1.2",
"zendframework/zend-diactoros": "^2.1"
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"orchestra/testbench": "~3.8.0"
"orchestra/testbench": "~3.8.0",
"php-http/guzzle6-adapter": "^2.0",
"guzzlehttp/psr7": "^1.5"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit aaa63c6

Please sign in to comment.