From 41e8564872bf5153d3291d778c2d45a4482a77e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Mon, 25 May 2020 18:51:44 +0200 Subject: [PATCH] MAPG-47 install romanpitak/php-rest-client --- composer.json | 5 +++-- composer.lock | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 49 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 8010c24..6325f0a 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,8 @@ "description": "MapGuesser Application", "license": "GNU GPL 3.0", "require": { - "vlucas/phpdotenv": "^4.1" + "vlucas/phpdotenv": "^4.1", + "romanpitak/php-rest-client": "^1.2" }, "require-dev": {}, "autoload": { @@ -17,4 +18,4 @@ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ] } -} \ No newline at end of file +} diff --git a/composer.lock b/composer.lock index 4bbcd4f..fc6069d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "29431cf83ee884f01ee954b1068c0ccc", + "content-hash": "3778b9431ef3d22705bdbf1653102a1a", "packages": [ { "name": "phpoption/phpoption", @@ -61,6 +61,51 @@ ], "time": "2020-03-21T18:07:53+00:00" }, + { + "name": "romanpitak/php-rest-client", + "version": "v1.2.1", + "source": { + "type": "git", + "url": "https://github.com/romanpitak/PHP-REST-Client.git", + "reference": "728b6c44040a13daeb8033953f5f3cdd3dde1980" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/romanpitak/PHP-REST-Client/zipball/728b6c44040a13daeb8033953f5f3cdd3dde1980", + "reference": "728b6c44040a13daeb8033953f5f3cdd3dde1980", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "RestClient\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Roman Piták", + "email": "roman@pitak.net", + "homepage": "http://pitak.net", + "role": "Developer" + } + ], + "description": "REST client library.", + "homepage": "https://github.com/romanpitak/PHP-REST-Client", + "keywords": [ + "client", + "http", + "rest" + ], + "time": "2015-02-19T15:32:16+00:00" + }, { "name": "symfony/polyfill-ctype", "version": "v1.17.0",