From 11b45e6100eceed8a600a1a81644ca6a4939b46e Mon Sep 17 00:00:00 2001 From: Andrew McIntosh Date: Fri, 7 Jan 2022 01:48:17 -0500 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20composer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set depedencies to stable versions - Fix badges and README instructions --- CHANGELOG.md | 2 ++ README.md | 4 ++-- composer.json | 13 +++++++------ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22144e4..2b70a2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,9 @@ ## Unreleased +- Add OAuth authentication methods - Add current user and identity model (identity, business, business membership) +- Set depedencies to stable versions ## 0.1.0 diff --git a/README.md b/README.md index 71929b5..51d57c5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # FreshBooks PHP SDK -![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/amcintosh/freshbooks?style=flat) +![Packagist PHP Version Support](https://badgen.net/packagist/v/amcintosh/freshbooks) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/amcintosh/freshbooks-php-sdk/Run%20Tests)](https://github.com/amcintosh/freshbooks-php-sdk/actions?query=workflow%3A%22Run+Tests%22) A FreshBooks PHP SDK to allow you to more easily utilize the [FreshBooks API](https://www.freshbooks.com/api). @@ -17,7 +17,7 @@ Requires a [PSR-18 implementation](https://packagist.org/providers/psr/http-clie not already have a compatible client, you can install one with it. ```shell -composer require amcintosh/freshbooks-php-sdk php-http/guzzle7-adapter +composer require amcintosh/freshbooks php-http/guzzle7-adapter ``` ## Usage diff --git a/composer.json b/composer.json index 81d3830..c621cb6 100644 --- a/composer.json +++ b/composer.json @@ -4,12 +4,12 @@ "type": "library", "require": { "php": "^8.0", - "php-http/client-common": "^2.4", + "php-http/client-common": "^2.5", "php-http/discovery": "^1.14", - "psr/http-client": "1.0.x-dev", - "psr/http-factory": "1.0.x-dev", - "spatie/data-transfer-object": "dev-main", - "spryker/decimal-object": "1.x-dev" + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0", + "spatie/data-transfer-object": "^3.7", + "spryker/decimal-object": "^1.0" }, "require-dev": { "phpunit/phpunit": "9.5.x-dev", @@ -36,5 +36,6 @@ "email": "andrew@amcintosh.net" } ], - "minimum-stability": "dev" + "minimum-stability": "dev", + "prefer-stable": true }