diff --git a/README.md b/README.md index e025c6e..3eb0642 100755 --- a/README.md +++ b/README.md @@ -19,19 +19,10 @@ how to migrate from older versions please refer to the [changelog](CHANGELOG.md) #### PHP 8 #### Unfortunately, there is no official release of [facebook/graph-sdk](https://packagist.org/packages/facebook/graph-sdk) with support for PHP 8. -At your own risk, you can add an unoffical fork to your `composer.json` in your project root: -```json - "require": { - ... - "facebook/graph-sdk": "dev-php8 as 5.7-dev" - }, - ... - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/brainexe/php-graph-sdk.git" - } - ] +You can, however, require the third-party fork [nickdnk/graph-sdk](https://packagist.org/packages/nickdnk/graph-sdk) in your application, which added support for PHP 8 and acts as a drop-in-replacement. You might want to do this *before* installing this bundle, so that the installation won't fail. + +```console +$ composer require nickdnk/graph-sdk ``` Setup diff --git a/composer.json b/composer.json index e9f51bb..68c9f25 100755 --- a/composer.json +++ b/composer.json @@ -39,8 +39,8 @@ }, "require-dev": { "contao/manager-plugin": "^2.0", - "facebook/graph-sdk": "dev-php8 as 5.7-dev", "friendsofphp/php-cs-fixer": "^2.15", + "nickdnk/graph-sdk": "^6.0", "phpstan/extension-installer": "^1.0.1", "phpstan/phpstan": "^0.12", "phpstan/phpstan-doctrine": "^0.12", @@ -59,11 +59,5 @@ }, "config": { "sort-packages": true - }, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/brainexe/php-graph-sdk.git" - } - ] + } }