diff --git a/README.md b/README.md index a17f9d7..fee1aaa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -> **⚠️ This client is deprecated ⚠️** +> **⚠️ This client is abandoned ⚠️** +> +> This package is here purely to serve the [Elastic App Search](https://github.com/elastic/app-search-php) with PHP 8 as an allowed platform requirement +> +> All credit and praise goes to the contributors of [Elastic App Search](https://github.com/elastic/app-search-php) > > As of Enterprise Search version 7.13.0, we are directing users to the new [Enterprise Search PHP Client](https://github.com/elastic/enterprise-search-php) and > deprecating this client. diff --git a/composer.json b/composer.json index d1a1e68..b17e94f 100644 --- a/composer.json +++ b/composer.json @@ -1,35 +1,37 @@ { - "name" : "elastic/app-search", - "description" : "Elastic App Search Official PHP Client", - "homepage": "https://github.com/elastic/app-search-php", - "keywords" : [ + "name": "silverstripe-terraformers/app-search-php-8", + "description": "Elastic App Search PHP Client", + "keywords": [ "search", "client", "elastic", "php" ], - "license" : "Apache-2.0", - "type" : "library", - "authors" : [ - {"name" : "Aurélien FOUCRET", "email": "aurelien.foucret@elastic.co"} + "license": "Apache-2.0", + "type": "library", + "authors": [ + { + "name": "Aurélien FOUCRET", + "email": "aurelien.foucret@elastic.co" + } ], - "require" : { - "php" : "^5.6|^7.0", - "elastic/openapi-codegen" : "^1.0.4", - "psr/log" : "^1.0." + "require": { + "php": ">=7.0", + "silverstripe-terraformers/openapi-codegen-php-8": "dev-master", + "psr/log": "^1.0." }, - "require-dev" : { - "phpunit/phpunit" : "^5.6.0|^6.3.0", - "squizlabs/php_codesniffer" : "^3.4.0", - "symfony/yaml" : "*", + "require-dev": { + "phpunit/phpunit": "^5.6.0|^6.3.0", + "squizlabs/php_codesniffer": "^3.4.0", + "symfony/yaml": "*", "friendsofphp/php-cs-fixer": "^2.14", "overtrue/phplint": "^1.1" }, - "autoload" : { - "psr-4" : { - "Elastic\\AppSearch\\Client\\" : "" + "autoload": { + "psr-4": { + "Elastic\\AppSearch\\Client\\": "" }, - "exclude-from-classmap" : [ + "exclude-from-classmap": [ "/Tests/" ] }