Skip to content

Commit

Permalink
Upgraded guzzlehttp and league/oauth2-client
Browse files Browse the repository at this point in the history
- Some fixes to support new versions of packages
- BC break: PHP 7.1 no longer supported
- Supported PHP: 7.2, 7.4, 8.0 and 8.1
- Improved example script
- Removed stupid test
  • Loading branch information
rajmundHutar committed May 30, 2022
1 parent 577f291 commit 599024d
Show file tree
Hide file tree
Showing 8 changed files with 1,691 additions and 667 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Mergado API Client for PHP

## Requirements:
**PHP**: 7.2 || 7.4 || 8.0 || 8.1

## Instalation:
``composer require mergado/mergado-api-client``
`composer require mergado/mergado-api-client`

## Usage
see `example/index.php`
see `example/index.php`
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "mergado/mergado-api-client",
"description": "Handles calls from Mergado Applications to Mergado API",
"minimum-stability": "dev",
"version": "1.2.0",
"minimum-stability": "stable",
"version": "2.0.0",
"license": "proprietary",
"authors": [
{
Expand All @@ -11,9 +11,9 @@
}
],
"require": {
"php": ">=7.1.0",
"league/oauth2-client": "^1.1",
"guzzlehttp/guzzle": "^6.1"
"php": "^7.2 || ^8.0",
"league/oauth2-client": "^2.0",
"guzzlehttp/guzzle": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "*"
Expand Down
Loading

0 comments on commit 599024d

Please sign in to comment.