-
-
-
-
-
-
-
- User Uploads
- [docs ]:
-
-
- {# [START user_upload_form] #}
-
- {# [END user_upload_form] #}
-
-
-
-
-
-
diff --git a/appengine/standard/storage/test/LocalTest.php b/appengine/standard/storage/test/LocalTest.php
deleted file mode 100644
index 2437a0384d..0000000000
--- a/appengine/standard/storage/test/LocalTest.php
+++ /dev/null
@@ -1,242 +0,0 @@
-createClient();
-
- $crawler = $client->request('GET', '/');
-
- $this->assertTrue($client->getResponse()->isOk());
- }
-
- public function testRead()
- {
- $client = $this->createClient();
-
- $crawler = $client->request('GET', '/file.txt');
- $response = $client->getResponse();
-
- $this->assertTrue($response->isOk());
- $fileTxt = file_get_contents(__DIR__ . '/../file.txt');
-
- $this->assertEquals($response->getContent(), $fileTxt);
- }
-
- public function testWrite()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('POST', '/write', [
- 'content' => sprintf('doot doot (%s)', $time),
- ]);
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
-
- $crawler = $client->followRedirect();
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $this->assertContains($time, $response->getContent());
- }
-
- public function testWriteOptions()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('POST', '/write/options', [
- 'content' => sprintf('doot doot (%s)', $time),
- ]);
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
-
- $crawler = $client->followRedirect();
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $this->assertContains($time, $response->getContent());
- }
-
- public function testWriteStream()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('POST', '/write/stream', [
- 'content' => sprintf('doot doot (%s)', $time),
- ]);
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
-
- $crawler = $client->followRedirect();
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $this->assertContains($time, $response->getContent());
- }
-
- public function testWriteCaching()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('POST', '/write/caching', [
- 'content' => sprintf('doot doot (%s)', $time),
- ]);
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
-
- $crawler = $client->followRedirect();
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $this->assertContains($time, $response->getContent());
- }
-
- public function testWriteMetadata()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('POST', '/write/metadata', [
- 'content' => sprintf('doot doot (%s)', $time),
- ]);
- CloudStorageTools::$metadata = ['foo' => 'bar'];
- CloudStorageTools::$contentType = 'text/plain';
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
-
- $crawler = $client->followRedirect();
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $content = $response->getContent();
- $this->assertContains($time, $content);
- $this->assertContains(CloudStorageTools::$contentType, $content);
- $this->assertTrue(count(CloudStorageTools::$metadata) > 0);
- foreach (CloudStorageTools::$metadata as $key => $value) {
- $this->assertContains($key, $content);
- $this->assertContains($value, $content);
- }
- }
-
- public function testWriteDefault()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('POST', '/write/default', [
- 'content' => sprintf('doot doot (%s)', $time),
- ]);
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
-
- $crawler = $client->followRedirect();
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $this->assertContains($time, $response->getContent());
- }
-
- public function testWriteDefaultStream()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('POST', '/write/default/stream', [
- 'content' => sprintf('doot doot (%s)', $time),
- ]);
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
-
- $crawler = $client->followRedirect();
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $this->assertContains($time, $response->getContent());
- }
-
- public function testServe()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('GET', '/serve');
-
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $this->assertContains('This is the contents of a file', CloudStorageTools::$served);
- }
-
- public function testWritePublic()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('GET', '/write/public');
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
- $url = $response->headers->get('Location');
- $this->assertFalse(empty($url));
- $this->assertEquals($url, CloudStorageTools::$publicUrl);
- }
-
- public function testServeImage()
- {
- $client = $this->createClient();
-
- $time = date('Y-m-d H:i:s');
- $crawler = $client->request('GET', '/serve/image');
-
- $response = $client->getResponse();
- $this->assertEquals(302, $response->getStatusCode());
- $url = $response->headers->get('Location');
- $this->assertFalse(empty($url));
- $this->assertEquals($url, CloudStorageTools::$imageUrl);
- $this->assertEquals(['size' => 400, 'crop' => true], CloudStorageTools::$imageOptions);
- }
-}
diff --git a/appengine/standard/storage/test/bootstrap.php b/appengine/standard/storage/test/bootstrap.php
deleted file mode 100644
index ca9b766890..0000000000
--- a/appengine/standard/storage/test/bootstrap.php
+++ /dev/null
@@ -1,19 +0,0 @@
- 0,
- 'ino' => 0,
- 'mode' => 'r',
- 'nlink' => 0,
- 'uid' => getmyuid(),
- 'gid' => getmygid(),
- 'rdev' => 0,
- 'size' => $size,
- 'atime' => time(),
- 'mtime' => time(),
- 'ctime' => time(),
- 'blksize' => -1,
- 'blocks' => -1
- ];
- }
-
- public function stream_write($data)
- {
- self::$data[self::$path] = $data;
- return strlen($data);
- }
-}
diff --git a/appengine/standard/storage/test/mocks/CloudStorageTools.php b/appengine/standard/storage/test/mocks/CloudStorageTools.php
deleted file mode 100644
index b7f26ceda7..0000000000
--- a/appengine/standard/storage/test/mocks/CloudStorageTools.php
+++ /dev/null
@@ -1,65 +0,0 @@
-get('/', function () use ($app) {
- // [START add_task]
- $task = new PushTask(
- '/worker',
- ['name' => 'john doe', 'action' => 'send_reminder']);
- $task_name = $task->add();
- // [END add_task]
- // [START add_tasks]
- $task1 = new PushTask('/someUrl');
- $task2 = new PushTask('/someOtherUrl');
- $queue = new PushQueue();
- $queue->addTasks([$task1, $task2]);
- // [END add_tasks]
- // [START url_endpoints]
- (new PushTask('/path/to/my/worker', ['data_for_task' => 1234]))->add();
- // [END url_endpoints]
- return 'A task ' . $task_name . ' added.';
-});
-
-$app->post('/worker', function (Request $req) use ($app) {
- return 'name: ' . $req->get('name') . "\n"
- . 'action: ' . $req->get('action');
-});
-
-$app->post('/someUrl', function (Request $req) use ($app) {
- return 'Ok';
-});
-
-$app->post('/someOtherUrl', function (Request $req) use ($app) {
- return 'Ok';
-});
-
-$app->post('/path/to/my/worker', function (Request $req) use ($app) {
- return 'Ok';
-});
-
-return $app;
diff --git a/appengine/standard/taskqueue/app.yaml b/appengine/standard/taskqueue/app.yaml
deleted file mode 100644
index 591a389720..0000000000
--- a/appengine/standard/taskqueue/app.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-# [START admin_protection]
-runtime: php55
-api_version: 1
-threadsafe: yes
-
-handlers:
-- url: /tasks/process
- script: process.php
- login: admin
-# [END admin_protection]
-- url: /.*
- script: index.php
diff --git a/appengine/standard/taskqueue/composer.json b/appengine/standard/taskqueue/composer.json
deleted file mode 100644
index 091ef95c48..0000000000
--- a/appengine/standard/taskqueue/composer.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "require": {
- "silex/silex": "^1.3"
- },
- "require-dev": {
- "guzzlehttp/guzzle": "~6.0",
- "phpunit/phpunit": "~4",
- "symfony/browser-kit": "~3",
- "symfony/process": "~3"
- },
- "autoload": {
- "psr-4": { "Google\\Cloud\\Test\\": "tests/" }
- }
-}
diff --git a/appengine/standard/taskqueue/composer.lock b/appengine/standard/taskqueue/composer.lock
deleted file mode 100644
index 4df10678ef..0000000000
--- a/appengine/standard/taskqueue/composer.lock
+++ /dev/null
@@ -1,2081 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "c04b151d9ceff520c9a1412ad02e672e",
- "packages": [
- {
- "name": "pimple/pimple",
- "version": "v1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/silexphp/Pimple.git",
- "reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/silexphp/Pimple/zipball/2019c145fe393923f3441b23f29bbdfaa5c58c4d",
- "reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Pimple": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- }
- ],
- "description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
- "homepage": "http://pimple.sensiolabs.org/",
- "keywords": [
- "container",
- "dependency injection"
- ],
- "time": "2013-11-22T08:30:29+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "silex/silex",
- "version": "v1.3.5",
- "source": {
- "type": "git",
- "url": "https://github.com/silexphp/Silex.git",
- "reference": "374c7e04040a6f781c90f7d746726a5daa78e783"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/silexphp/Silex/zipball/374c7e04040a6f781c90f7d746726a5daa78e783",
- "reference": "374c7e04040a6f781c90f7d746726a5daa78e783",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "pimple/pimple": "~1.0",
- "symfony/event-dispatcher": "~2.3|3.0.*",
- "symfony/http-foundation": "~2.3|3.0.*",
- "symfony/http-kernel": "~2.3|3.0.*",
- "symfony/routing": "~2.3|3.0.*"
- },
- "require-dev": {
- "doctrine/dbal": "~2.2",
- "monolog/monolog": "^1.4.1",
- "swiftmailer/swiftmailer": "~5",
- "symfony/browser-kit": "~2.3|3.0.*",
- "symfony/config": "~2.3|3.0.*",
- "symfony/css-selector": "~2.3|3.0.*",
- "symfony/debug": "~2.3|3.0.*",
- "symfony/dom-crawler": "~2.3|3.0.*",
- "symfony/finder": "~2.3|3.0.*",
- "symfony/form": "~2.3|3.0.*",
- "symfony/locale": "~2.3|3.0.*",
- "symfony/monolog-bridge": "~2.3|3.0.*",
- "symfony/options-resolver": "~2.3|3.0.*",
- "symfony/phpunit-bridge": "~2.7",
- "symfony/process": "~2.3|3.0.*",
- "symfony/security": "~2.3|3.0.*",
- "symfony/serializer": "~2.3|3.0.*",
- "symfony/translation": "~2.3|3.0.*",
- "symfony/twig-bridge": "~2.3|3.0.*",
- "symfony/validator": "~2.3|3.0.*",
- "twig/twig": "~1.8|~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Silex\\": "src/Silex"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Igor Wiedler",
- "email": "igor@wiedler.ch"
- }
- ],
- "description": "The PHP micro-framework based on the Symfony Components",
- "homepage": "http://silex.sensiolabs.org/",
- "keywords": [
- "microframework"
- ],
- "time": "2016-01-06T14:59:35+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/56f613406446a4a0a031475cfd0a01751de22659",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-28T21:38:24+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00",
- "reference": "54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-19T10:44:15+00:00"
- },
- {
- "name": "symfony/http-foundation",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-foundation.git",
- "reference": "49ba00f8ede742169cb6b70abe33243f4d673f82"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49ba00f8ede742169cb6b70abe33243f4d673f82",
- "reference": "49ba00f8ede742169cb6b70abe33243f4d673f82",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.1"
- },
- "require-dev": {
- "symfony/expression-language": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpFoundation\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpFoundation Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-17T13:54:30+00:00"
- },
- {
- "name": "symfony/http-kernel",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-kernel.git",
- "reference": "d97ba4425e36e79c794e7d14ff36f00f081b37b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d97ba4425e36e79c794e7d14ff36f00f081b37b3",
- "reference": "d97ba4425e36e79c794e7d14ff36f00f081b37b3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0",
- "symfony/debug": "~2.8|~3.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8.8|~3.0.8|~3.1.2|~3.2"
- },
- "conflict": {
- "symfony/config": "<2.8"
- },
- "require-dev": {
- "symfony/browser-kit": "~2.8|~3.0",
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/console": "~2.8|~3.0",
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/dom-crawler": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/finder": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0",
- "symfony/routing": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0",
- "symfony/templating": "~2.8|~3.0",
- "symfony/translation": "~2.8|~3.0",
- "symfony/var-dumper": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/browser-kit": "",
- "symfony/class-loader": "",
- "symfony/config": "",
- "symfony/console": "",
- "symfony/dependency-injection": "",
- "symfony/finder": "",
- "symfony/var-dumper": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpKernel\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpKernel Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-30T09:10:37+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2016-11-14T01:06:16+00:00"
- },
- {
- "name": "symfony/routing",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/routing.git",
- "reference": "9038984bd9c05ab07280121e9e10f61a7231457b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/9038984bd9c05ab07280121e9e10f61a7231457b",
- "reference": "9038984bd9c05ab07280121e9e10f61a7231457b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "conflict": {
- "symfony/config": "<2.8"
- },
- "require-dev": {
- "doctrine/annotations": "~1.0",
- "doctrine/common": "~2.2",
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8|~3.0",
- "symfony/yaml": "~2.8|~3.0"
- },
- "suggest": {
- "doctrine/annotations": "For using the annotation loader",
- "symfony/config": "For using the all-in-one router or any loader",
- "symfony/dependency-injection": "For loading routes from a service",
- "symfony/expression-language": "For using expression matching",
- "symfony/http-foundation": "For using a Symfony Request object",
- "symfony/yaml": "For using the YAML loader"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Routing\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Routing Component",
- "homepage": "https://symfony.com/",
- "keywords": [
- "router",
- "routing",
- "uri",
- "url"
- ],
- "time": "2016-06-29T05:40:00+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/dom-crawler": "~2.8|~3.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "57fdaa55827ae14d617550ebe71a820f0a5e2282"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/57fdaa55827ae14d617550ebe71a820f0a5e2282",
- "reference": "57fdaa55827ae14d617550ebe71a820f0a5e2282",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-27T18:07:02+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/appengine/standard/taskqueue/index.php b/appengine/standard/taskqueue/index.php
deleted file mode 100644
index bf95d13ae9..0000000000
--- a/appengine/standard/taskqueue/index.php
+++ /dev/null
@@ -1,28 +0,0 @@
-run();
diff --git a/appengine/standard/taskqueue/phpunit.xml.dist b/appengine/standard/taskqueue/phpunit.xml.dist
deleted file mode 100644
index 934a552e86..0000000000
--- a/appengine/standard/taskqueue/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- app.php
-
-
-
diff --git a/appengine/standard/taskqueue/test/bootstrap.php b/appengine/standard/taskqueue/test/bootstrap.php
deleted file mode 100644
index ccb70c6f08..0000000000
--- a/appengine/standard/taskqueue/test/bootstrap.php
+++ /dev/null
@@ -1,20 +0,0 @@
-createClient();
- $crawler = $client->request('GET', '/');
- $this->assertTrue($client->getResponse()->isOk());
- $this->assertContains(
- 'A task task0 added.',
- $client->getResponse()->getContent());
- $this->assertEquals(4, count(PushTask::$tasks));
- $this->assertEquals(4, count(PushTask::$added));
- foreach (PushTask::$added as $added) {
- $this->assertTrue($added);
- }
- }
-
- public function testWorker()
- {
- $client = $this->createClient();
- $crawler = $client->request('POST', '/worker');
- $this->assertTrue($client->getResponse()->isOk());
- }
-
- public function testSomeUrl()
- {
- $client = $this->createClient();
- $crawler = $client->request('POST', '/someUrl');
- $this->assertTrue($client->getResponse()->isOk());
- }
-
- public function testSomeOtherUrl()
- {
- $client = $this->createClient();
- $crawler = $client->request('POST', '/someOtherUrl');
- $this->assertTrue($client->getResponse()->isOk());
- }
-
- public function testMyWorker()
- {
- $client = $this->createClient();
- $crawler = $client->request('POST', '/path/to/my/worker');
- $this->assertTrue($client->getResponse()->isOk());
- }
-}
diff --git a/appengine/standard/taskqueue/test/unit/mocks/PushQueue.php b/appengine/standard/taskqueue/test/unit/mocks/PushQueue.php
deleted file mode 100644
index 826b728303..0000000000
--- a/appengine/standard/taskqueue/test/unit/mocks/PushQueue.php
+++ /dev/null
@@ -1,35 +0,0 @@
-add();
- }
- }
-}
diff --git a/appengine/standard/taskqueue/test/unit/mocks/PushTask.php b/appengine/standard/taskqueue/test/unit/mocks/PushTask.php
deleted file mode 100644
index 6d91dd692e..0000000000
--- a/appengine/standard/taskqueue/test/unit/mocks/PushTask.php
+++ /dev/null
@@ -1,48 +0,0 @@
-url = $url;
- $this->options = $options;
- $this->index = count(self::$tasks);
- self::$tasks[] = $this;
- self::$added[$this->index] = false;
- }
-
- public function add()
- {
- self::$added[$this->index] = true;
- return 'task' . $this->index;
- }
-}
diff --git a/appengine/standard/twilio/README.md b/appengine/standard/twilio/README.md
deleted file mode 100644
index 4f76713c89..0000000000
--- a/appengine/standard/twilio/README.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# Twilio & Google App Engine (Standard)
-
-This sample application demonstrates how to use [Twilio with Google App Engine](https://cloud.google.com/appengine/docs/php/sms/twilio).
-
-## Setup
-
-Before running this sample:
-
-1. You will need a [Twilio account](https://www.twilio.com/user/account).
-1. Update `TWILIO_ACCOUNT_SID` and `TWILIO_AUTH_TOKEN` in `index.php` to match your
- Twilio credentials. These can be found in your [account settings]
- (https://www.twilio.com/user/account/settings)
-1. Update `TWILIO_FROM_NUMBER` in `index.php` with a number you have authorized
- for sending messages. Follow [Twilio's documentation]
- (https://www.twilio.com/user/account/phone-numbers/getting-started) to set
- this up.
-
-## Prerequisites
-
-- Install [`composer`](https://getcomposer.org)
-- Install dependencies by running:
-
-```sh
-composer install
-```
-
-## Run locally
-
-you can run locally using PHP's built-in web server:
-
-```sh
-cd php-docs-samples/appengine/standard/twilio
-php -S localhost:8080
-```
-
-Now you can view the app running at [http://localhost:8080](http://localhost:8080)
-in your browser.
-
-## Deploy to App Engine
-
-**Prerequisites**
-
-- Install the [Google Cloud SDK](https://developers.google.com/cloud/sdk/).
-
-**Deploy with gcloud**
-
-```
-gcloud config set project YOUR_PROJECT_ID
-gcloud app deploy
-gcloud app browse
-```
-
-The last command will open `https://{YOUR_PROJECT_ID}.appspot.com/`
-in your browser.
diff --git a/appengine/standard/twilio/app.php b/appengine/standard/twilio/app.php
deleted file mode 100644
index c84a014ba9..0000000000
--- a/appengine/standard/twilio/app.php
+++ /dev/null
@@ -1,52 +0,0 @@
-get('/', function () use ($app) {
- if ($app['twilio.account_sid'] == 'TWILIO_ACCOUNT_SID') {
- return 'set your Twilio SID and Auth Token in
index.php';
- }
- $sid = $app['twilio.account_sid'];
- $token = $app['twilio.auth_token'];
- $fromNumber = $app['twilio.from_number'];
- $toNumber = $app['twilio.to_number'];
-
- # [START send_sms]
- $client = new Services_Twilio($sid, $token);
- $sms = $client->account->messages->sendMessage(
- $fromNumber, // From this number
- $toNumber, // Send to this number
- 'Hello monkey!!'
- );
-
- return sprintf('Message ID: %s, Message Body: %s', $sms->sid, $sms->body);
- # [END send_sms]
-});
-
-$app->post('/twiml', function () {
- # [START twiml]
- $response = new Services_Twilio_Twiml();
- $response->say('Hello Monkey');
-
- return (string) $response;
- # [END twiml]
-});
-
-return $app;
diff --git a/appengine/standard/twilio/app.yaml b/appengine/standard/twilio/app.yaml
deleted file mode 100644
index 4430f23dd5..0000000000
--- a/appengine/standard/twilio/app.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-runtime: php55
-api_version: 1
-threadsafe: true
-
-handlers:
-- url: /.*
- script: index.php
diff --git a/appengine/standard/twilio/composer.json b/appengine/standard/twilio/composer.json
deleted file mode 100644
index 518ad67ec3..0000000000
--- a/appengine/standard/twilio/composer.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "require": {
- "twilio/sdk": "^4.10",
- "silex/silex": "^1.3"
- },
- "require-dev": {
- "satooshi/php-coveralls": "^1.0",
- "symfony/browser-kit": "^3.0",
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/appengine/standard/twilio/composer.lock b/appengine/standard/twilio/composer.lock
deleted file mode 100644
index 73c7c356b5..0000000000
--- a/appengine/standard/twilio/composer.lock
+++ /dev/null
@@ -1,2222 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "3aea3cb8c7551b7fc42ea0a0bcff60a2",
- "packages": [
- {
- "name": "pimple/pimple",
- "version": "v1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/silexphp/Pimple.git",
- "reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/silexphp/Pimple/zipball/2019c145fe393923f3441b23f29bbdfaa5c58c4d",
- "reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Pimple": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- }
- ],
- "description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
- "homepage": "http://pimple.sensiolabs.org/",
- "keywords": [
- "container",
- "dependency injection"
- ],
- "time": "2013-11-22T08:30:29+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "silex/silex",
- "version": "v1.3.5",
- "source": {
- "type": "git",
- "url": "https://github.com/silexphp/Silex.git",
- "reference": "374c7e04040a6f781c90f7d746726a5daa78e783"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/silexphp/Silex/zipball/374c7e04040a6f781c90f7d746726a5daa78e783",
- "reference": "374c7e04040a6f781c90f7d746726a5daa78e783",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "pimple/pimple": "~1.0",
- "symfony/event-dispatcher": "~2.3|3.0.*",
- "symfony/http-foundation": "~2.3|3.0.*",
- "symfony/http-kernel": "~2.3|3.0.*",
- "symfony/routing": "~2.3|3.0.*"
- },
- "require-dev": {
- "doctrine/dbal": "~2.2",
- "monolog/monolog": "^1.4.1",
- "swiftmailer/swiftmailer": "~5",
- "symfony/browser-kit": "~2.3|3.0.*",
- "symfony/config": "~2.3|3.0.*",
- "symfony/css-selector": "~2.3|3.0.*",
- "symfony/debug": "~2.3|3.0.*",
- "symfony/dom-crawler": "~2.3|3.0.*",
- "symfony/finder": "~2.3|3.0.*",
- "symfony/form": "~2.3|3.0.*",
- "symfony/locale": "~2.3|3.0.*",
- "symfony/monolog-bridge": "~2.3|3.0.*",
- "symfony/options-resolver": "~2.3|3.0.*",
- "symfony/phpunit-bridge": "~2.7",
- "symfony/process": "~2.3|3.0.*",
- "symfony/security": "~2.3|3.0.*",
- "symfony/serializer": "~2.3|3.0.*",
- "symfony/translation": "~2.3|3.0.*",
- "symfony/twig-bridge": "~2.3|3.0.*",
- "symfony/validator": "~2.3|3.0.*",
- "twig/twig": "~1.8|~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Silex\\": "src/Silex"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Igor Wiedler",
- "email": "igor@wiedler.ch"
- }
- ],
- "description": "The PHP micro-framework based on the Symfony Components",
- "homepage": "http://silex.sensiolabs.org/",
- "keywords": [
- "microframework"
- ],
- "time": "2016-01-06T14:59:35+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/56f613406446a4a0a031475cfd0a01751de22659",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-28T21:38:24+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00",
- "reference": "54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-19T10:44:15+00:00"
- },
- {
- "name": "symfony/http-foundation",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-foundation.git",
- "reference": "49ba00f8ede742169cb6b70abe33243f4d673f82"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49ba00f8ede742169cb6b70abe33243f4d673f82",
- "reference": "49ba00f8ede742169cb6b70abe33243f4d673f82",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.1"
- },
- "require-dev": {
- "symfony/expression-language": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpFoundation\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpFoundation Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-17T13:54:30+00:00"
- },
- {
- "name": "symfony/http-kernel",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-kernel.git",
- "reference": "d97ba4425e36e79c794e7d14ff36f00f081b37b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d97ba4425e36e79c794e7d14ff36f00f081b37b3",
- "reference": "d97ba4425e36e79c794e7d14ff36f00f081b37b3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0",
- "symfony/debug": "~2.8|~3.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8.8|~3.0.8|~3.1.2|~3.2"
- },
- "conflict": {
- "symfony/config": "<2.8"
- },
- "require-dev": {
- "symfony/browser-kit": "~2.8|~3.0",
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/console": "~2.8|~3.0",
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/dom-crawler": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/finder": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0",
- "symfony/routing": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0",
- "symfony/templating": "~2.8|~3.0",
- "symfony/translation": "~2.8|~3.0",
- "symfony/var-dumper": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/browser-kit": "",
- "symfony/class-loader": "",
- "symfony/config": "",
- "symfony/console": "",
- "symfony/dependency-injection": "",
- "symfony/finder": "",
- "symfony/var-dumper": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpKernel\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpKernel Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-30T09:10:37+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2016-11-14T01:06:16+00:00"
- },
- {
- "name": "symfony/routing",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/routing.git",
- "reference": "9038984bd9c05ab07280121e9e10f61a7231457b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/9038984bd9c05ab07280121e9e10f61a7231457b",
- "reference": "9038984bd9c05ab07280121e9e10f61a7231457b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "conflict": {
- "symfony/config": "<2.8"
- },
- "require-dev": {
- "doctrine/annotations": "~1.0",
- "doctrine/common": "~2.2",
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8|~3.0",
- "symfony/yaml": "~2.8|~3.0"
- },
- "suggest": {
- "doctrine/annotations": "For using the annotation loader",
- "symfony/config": "For using the all-in-one router or any loader",
- "symfony/dependency-injection": "For loading routes from a service",
- "symfony/expression-language": "For using expression matching",
- "symfony/http-foundation": "For using a Symfony Request object",
- "symfony/yaml": "For using the YAML loader"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Routing\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Routing Component",
- "homepage": "https://symfony.com/",
- "keywords": [
- "router",
- "routing",
- "uri",
- "url"
- ],
- "time": "2016-06-29T05:40:00+00:00"
- },
- {
- "name": "twilio/sdk",
- "version": "4.12.0",
- "source": {
- "type": "git",
- "url": "https://github.com/twilio/twilio-php.git",
- "reference": "6e4b45fc3f8b56c088dfecf4bced76c712cb6182"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/twilio/twilio-php/zipball/6e4b45fc3f8b56c088dfecf4bced76c712cb6182",
- "reference": "6e4b45fc3f8b56c088dfecf4bced76c712cb6182",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2.1"
- },
- "require-dev": {
- "mockery/mockery": ">=0.7.2",
- "phpunit/phpunit": "4.5.*"
- },
- "type": "library",
- "autoload": {
- "files": [
- "Services/Twilio.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kevin Burke",
- "email": "kevin@twilio.com"
- },
- {
- "name": "Kyle Conroy",
- "email": "kyle+pear@twilio.com"
- }
- ],
- "description": "A PHP wrapper for Twilio's API",
- "homepage": "http://github.com/twilio/twilio-php",
- "keywords": [
- "api",
- "sms",
- "twilio"
- ],
- "time": "2016-09-01T18:42:52+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": ">=2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "*",
- "monolog/monolog": "1.*",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "1.0.*",
- "symfony/class-loader": "*",
- "zendframework/zend-cache": "<2.3",
- "zendframework/zend-log": "<2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.8-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2014-01-28T22:29:15+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "satooshi/php-coveralls",
- "version": "v1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/satooshi/php-coveralls.git",
- "reference": "da51d304fe8622bf9a6da39a8446e7afd432115c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/satooshi/php-coveralls/zipball/da51d304fe8622bf9a6da39a8446e7afd432115c",
- "reference": "da51d304fe8622bf9a6da39a8446e7afd432115c",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": "^2.8|^3.0",
- "php": ">=5.3.3",
- "psr/log": "^1.0",
- "symfony/config": "^2.1|^3.0",
- "symfony/console": "^2.1|^3.0",
- "symfony/stopwatch": "^2.0|^3.0",
- "symfony/yaml": "^2.0|^3.0"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "bin/coveralls"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Satooshi\\": "src/Satooshi/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/satooshi/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "time": "2016-01-20T17:35:46+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/dom-crawler": "~2.8|~3.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/config",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "8444bde28e3c2a33e571e6f180c2d78bfdc4480d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/8444bde28e3c2a33e571e6f180c2d78bfdc4480d",
- "reference": "8444bde28e3c2a33e571e6f180c2d78bfdc4480d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/filesystem": "~2.8|~3.0"
- },
- "require-dev": {
- "symfony/yaml": "~3.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com/",
- "time": "2017-04-04T15:30:56+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "c30243cc51f726812be3551316b109a2f5deaf8d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/c30243cc51f726812be3551316b109a2f5deaf8d",
- "reference": "c30243cc51f726812be3551316b109a2f5deaf8d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-04-04T14:33:42+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "64421e6479c4a8e60d790fb666bd520992861b66"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/64421e6479c4a8e60d790fb666bd520992861b66",
- "reference": "64421e6479c4a8e60d790fb666bd520992861b66",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-26T15:47:15+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "c5ee0f8650c84b4d36a5f76b3b504233feaabf75"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/c5ee0f8650c84b4d36a5f76b3b504233feaabf75",
- "reference": "c5ee0f8650c84b4d36a5f76b3b504233feaabf75",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-18T17:28:00+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/appengine/standard/twilio/index.php b/appengine/standard/twilio/index.php
deleted file mode 100644
index 755dd8a59c..0000000000
--- a/appengine/standard/twilio/index.php
+++ /dev/null
@@ -1,33 +0,0 @@
-run();
diff --git a/appengine/standard/twilio/phpunit.xml.dist b/appengine/standard/twilio/phpunit.xml.dist
deleted file mode 100644
index 0d63149911..0000000000
--- a/appengine/standard/twilio/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- app.php
-
-
-
diff --git a/appengine/standard/twilio/test/LocalTest.php b/appengine/standard/twilio/test/LocalTest.php
deleted file mode 100644
index 591fce85e7..0000000000
--- a/appengine/standard/twilio/test/LocalTest.php
+++ /dev/null
@@ -1,74 +0,0 @@
-markTestSkipped('set the TWILIO_ACCOUNT_SID, ' .
- 'TWILIO_AUTH_TOKEN, TWILIO_FROM_NUMBER, TWILIO_TO_NUMBER ' .
- 'and environment variables');
- }
-
- $this->app['twilio.account_sid'] = $sid;
- $this->app['twilio.auth_token'] = $token;
- $this->app['twilio.from_number'] = $fromNumber;
- $this->app['twilio.to_number'] = $toNumber;
-
- $client = $this->createClient();
-
- $crawler = $client->request('GET', '/');
-
- $this->assertTrue($client->getResponse()->isOk());
- }
-
- public function testTwiml()
- {
- $client = $this->createClient();
-
- $crawler = $client->request('POST', '/twiml');
-
- $response = $client->getResponse();
- $this->assertEquals(200, $response->getStatusCode());
- $twiml = '
Hello Monkey ';
- $this->assertContains($twiml, $response->getContent());
- }
-}
diff --git a/appengine/standard/users/README.md b/appengine/standard/users/README.md
deleted file mode 100644
index cf6ed914bc..0000000000
--- a/appengine/standard/users/README.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# Users & Google App Engine
-
-This sample application demonstrates how to use Google App Engine's users API.
-
-## Prerequisites
-
-- Install [`composer`](https://getcomposer.org)
-- Install dependencies by running:
-
-```sh
-composer install
-```
-
-## Deploy to App Engine
-
-**Prerequisites**
-
-- Install the [Google Cloud SDK](https://developers.google.com/cloud/sdk/).
-
-**Deploy with gcloud**
-
-```
-gcloud config set project YOUR_PROJECT_ID
-gcloud app deploy
-gcloud app browse
-```
-
-The last command will open `https://{YOUR_PROJECT_ID}.appspot.com/`
-in your browser.
diff --git a/appengine/standard/users/app.php b/appengine/standard/users/app.php
deleted file mode 100644
index 711f597d56..0000000000
--- a/appengine/standard/users/app.php
+++ /dev/null
@@ -1,69 +0,0 @@
-get('/', function () use ($app) {
- # [START get_current_user]
- $user = UserService::getCurrentUser();
-
- if (isset($user)) {
- return sprintf('Welcome, %s! (
sign out )',
- $user->getNickname(),
- UserService::createLogoutUrl('/'));
- } else {
- return sprintf('
Sign in or register ',
- UserService::createLoginUrl('/'));
- }
- # [END get_current_user]
-});
-
-$app->get('/admin', function () use ($app) {
- # [START check_administrator]
- $user = UserService::getCurrentUser();
- if (isset($user) && UserService::isCurrentUserAdmin()) {
- return 'Welcome administrator.';
- }
- return 'You are not an administrator.';
- # [END check_administrator]
-});
-
-$app->get('/user', function () use ($app) {
- # [START new_user]
- $user = new User('Albert.Johnson@example.com');
- # [END new_user]
- return sprintf('Nickname is %s', $user->getNickname());
-});
-
-$app->get('/federatedUser', function () use ($app) {
- # [START new_federated_user]
- $user = new User(null, 'http://example.com/id/ajohnson');
- # [END new_federated_user]
- return sprintf('Nickname is %s', $user->getNickname());
-});
-
-return $app;
diff --git a/appengine/standard/users/app.yaml b/appengine/standard/users/app.yaml
deleted file mode 100644
index 88af4c02e9..0000000000
--- a/appengine/standard/users/app.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-runtime: php55
-threadsafe: yes
-api_version: 1
-
-handlers:
-- url: .*
- script: index.php
diff --git a/appengine/standard/users/composer.json b/appengine/standard/users/composer.json
deleted file mode 100644
index 11c31b5491..0000000000
--- a/appengine/standard/users/composer.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "require": {
- "silex/silex": "^1.3"
- },
- "require-dev": {
- "google/cloud-tools": "^0.6",
- "phpunit/phpunit": "~4",
- "symfony/browser-kit": "^3.0"
- }
-}
diff --git a/appengine/standard/users/composer.lock b/appengine/standard/users/composer.lock
deleted file mode 100644
index 376306d123..0000000000
--- a/appengine/standard/users/composer.lock
+++ /dev/null
@@ -1,2131 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "c77fb34694dc31ef567f05e20d5ca7a6",
- "packages": [
- {
- "name": "pimple/pimple",
- "version": "v1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/silexphp/Pimple.git",
- "reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/silexphp/Pimple/zipball/2019c145fe393923f3441b23f29bbdfaa5c58c4d",
- "reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Pimple": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- }
- ],
- "description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
- "homepage": "http://pimple.sensiolabs.org/",
- "keywords": [
- "container",
- "dependency injection"
- ],
- "time": "2013-11-22T08:30:29+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "silex/silex",
- "version": "v1.3.5",
- "source": {
- "type": "git",
- "url": "https://github.com/silexphp/Silex.git",
- "reference": "374c7e04040a6f781c90f7d746726a5daa78e783"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/silexphp/Silex/zipball/374c7e04040a6f781c90f7d746726a5daa78e783",
- "reference": "374c7e04040a6f781c90f7d746726a5daa78e783",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "pimple/pimple": "~1.0",
- "symfony/event-dispatcher": "~2.3|3.0.*",
- "symfony/http-foundation": "~2.3|3.0.*",
- "symfony/http-kernel": "~2.3|3.0.*",
- "symfony/routing": "~2.3|3.0.*"
- },
- "require-dev": {
- "doctrine/dbal": "~2.2",
- "monolog/monolog": "^1.4.1",
- "swiftmailer/swiftmailer": "~5",
- "symfony/browser-kit": "~2.3|3.0.*",
- "symfony/config": "~2.3|3.0.*",
- "symfony/css-selector": "~2.3|3.0.*",
- "symfony/debug": "~2.3|3.0.*",
- "symfony/dom-crawler": "~2.3|3.0.*",
- "symfony/finder": "~2.3|3.0.*",
- "symfony/form": "~2.3|3.0.*",
- "symfony/locale": "~2.3|3.0.*",
- "symfony/monolog-bridge": "~2.3|3.0.*",
- "symfony/options-resolver": "~2.3|3.0.*",
- "symfony/phpunit-bridge": "~2.7",
- "symfony/process": "~2.3|3.0.*",
- "symfony/security": "~2.3|3.0.*",
- "symfony/serializer": "~2.3|3.0.*",
- "symfony/translation": "~2.3|3.0.*",
- "symfony/twig-bridge": "~2.3|3.0.*",
- "symfony/validator": "~2.3|3.0.*",
- "twig/twig": "~1.8|~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Silex\\": "src/Silex"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Igor Wiedler",
- "email": "igor@wiedler.ch"
- }
- ],
- "description": "The PHP micro-framework based on the Symfony Components",
- "homepage": "http://silex.sensiolabs.org/",
- "keywords": [
- "microframework"
- ],
- "time": "2016-01-06T14:59:35+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/56f613406446a4a0a031475cfd0a01751de22659",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-28T21:38:24+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00",
- "reference": "54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-19T10:44:15+00:00"
- },
- {
- "name": "symfony/http-foundation",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-foundation.git",
- "reference": "49ba00f8ede742169cb6b70abe33243f4d673f82"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49ba00f8ede742169cb6b70abe33243f4d673f82",
- "reference": "49ba00f8ede742169cb6b70abe33243f4d673f82",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.1"
- },
- "require-dev": {
- "symfony/expression-language": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpFoundation\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpFoundation Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-17T13:54:30+00:00"
- },
- {
- "name": "symfony/http-kernel",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-kernel.git",
- "reference": "d97ba4425e36e79c794e7d14ff36f00f081b37b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d97ba4425e36e79c794e7d14ff36f00f081b37b3",
- "reference": "d97ba4425e36e79c794e7d14ff36f00f081b37b3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0",
- "symfony/debug": "~2.8|~3.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8.8|~3.0.8|~3.1.2|~3.2"
- },
- "conflict": {
- "symfony/config": "<2.8"
- },
- "require-dev": {
- "symfony/browser-kit": "~2.8|~3.0",
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/console": "~2.8|~3.0",
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/dom-crawler": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/finder": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0",
- "symfony/routing": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0",
- "symfony/templating": "~2.8|~3.0",
- "symfony/translation": "~2.8|~3.0",
- "symfony/var-dumper": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/browser-kit": "",
- "symfony/class-loader": "",
- "symfony/config": "",
- "symfony/console": "",
- "symfony/dependency-injection": "",
- "symfony/finder": "",
- "symfony/var-dumper": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpKernel\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpKernel Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-30T09:10:37+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2016-11-14T01:06:16+00:00"
- },
- {
- "name": "symfony/routing",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/routing.git",
- "reference": "9038984bd9c05ab07280121e9e10f61a7231457b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/9038984bd9c05ab07280121e9e10f61a7231457b",
- "reference": "9038984bd9c05ab07280121e9e10f61a7231457b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "conflict": {
- "symfony/config": "<2.8"
- },
- "require-dev": {
- "doctrine/annotations": "~1.0",
- "doctrine/common": "~2.2",
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8|~3.0",
- "symfony/yaml": "~2.8|~3.0"
- },
- "suggest": {
- "doctrine/annotations": "For using the annotation loader",
- "symfony/config": "For using the all-in-one router or any loader",
- "symfony/dependency-injection": "For loading routes from a service",
- "symfony/expression-language": "For using expression matching",
- "symfony/http-foundation": "For using a Symfony Request object",
- "symfony/yaml": "For using the YAML loader"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Routing\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Routing Component",
- "homepage": "https://symfony.com/",
- "keywords": [
- "router",
- "routing",
- "uri",
- "url"
- ],
- "time": "2016-06-29T05:40:00+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "google/cloud-tools",
- "version": "v0.6.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/php-tools.git",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/php-tools/zipball/90ecc5e371673078cf0fc71d442fd21415c277c3",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "php": ">=5.5",
- "phpunit/phpunit": "~4|~5",
- "symfony/browser-kit": "~2|~3",
- "symfony/process": "~2|~3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\TestUtils\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "authors": [
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com",
- "homepage": "https://wp.gaeflex.ninja/"
- }
- ],
- "description": "PHP tools for Google Cloud Platform",
- "homepage": "https://github.com/GoogleCloudPlatform/php-tools",
- "keywords": [
- "appengine",
- "gcp",
- "test"
- ],
- "time": "2017-02-23T22:19:51+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/dom-crawler": "~2.8|~3.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "57fdaa55827ae14d617550ebe71a820f0a5e2282"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/57fdaa55827ae14d617550ebe71a820f0a5e2282",
- "reference": "57fdaa55827ae14d617550ebe71a820f0a5e2282",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-27T18:07:02+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/appengine/standard/users/index.php b/appengine/standard/users/index.php
deleted file mode 100644
index 051e9e59dd..0000000000
--- a/appengine/standard/users/index.php
+++ /dev/null
@@ -1,27 +0,0 @@
-run();
diff --git a/appengine/standard/users/phpunit.xml.dist b/appengine/standard/users/phpunit.xml.dist
deleted file mode 100644
index c919342416..0000000000
--- a/appengine/standard/users/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- app.php
-
-
-
diff --git a/appengine/standard/users/test/bootstrap.php b/appengine/standard/users/test/bootstrap.php
deleted file mode 100644
index 920cafbd10..0000000000
--- a/appengine/standard/users/test/bootstrap.php
+++ /dev/null
@@ -1,21 +0,0 @@
-user = $this->getMockBuilder('google\appengine\api\users\User')
- ->disableOriginalConstructor()
- ->setMethods(array('getNickname'))
- ->getMock();
-
- // prevent HTML error exceptions
- unset($app['exception_handler']);
-
- return $app;
- }
-
- public function testLoginUrl()
- {
- $client = $this->createClient();
-
- $crawler = $client->request('GET', '/');
-
- $this->assertTrue($client->getResponse()->isOk());
- $this->assertContains(
- UserService::$loginUrl,
- $client->getResponse()->getContent());
- }
-
- public function testAdmin()
- {
- $client = $this->createClient();
-
- $crawler = $client->request('GET', '/admin');
-
- $this->assertTrue($client->getResponse()->isOk());
- $this->assertContains(
- 'You are not an administrator.',
- $client->getResponse()->getContent());
- }
-
- public function testAdminWithAdminUser()
- {
- $client = $this->createClient();
- $nickname = 'tmatsuo';
- $this->user->method('getNickname')->willReturn($nickname);
- UserService::$user = $this->user;
- $ret = putenv('USER_IS_ADMIN=1');
- $client->request('GET', '/admin');
- $this->assertTrue($client->getResponse()->isOk());
- $this->assertContains(
- 'Welcome administrator.',
- $client->getResponse()->getContent());
- }
-
- public function testLogoutUrl()
- {
- $nickname = 'tmatsuo';
- $this->user->method('getNickname')->willReturn($nickname);
- $this->user->expects($this->once())->method('getNickname');
- UserService::$user = $this->user;
- $client = $this->createClient();
-
- $crawler = $client->request('GET', '/');
-
- $this->assertTrue($client->getResponse()->isOk());
- $body = $client->getResponse()->getContent();
- $this->assertContains(UserService::$logoutUrl, $body);
- $this->assertContains($nickname, $body);
- }
-
- public function testUser()
- {
- $client = $this->createClient();
-
- $crawler = $client->request('GET', '/user');
-
- $this->assertTrue($client->getResponse()->isOk());
- $this->assertContains(
- 'Nickname is Albert.Johnson',
- $client->getResponse()->getContent());
- }
-
- public function testFederatedUser()
- {
- $client = $this->createClient();
-
- $crawler = $client->request('GET', '/federatedUser');
-
- $this->assertTrue($client->getResponse()->isOk());
- $this->assertContains(
- 'Nickname is http://example.com/id/ajohnson',
- $client->getResponse()->getContent());
- }
-}
diff --git a/appengine/standard/users/test/unit/mocks/User.php b/appengine/standard/users/test/unit/mocks/User.php
deleted file mode 100644
index b82968138c..0000000000
--- a/appengine/standard/users/test/unit/mocks/User.php
+++ /dev/null
@@ -1,59 +0,0 @@
-email = $email;
- $this->federated_identity = $federated_identity;
- $this->federated_provider = $federated_provider;
- $this->user_id = $user_id;
- }
-
- /**
- * Returns the user's nickname.
- *
- * @return string
- */
- public function getNickname()
- {
- if ($this->email !== null) {
- return explode('@', $this->email)[0];
- }
- return $this->federated_identity;
- }
-}
diff --git a/appengine/standard/users/test/unit/mocks/UserService.php b/appengine/standard/users/test/unit/mocks/UserService.php
deleted file mode 100644
index 82bb7e666a..0000000000
--- a/appengine/standard/users/test/unit/mocks/UserService.php
+++ /dev/null
@@ -1,51 +0,0 @@
-client->get('');
- $this->assertEquals('200', $resp->getStatusCode(),
- 'top page status code');
- $this->assertContains(
- 'register',
- $resp->getBody()->getContents());
- }
-
- public function testAdmin()
- {
- // Access the modules app top page.
- $resp = $this->client->get('/admin');
- $this->assertEquals('200', $resp->getStatusCode());
- $this->assertContains(
- 'administrator',
- $resp->getBody()->getContents());
- }
-
- public function testUser()
- {
- // Access the modules app top page.
- $resp = $this->client->get('/user');
- $this->assertEquals('200', $resp->getStatusCode());
- }
-
- public function testFederatedUser()
- {
- // Access the modules app top page.
- $resp = $this->client->get('/federatedUser');
- $this->assertEquals('200', $resp->getStatusCode());
- }
-}
diff --git a/appengine/wordpress/.gitignore b/appengine/wordpress/.gitignore
deleted file mode 100644
index b13ec3f29e..0000000000
--- a/appengine/wordpress/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-my-wordpress-project
diff --git a/appengine/wordpress/README.md b/appengine/wordpress/README.md
deleted file mode 100644
index c502da2d54..0000000000
--- a/appengine/wordpress/README.md
+++ /dev/null
@@ -1,240 +0,0 @@
-# A helper command for running WordPress on Google Cloud Platform
-
-This is a small command line tool for downloading and configuring
-WordPress for Google Cloud Platform. The script allows you to create a
-working WordPress project for
-[App Engine standard environment][appengine-standard] or
-[App Engine flexible environment][appengine-flexible].
-
-## Common Prerequisites
-
-* Install [Composer][composer]
-* Create a new Cloud Project on [Developers Console][dev-console]
-* Enable Billing on that project
-* [Enable Cloud SQL API][cloud-sql-api-enable] (For App Engine flexible environment)
-* Create App Engine default bucket at [App Engine Setting Page][app-engine-setting]
-* Install [Google Cloud SDK][gcloud-sdk]
-
-## Prerequisites for standard environment only
-* Install mysql
-
-## Project preparation
-
-Configure Google Cloud SDK with your account and the Project.
-
-```
-$ gcloud auth login
-...
-...
-$ gcloud config set project YOUR_PROJECT_ID
-```
-
-Then configure the App Engine default GCS bucket for later use. The
-default App Engine bucket looks like
-YOUR_PROJECT_ID.appspot.com. Change the default acl of that bucket as
-follows:
-
-```
-$ gsutil defacl ch -u AllUsers:R gs://YOUR_PROJECT_ID.appspot.com
-```
-
-## Create and configure a Cloud SQL instance
-
-If you will use App Engine flexible environment, create a Cloud SQL
-2nd generation instance, and if you will use App Engine standard
-environment, create a Cloud SQL 1st generation instance.
-
-In this guide, we use `wp` for various resource names; the instance
-name, the database name, and the user name.
-
-### Create and configure a Cloud SQL 1st generation instance(for standard environment)
-
-Go to the [SQL settings in the Cloud Console][sql-settings] and create
-an instance `wp` and database named `wp`. Go to the Access Control ->
-Users, then change the password for `root@localhost`. You will use
-this password for accessing from App Engine application.
-
-Also create the `wp` database in the local mysql server. The local
-mysql instance is required to run `wp-cli` tool for
-installing/upgrading plugins and themes.
-
-### Create and configure a Cloud SQL 2nd generation instance(for flexible environment)
-
-You can create a new Cloud SQL Second Generation instance with the
-following command:
-
-```
-$ gcloud sql instances create wp \
- --activation-policy=ALWAYS \
- --tier=db-g1-small
-```
-
-Then change the root password for your instance:
-
-```
-$ gcloud sql instances set-root-password wp \
- --password YOUR_INSTANCE_ROOT_PASSWORD # Don't use this password!
-```
-
-To access this MySQL instance, we’ll use Cloud SQL Proxy. Please
-download an appropriate binary from
-[the download page][cloud-sql-proxy-download], make it executable.
-
-If you haven’t created a service account for the project, please
-create it on [the Credentials section][credentials-section] in the
-Console (Choose a new service account). Download the JSON key file and
-save it in a secure place.
-
-Run the proxy by the following command:
-
-```
-$ cloud_sql_proxy \
- -dir /tmp/cloudsql \
- -instances=YOUR_PROJECT_ID:us-central1:wp=tcp:3306 \
- -credential_file=PATH_TO_YOUR_SERVICE_ACCOUNT_JSON
-```
-
-Now you can access to the Cloud SQL instance with the normal MySQL
-client. Please create a new database and a user as follows:
-
-```
-$ mysql -h 127.0.0.1 -u root -p
-mysql> create database wp;
-mysql> create user 'wp'@'%' identified by 'PASSWORD'; // Don't use this password!
-mysql> grant all on wp.* to 'wp'@'%';
-mysql> exit
-Bye
-```
-
-In the above example, I created a new database wp and a new user wp.
-
-## How to use
-
-First install the dependencies in this directory as follows:
-
-```
-$ composer install
-```
-
-If it complains about extensions, please install `phar` and `zip` PHP
-extesions and retry.
-
-Then run the helper command.
-
-```
-$ php wordpress-helper.php setup
-```
-
-The command asks you several questions, please answer them. Then
-you'll have a new WordPress project. By default it will create
-`my-wordpress-project` in the current directory.
-
-## Run WordPress locally and create a new user (for standard environment)
-
-If you chose the flexible environment, skip this step.
-
-This step will create a basic database setup in your local mysql
-server. This is required to use `wp-cli` tool.
-
-CD into your WordPress project directory and run the following command
-to run WordPress locally (be sure to keep the cloud SQL proxy
-running):
-
-```
-$ cd my-wordpress-project
-$ vendor/bin/wp(.bat) server --path=wordpress
-```
-
-Then access http://localhost:8080/. Follow the installation steps,
-create the admin user and its password. Login to the Dashboard and
-update if any of the plugins have update.
-
-Now it’s ready for the first deployment.
-
-## Deployment
-
-You can deploy your WordPress project by the following command.
-
-```
-$ gcloud app deploy \
- --promote --stop-previous-version app.yaml cron.yaml
-```
-
-Then access your site, and continue the installation step. The URL is:
-https://PROJECT_ID.appspot.com/
-
-Go to the Dashboard, and in the Plugins page, activate the following
-plugins:
-
-
-- For standard environment
- - App Engine WordPress plugin (also set the e-mail address in its
- setting page)
- - Batcache Manager
-- For flexible environment
- - Batcache Manager
- - GCS media plugin
-
-After activating the plugins, try uploading a media and confirm the
-image is uploaded to the GCS bucket.
-
-## Check if the Batcache plugin is working
-
-On the plugin page in the WordPress dashboard, you should see 2
-drop-ins are activated; `advanced-cache.php` and `object-cache.php`.
-
-To make sure it’s really working, you can open an incognito window and
-visit the site because the cache plugin only serves from cache to
-anonymous users. Then go to
-[the memcache dashboard in the Cloud Console][memcache-dashboard] and
-check the hit ratio and number of items in cache.
-
-## Various workflows
-
-### Install/Update plugins/themes
-
-Because the wp-content directory on the server is read-only, you have
-to do this locally. Run WordPress locally and update plugins/themes in
-the local Dashboard, then deploy, then activate them in the production
-Dashboard. You can also use the `wp-cli` utility as follows:
-
-```
-# To update all the plugins
-$ vendor/bin/wp plugin update --all --path=wordpress
-# To update all the themes
-$ vendor/bin/wp theme update --all --path=wordpress
-```
-
-### Remove plugins/themes
-
-First Deactivate them in the production Dashboard, then remove them
-completely locally. The next deployment will remove those files from
-the production environment.
-
-### Update WordPress itself
-
-Most of the case, just download the newest WordPress and overwrite the
-existing wordpress directory. It is still possible that the existing
-config files are not compatible with the newest WordPress, so please
-update the config file manually in that case.
-
-### Update the base image
-
-We sometimes release the security update for
-[the php-docker image][php-docker]. Then you’ll have to re-deploy your
-WordPress instance to get the security update.
-
-Enjoy your WordPress installation!
-
-[appengine-standard]: https://cloud.google.com/appengine/docs/about-the-standard-environment
-[appengine-flexible]: https://cloud.google.com/appengine/docs/flexible/
-[sql-settings]: https://console.cloud.google.com/sql/instances
-[memcache-dashboard]: https://console.cloud.google.com/appengine/memcache
-[composer]: https://getcomposer.org/
-[dev-console]: https://console.cloud.google.com/
-[cloud-sql-api-enable]: https://console.cloud.google.com/flows/enableapi?apiid=sqladmin
-[app-engine-setting]: https://console.cloud.google.com/appengine/settings
-[gcloud-sdk]: https://cloud.google.com/sdk/
-[cloud-sql-proxy-download]: https://cloud.google.com/sql/docs/external#appaccess
-[credentials-section]: https://console.cloud.google.com/apis/credentials/
-[php-docker]: https://github.com/googlecloudplatform/php-docker
diff --git a/appengine/wordpress/composer.json b/appengine/wordpress/composer.json
deleted file mode 100644
index ba3f453c64..0000000000
--- a/appengine/wordpress/composer.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "require": {
- "ext-phar": "*",
- "ext-zip": "*",
- "paragonie/random_compat": "^1.3",
- "symfony/console": "^3.0",
- "twig/twig": "~1.0"
- },
- "require-dev": {
- "guzzlehttp/guzzle": "~6.0",
- "phpunit/phpunit": "~4",
- "symfony/browser-kit": "~2"
- },
- "autoload": {
- "psr-4": { "Google\\Cloud\\Helper\\": "src/",
- "Google\\Cloud\\Test\\": "test/"}
- }
-}
diff --git a/appengine/wordpress/composer.lock b/appengine/wordpress/composer.lock
deleted file mode 100644
index 045be11e58..0000000000
--- a/appengine/wordpress/composer.lock
+++ /dev/null
@@ -1,1815 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "70c27bd481c233352f93b856bd682b6d",
- "packages": [
- {
- "name": "paragonie/random_compat",
- "version": "v1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "965cdeb01fdcab7653253aa81d40441d261f1e66"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/965cdeb01fdcab7653253aa81d40441d261f1e66",
- "reference": "965cdeb01fdcab7653253aa81d40441d261f1e66",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*|5.*"
- },
- "suggest": {
- "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
- },
- "type": "library",
- "autoload": {
- "files": [
- "lib/random.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com/"
- }
- ],
- "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
- "keywords": [
- "csprng",
- "pseudorandom",
- "random"
- ],
- "time": "2017-03-13T16:22:52+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "c30243cc51f726812be3551316b109a2f5deaf8d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/c30243cc51f726812be3551316b109a2f5deaf8d",
- "reference": "c30243cc51f726812be3551316b109a2f5deaf8d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-04-04T14:33:42+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/56f613406446a4a0a031475cfd0a01751de22659",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-28T21:38:24+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2016-11-14T01:06:16+00:00"
- },
- {
- "name": "twig/twig",
- "version": "v1.33.0",
- "source": {
- "type": "git",
- "url": "https://github.com/twigphp/Twig.git",
- "reference": "05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/twigphp/Twig/zipball/05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a",
- "reference": "05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2.7"
- },
- "require-dev": {
- "psr/container": "^1.0",
- "symfony/debug": "~2.7",
- "symfony/phpunit-bridge": "~3.3@dev"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.33-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Twig_": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com",
- "homepage": "http://fabien.potencier.org/",
- "role": "Lead Developer"
- },
- {
- "name": "Armin Ronacher",
- "email": "armin.ronacher@active-4.com",
- "role": "Project Founder"
- },
- {
- "name": "Twig Team",
- "homepage": "http://twig.sensiolabs.org/contributors",
- "role": "Contributors"
- }
- ],
- "description": "Twig, the flexible, fast, and secure template language for PHP",
- "homepage": "http://twig.sensiolabs.org/",
- "keywords": [
- "templating"
- ],
- "time": "2017-03-22T15:40:09+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v2.8.19",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "8827db04bcd8d9b9bf3114ea41081d8036ab209c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/8827db04bcd8d9b9bf3114ea41081d8036ab209c",
- "reference": "8827db04bcd8d9b9bf3114ea41081d8036ab209c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/dom-crawler": "~2.1|~3.0.0"
- },
- "require-dev": {
- "symfony/css-selector": "^2.0.5|~3.0.0",
- "symfony/process": "~2.3.34|^2.7.6|~3.0.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T08:33:48+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "dff8fecf1f56990d88058e3a1885c2a5f1b8e970"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/dff8fecf1f56990d88058e3a1885c2a5f1b8e970",
- "reference": "dff8fecf1f56990d88058e3a1885c2a5f1b8e970",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-30T07:22:48+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "ext-phar": "*",
- "ext-zip": "*"
- },
- "platform-dev": []
-}
diff --git a/appengine/wordpress/phpunit.xml.dist b/appengine/wordpress/phpunit.xml.dist
deleted file mode 100644
index fdecd3cea3..0000000000
--- a/appengine/wordpress/phpunit.xml.dist
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- test
-
-
-
diff --git a/appengine/wordpress/src/Project.php b/appengine/wordpress/src/Project.php
deleted file mode 100644
index 4a86963b58..0000000000
--- a/appengine/wordpress/src/Project.php
+++ /dev/null
@@ -1,101 +0,0 @@
-errors[] = 'File exists: ' . $dir;
- return;
- }
- if (is_dir($dir)) {
- $this->info[] = 'Re-using a directory ' . $dir . '.';
- } elseif (!@mkdir($dir, 0750, true)) {
- $this->errors[] = 'Can not create a directory: ' . $dir;
- } else {
- $this->info[] = 'A directory ' . $dir . ' was created.';
- }
- $this->dir = realpath($dir);
- }
-
- public function downloadArchive($name, $url, $dir='')
- {
- $tmpdir = sys_get_temp_dir();
- $file = $tmpdir . DIRECTORY_SEPARATOR . basename($url);
- file_put_contents($file, file_get_contents($url));
-
- if (substr($url, -3, 3) === 'zip') {
- $zip = new \ZipArchive;
- if ($zip->open($file) === false) {
- $this->errors[] = 'Failed to open a zip file: ' . $file;
- return;
- }
- if ($zip->extractTo($this->dir . $dir) === false) {
- $this->errors[] = 'Failed to extract a zip file: ' . $file;
- $zip->close();
- return;
- }
- $zip->close();
- } else {
- $phar = new \PharData($file, 0, null);
- $phar->extractTo($this->dir . $dir, null, true);
- }
- unlink($file);
- $this->info[] = 'Downloaded ' . $name . '.';
- // TODO error check
- }
-
- public function copyFiles($path, $files, $params)
- {
- $loader = new \Twig_Loader_Filesystem($path);
- $twig = new \Twig_Environment($loader);
- foreach ($files as $file => $target) {
- $dest = $this->dir . $target . $file;
- touch($dest);
- chmod($dest, 0640);
- $content = $twig->render($file, $params);
- file_put_contents($dest, $content, LOCK_EX);
- }
- $this->info[] = 'Copied necessary files with parameters.';
- }
-
- public function runComposer()
- {
- chdir($this->dir);
- exec(
- 'composer update --no-interaction --no-progress --no-ansi',
- $output, $ret);
- $this->info = array_merge($this->info, $output);
- if ($ret !== 0) {
- $this->info[] = 'Failed to run composer update in ' . $this->dir
- . '. Please run it by yourself before running WordPress.';
- }
- }
-
- public function getDir()
- {
- return $this->dir;
- }
-}
diff --git a/appengine/wordpress/src/ReportInterface.php b/appengine/wordpress/src/ReportInterface.php
deleted file mode 100644
index 9f7162c5a5..0000000000
--- a/appengine/wordpress/src/ReportInterface.php
+++ /dev/null
@@ -1,24 +0,0 @@
-info;
- $this->info = array();
- return $ret;
- }
- public function getErrors()
- {
- if (empty($this->errors)) {
- return false;
- }
- return $this->errors;
- }
-}
diff --git a/appengine/wordpress/src/Utils.php b/appengine/wordpress/src/Utils.php
deleted file mode 100644
index be56e77c3c..0000000000
--- a/appengine/wordpress/src/Utils.php
+++ /dev/null
@@ -1,36 +0,0 @@
-setName('setup')
- ->setDescription('Setup WordPress on GCP')
- ->addOption(
- 'env',
- 'e',
- InputOption::VALUE_OPTIONAL,
- 'App Engine environment to use; f: '
- . self::FLEXIBLE_ENV
- . ', s: '
- . self::STANDARD_ENV
- . '.',
- null
- )
- ->addOption(
- 'dir',
- 'd',
- InputOption::VALUE_OPTIONAL,
- 'Directory for the new project',
- self::DEFAULT_DIR
- )
- ->addOption(
- 'sql_gen',
- '',
- InputOption::VALUE_OPTIONAL,
- sprintf('Cloud SQL generation to use; 2: %s, 1: %s',
- 'Second Generation',
- 'First Generation'),
- 2
- )
- ->addOption(
- 'project_id',
- 'p',
- InputOption::VALUE_OPTIONAL,
- 'Google Cloud project id',
- ''
- )
- ->addOption(
- 'db_region',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Cloud SQL region',
- ''
- )
- ->addOption(
- 'db_instance',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Cloud SQL instance id',
- ''
- )
- ->addOption(
- 'db_name',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Cloud SQL database name',
- ''
- )
- ->addOption(
- 'db_user',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Cloud SQL database username',
- ''
- )
- ->addOption(
- 'db_password',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Cloud SQL database password',
- ''
- )
- ->addOption(
- 'local_db_user',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Local SQL database username',
- ''
- )
- ->addOption(
- 'local_db_password',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Local SQL database password',
- ''
- )
- ->addOption(
- 'wordpress_url',
- null,
- InputOption::VALUE_OPTIONAL,
- 'URL of the WordPress archive',
- self::LATEST_WP
- );
- }
-
- protected function report(OutputInterface $output, ReportInterface $report)
- {
- foreach ($report->getInfo() as $value) {
- $output->writeln("
" . $value . " ");
- }
- if ($report->getErrors() === false) {
- return true;
- }
- foreach ($report->getErrors() as $value) {
- $output->writeln("
" . $value . " ");
- }
- return false;
- }
-
- protected function addAuthKeys(&$params)
- {
- $authKeys = array(
- 'auth_key', 'secure_auth_key', 'logged_in_key', 'nonce_key',
- 'auth_salt', 'secure_auth_salt', 'logged_in_salt', 'nonce_salt'
- );
- foreach ($authKeys as $key) {
- $value = Utils::createRandomKey();
- $params[$key] = $value;
- }
- }
-
- protected function askParameters(
- array $configKeys,
- array &$params,
- InputInterface $input,
- OutputInterface $output,
- $helper
- ) {
- foreach ($configKeys as $key => $default) {
- $value = $input->getOption($key);
- if ((!$input->isInteractive()) && empty($value)) {
- $output->writeln(
- '
' . $key . ' can not be empty. ');
- return self::DEFAULT_ERROR;
- }
- while (empty($value)) {
- if (empty($default)) {
- $note = ' (mandatory input)';
- } else {
- $note = ' (defaults to \'' . $default . '\')';
- }
- $q = new Question(
- 'Please enter ' . $key . $note . ': ', $default);
- if (strpos($key, 'password') !== false) {
- $q->setHidden(true);
- $q->setHiddenFallback(false);
- }
- $value = $helper->ask($input, $output, $q);
- if (empty($value)) {
- $output->writeln(
- '
' . $key . ' can not be empty. ');
- }
- }
- $params[$key] = $value;
- }
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $helper = $this->getHelper('question');
- $dir = $input->getOption('dir');
- if ($dir === self::DEFAULT_DIR) {
- $q = new Question(
- 'Please enter a directory path for the new project '
- . '(defaults to ' . $dir . '):',
- $dir
- );
- $dir = $helper->ask($input, $output, $q);
- }
- $q = new ConfirmationQuestion(
- 'We will use the directory:
' . $dir . ' '
- . '. If the directory exists, we will override the contents. '
- . 'Do you want to continue? (Y/n)',
- true
- );
- if (!$helper->ask($input, $output, $q)) {
- $output->writeln('
Operation canceled. ');
- return self::DEFAULT_ERROR;
- }
- $project = new Project($dir);
-
- if (!$this->report($output, $project)) {
- return self::DEFAULT_ERROR;
- }
- $env = $input->getOption('env');
- if ($env === 'f') {
- $env = self::FLEXIBLE_ENV;
- } elseif ($env === 's') {
- $env = self::STANDARD_ENV;
- } else {
- $q = new ChoiceQuestion(
- 'Please select the App Engine Environment '
- . '(defaults to ' . self::FLEXIBLE_ENV . ')',
- array(self::FLEXIBLE_ENV, self::STANDARD_ENV),
- self::FLEXIBLE_ENV
- );
- $q->setErrorMessage('Environment %s is invalid.');
- $env = $helper->ask($input, $output, $q);
- }
- $output->writeln('Creating a new project for:
' . $env
- . ' ');
-
- // Determine the Cloud SQL Generation to use.
- $sql_gen = $input->getOption('sql_gen');
- switch ($sql_gen) {
- case '1':
- if ($env === self::FLEXIBLE_ENV) {
- $output->writeln('
You can not use '
- . 'Cloud SQL First Generation with '
- . self::FLEXIBLE_ENV . '. ');
- return self::DEFAULT_ERROR;
- }
- $db_connection_pattern = '%s:%s';
- break;
- case '2':
- $db_region = $input->getOption('db_region');
- if (! in_array($db_region, self::$availableDbRegions)) {
- $q = new ChoiceQuestion(
- 'Please select the region of your Cloud SQL instance '
- . '(defaults to ' . self::DEFAULT_DB_REGION . ')',
- self::$availableDbRegions,
- self::DEFAULT_DB_REGION
- );
- $q->setErrorMessage('DB region %s is invalid.');
- $db_region = $helper->ask($input, $output, $q);
- $output->writeln('Using a db_region:
' . $db_region
- . ' ');
- }
- $db_connection_pattern = "%s:$db_region:%s";
- break;
- default:
- $output->writeln(
- sprintf(
- '
Invalid value for sql_gen: %s. ',
- $sql_gen
- )
- );
- return self::DEFAULT_ERROR;
- }
-
- $output->writeln('Downloading the WordPress archive...');
- $wpUrl = $input->getOption('wordpress_url');
- $project->downloadArchive('the WordPress archive', $wpUrl);
- if (!$this->report($output, $project)) {
- return self::DEFAULT_ERROR;
- }
-
- $keys = array(
- 'project_id' => '',
- 'db_instance' => 'wp',
- 'db_name' => 'wp',
- 'db_user' => 'wp',
- 'db_password' => '',
- );
- if ($env === self::STANDARD_ENV) {
- $output->writeln('Downloading the Batcache plugin...');
- $project->downloadArchive(
- 'Batcache plugin', self::LATEST_BATCACHE,
- '/wordpress/wp-content/plugins'
- );
- if (!$this->report($output, $project)) {
- return self::DEFAULT_ERROR;
- }
-
- $output->writeln('Downloading the Memcached plugin...');
- $project->downloadArchive(
- 'Memcached plugin', self::LATEST_MEMCACHED,
- '/wordpress/wp-content/plugins'
- );
- if (!$this->report($output, $project)) {
- return self::DEFAULT_ERROR;
- }
-
- $output->writeln('Copying drop-ins...');
- $dir = $project->getDir();
- copy(
- $dir . '/wordpress/wp-content/plugins/batcache/advanced-cache.php',
- $dir . '/wordpress/wp-content/advanced-cache.php'
- );
- copy(
- $dir . '/wordpress/wp-content/plugins/memcached/object-cache.php',
- $dir . '/wordpress/wp-content/object-cache.php'
- );
- $copyFiles = array(
- 'app.yaml' => '/',
- 'cron.yaml' => '/',
- 'composer.json' => '/',
- 'php.ini' => '/',
- 'wp-config.php' => '/wordpress/',
- );
- $templateDir = __DIR__ . '/files/standard';
- $output->writeln('Downloading the appengine-wordpress plugin...');
- $project->downloadArchive(
- 'App Engine WordPress plugin', self::LATEST_GAE_WP,
- '/wordpress/wp-content/plugins'
- );
- if (!$this->report($output, $project)) {
- return self::DEFAULT_ERROR;
- }
- } else {
- // Download gcs plugin
- $project->downloadArchive(
- 'GCS plugin', self::LATEST_GCS_PLUGIN,
- '/wordpress/wp-content/plugins'
- );
- $copyFiles = array(
- 'app.yaml' => '/',
- 'cron.yaml' => '/',
- 'composer.json' => '/',
- 'nginx-app.conf' => '/',
- 'php.ini' => '/',
- 'wp-config.php' => '/wordpress/',
- );
- $templateDir = __DIR__ . '/files/flexible';
- }
- $params = array();
- $this->askParameters($keys, $params, $input, $output, $helper);
- $params['db_connection'] = sprintf(
- $db_connection_pattern,
- $params['project_id'],
- $params['db_instance']
- );
- $q = new ConfirmationQuestion(
- 'Do you want to use the same db user and password for '
- . 'local run? (Y/n)',
- true
- );
- if ($helper->ask($input, $output, $q)) {
- $params['local_db_user'] = $params['db_user'];
- $params['local_db_password'] = $params['db_password'];
- } else {
- $keys = array(
- 'local_db_user' => 'wp',
- 'local_db_password' => '',
- );
- $this->askParameters($keys, $params, $input, $output, $helper);
- }
- $this->addAuthKeys($params);
- $project->copyFiles($templateDir, $copyFiles, $params);
- if (!$this->report($output, $project)) {
- return self::DEFAULT_ERROR;
- }
- $project->runComposer();
- if (!$this->report($output, $project)) {
- return self::DEFAULT_ERROR;
- }
- $output->writeln(
- '
Your WordPress project is ready at '
- . $project->getDir() . ' '
- );
- return 0;
- }
-}
diff --git a/appengine/wordpress/src/files/flexible/app.yaml b/appengine/wordpress/src/files/flexible/app.yaml
deleted file mode 100644
index 60091ad6a9..0000000000
--- a/appengine/wordpress/src/files/flexible/app.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-runtime: php
-env: flex
-
-beta_settings:
- cloud_sql_instances: {{db_connection}}
-
-runtime_config:
- document_root: wordpress
-
-env_variables:
- WHITELIST_FUNCTIONS: escapeshellarg,escapeshellcmd,exec,pclose,popen,shell_exec,phpversion,php_uname
diff --git a/appengine/wordpress/src/files/flexible/composer.json b/appengine/wordpress/src/files/flexible/composer.json
deleted file mode 100644
index 8564d59695..0000000000
--- a/appengine/wordpress/src/files/flexible/composer.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "require": {
- "google/cloud": "~0.21"
- },
- "require-dev": {
- "wp-cli/wp-cli": "~1.1"
- }
-}
diff --git a/appengine/wordpress/src/files/flexible/cron.yaml b/appengine/wordpress/src/files/flexible/cron.yaml
deleted file mode 100644
index c47b1767fa..0000000000
--- a/appengine/wordpress/src/files/flexible/cron.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-cron:
-- description: wordpress cron tasks
- url: /wp-cron.php
- schedule: every 15 minutes
diff --git a/appengine/wordpress/src/files/flexible/nginx-app.conf b/appengine/wordpress/src/files/flexible/nginx-app.conf
deleted file mode 100644
index 1ca9246155..0000000000
--- a/appengine/wordpress/src/files/flexible/nginx-app.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-location / {
- try_files $uri /index.php?q=$uri&$args;
-}
-
-location ~ ^/wp-admin {
- try_files $uri $uri/index.php?$args;
-}
diff --git a/appengine/wordpress/src/files/flexible/php.ini b/appengine/wordpress/src/files/flexible/php.ini
deleted file mode 100644
index 598ba94a70..0000000000
--- a/appengine/wordpress/src/files/flexible/php.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-extension=bcmath.so
-extension=gd.so
-zend_extension=opcache.so
diff --git a/appengine/wordpress/src/files/flexible/wp-config.php b/appengine/wordpress/src/files/flexible/wp-config.php
deleted file mode 100644
index a6a8a43693..0000000000
--- a/appengine/wordpress/src/files/flexible/wp-config.php
+++ /dev/null
@@ -1,124 +0,0 @@
-registerStreamWrapper();
-
-// $onGae is true on production.
-$onGae = (getenv('GAE_VERSION') !== false);
-
-// Disable pseudo cron behavior
-define('DISABLE_WP_CRON', true);
-
-// Determine HTTP or HTTPS, then set WP_SITEURL and WP_HOME
-if (isset($_SERVER['HTTP_HOST'])) {
- define('HTTP_HOST', $_SERVER['HTTP_HOST']);
-} else {
- define('HTTP_HOST', 'localhost');
-}
-// Use https on production.
-define('WP_HOME', $onGae ? 'https://' . HTTP_HOST : 'http://' . HTTP_HOST);
-define('WP_SITEURL', $onGae ? 'https://' . HTTP_HOST : 'http://' . HTTP_HOST);
-
-// Force SSL for admin pages
-define('FORCE_SSL_ADMIN', $onGae);
-
-// ** MySQL settings - You can get this info from your web host ** //
-if ($onGae) {
- /** Production environment */
- define('DB_HOST', ':/cloudsql/{{db_connection}}');
- /** The name of the database for WordPress */
- define('DB_NAME', '{{db_name}}');
- /** MySQL database username */
- define('DB_USER', '{{db_user}}');
- /** MySQL database password */
- define('DB_PASSWORD', '{{db_password}}');
-} else {
- /** Local environment */
- define('DB_HOST', '127.0.0.1');
- /** The name of the database for WordPress */
- define('DB_NAME', '{{db_name}}');
- /** MySQL database username */
- define('DB_USER', '{{local_db_user}}');
- /** MySQL database password */
- define('DB_PASSWORD', '{{local_db_password}}');
-}
-
-/** Database Charset to use in creating database tables. */
-define('DB_CHARSET', 'utf8');
-
-/** The Database Collate type. Don't change this if in doubt. */
-define('DB_COLLATE', '');
-
-/**#@+
- * Authentication Unique Keys and Salts.
- *
- * Change these to different unique phrases!
- * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
- * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
- *
- * @since 2.6.0
- */
-
-define('AUTH_KEY', '{{auth_key}}');
-define('SECURE_AUTH_KEY', '{{secure_auth_key}}');
-define('LOGGED_IN_KEY', '{{logged_in_key}}');
-define('NONCE_KEY', '{{nonce_key}}');
-define('AUTH_SALT', '{{auth_salt}}');
-define('SECURE_AUTH_SALT', '{{secure_auth_salt}}');
-define('LOGGED_IN_SALT', '{{logged_in_salt}}');
-define('NONCE_SALT', '{{nonce_salt}}');
-
-/**#@-*/
-
-/**
- * WordPress Database Table prefix.
- *
- * You can have multiple installations in one database if you give each
- * a unique prefix. Only numbers, letters, and underscores please!
- */
-$table_prefix = 'wp_';
-
-/**
- * For developers: WordPress debugging mode.
- *
- * Change this to true to enable the display of notices during development.
- * It is strongly recommended that plugin and theme developers use WP_DEBUG
- * in their development environments.
- *
- * For information on other constants that can be used for debugging,
- * visit the Codex.
- *
- * @link https://codex.wordpress.org/Debugging_in_WordPress
- */
-define('WP_DEBUG', !$onGae);
-
-/* That's all, stop editing! Happy blogging. */
-
-/** Absolute path to the WordPress directory. */
-if (!defined('ABSPATH')) {
- define('ABSPATH', dirname(__FILE__) . '/');
-}
-
-/** Sets up WordPress vars and included files. */
-require_once(ABSPATH . 'wp-settings.php');
diff --git a/appengine/wordpress/src/files/standard/app.yaml b/appengine/wordpress/src/files/standard/app.yaml
deleted file mode 100644
index 4dc580a270..0000000000
--- a/appengine/wordpress/src/files/standard/app.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-runtime: php55
-api_version: 1
-
-handlers:
-- url: /(.*\.(htm|html|css|js))
- static_files: wordpress/\1
- upload: wordpress/.*\.(htm|html|css|js)$
- application_readable: true
-
-- url: /wp-content/(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg))
- static_files: wordpress/wp-content/\1
- upload: wordpress/wp-content/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)$
- application_readable: true
-
-- url: /(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg))
- static_files: wordpress/\1
- upload: wordpress/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)$
- application_readable: true
-
-- url: /wp-includes/images/media/(.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg))
- static_files: wordpress/wp-includes/images/media/\1
- upload: wordpress/wp-includes/images/media/.*\.(ico|jpg|jpeg|png|gif|woff|ttf|otf|eot|svg)$
- application_readable: true
-
-- url: /wp-admin/(.+)
- script: wordpress/wp-admin/\1
- secure: always
-
-- url: /wp-admin/
- script: wordpress/wp-admin/index.php
- secure: always
-
-- url: /wp-login.php
- script: wordpress/wp-login.php
- secure: always
-
-- url: /wp-cron.php
- script: wordpress/wp-cron.php
- login: admin
-
-- url: /xmlrpc.php
- script: wordpress/xmlrpc.php
-
-- url: /wp-(.+).php
- script: wordpress/wp-\1.php
-
-- url: /(.+)?/?
- script: wordpress/index.php
-
-skip_files:
-- ^(.*/)?\.zip$
-- ^(.*/)?\.bat$
-- ^(.*/)?\.sh$
-- ^(.*/)?\.md$
-- ^vendor
diff --git a/appengine/wordpress/src/files/standard/composer.json b/appengine/wordpress/src/files/standard/composer.json
deleted file mode 100644
index ae32f28c04..0000000000
--- a/appengine/wordpress/src/files/standard/composer.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "require-dev": {
- "wp-cli/wp-cli": "~1.1"
- }
-}
diff --git a/appengine/wordpress/src/files/standard/cron.yaml b/appengine/wordpress/src/files/standard/cron.yaml
deleted file mode 100644
index 694aab5231..0000000000
--- a/appengine/wordpress/src/files/standard/cron.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-cron:
-- description: "wordpress cron tasks"
- url: /wp-cron.php
- schedule: every 15 minutes
diff --git a/appengine/wordpress/src/files/standard/php.ini b/appengine/wordpress/src/files/standard/php.ini
deleted file mode 100644
index 5fe2210a35..0000000000
--- a/appengine/wordpress/src/files/standard/php.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-google_app_engine.enable_functions = "php_sapi_name, gc_enabled"
-allow_url_include = "1"
-upload_max_filesize = 8M
-
-; enable downloading files for localhost
-google_app_engine.disable_readonly_filesystem = 1
diff --git a/appengine/wordpress/src/files/standard/wp-config.php b/appengine/wordpress/src/files/standard/wp-config.php
deleted file mode 100644
index d179266696..0000000000
--- a/appengine/wordpress/src/files/standard/wp-config.php
+++ /dev/null
@@ -1,127 +0,0 @@
- 0,
- 'max_age' => 30 * 60, // 30 minutes
- 'debug' => false
-];
-
-// Disable pseudo cron behavior
-define('DISABLE_WP_CRON', true);
-
-// Determine HTTP or HTTPS, then set WP_SITEURL and WP_HOME
-if ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')
- || (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443)) {
- $protocol_to_use = 'https://';
-} else {
- $protocol_to_use = 'http://';
-}
-if (isset($_SERVER['HTTP_HOST'])) {
- define('HTTP_HOST', $_SERVER['HTTP_HOST']);
-} else {
- define('HTTP_HOST', 'localhost');
-}
-define('WP_SITEURL', $protocol_to_use . HTTP_HOST);
-define('WP_HOME', $protocol_to_use . HTTP_HOST);
-
-// ** MySQL settings - You can get this info from your web host ** //
-if ($onGae) {
- /** The name of the Cloud SQL database for WordPress */
- define('DB_NAME', '{{db_name}}');
- /** Production login info */
- define('DB_HOST', ':/cloudsql/{{db_connection}}');
- define('DB_USER', '{{db_user}}');
- define('DB_PASSWORD', '{{db_password}}');
-} else {
- /** The name of the local database for WordPress */
- define('DB_NAME', '{{db_name}}');
- /** Local environment MySQL login info */
- define('DB_HOST', '127.0.0.1');
- define('DB_USER', '{{local_db_user}}');
- define('DB_PASSWORD', '{{local_db_password}}');
-}
-
-/** Database Charset to use in creating database tables. */
-define('DB_CHARSET', 'utf8');
-
-/** The Database Collate type. Don't change this if in doubt. */
-define('DB_COLLATE', '');
-
-/**#@+
- * Authentication Unique Keys and Salts.
- *
- * Change these to different unique phrases!
- * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
- * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
- *
- * @since 2.6.0
- */
-define('AUTH_KEY', '{{auth_key}}');
-define('SECURE_AUTH_KEY', '{{secure_auth_key}}');
-define('LOGGED_IN_KEY', '{{logged_in_key}}');
-define('NONCE_KEY', '{{nonce_key}}');
-define('AUTH_SALT', '{{auth_salt}}');
-define('SECURE_AUTH_SALT', '{{secure_auth_salt}}');
-define('LOGGED_IN_SALT', '{{logged_in_salt}}');
-define('NONCE_SALT', '{{nonce_salt}}');
-
-/**#@-*/
-/**
- * WordPress Database Table prefix.
- *
- * You can have multiple installations in one database if you give each a unique
- * prefix. Only numbers, letters, and underscores please!
- */
-$table_prefix = 'wp_';
-
-/**
- * WordPress Localized Language, defaults to English.
- *
- * Change this to localize WordPress. A corresponding MO file for the chosen
- * language must be installed to wp-content/languages. For example, install
- * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
- * language support.
- */
-define('WPLANG', '');
-
-/**
- * For developers: WordPress debugging mode.
- *
- * Change this to true to enable the display of notices during development.
- * It is strongly recommended that plugin and theme developers use WP_DEBUG
- * in their development environments.
- */
-define('WP_DEBUG', !$onGae);
-
-/* That's all, stop editing! Happy blogging. */
-/** Absolute path to the WordPress directory. */
-if (!defined('ABSPATH')) {
- define('ABSPATH', dirname(__FILE__) . '/wordpress/');
-}
-
-/** Sets up WordPress vars and included files. */
-require_once(ABSPATH . 'wp-settings.php');
diff --git a/appengine/wordpress/test/DeployFlexTest.php b/appengine/wordpress/test/DeployFlexTest.php
deleted file mode 100644
index bd75e990e2..0000000000
--- a/appengine/wordpress/test/DeployFlexTest.php
+++ /dev/null
@@ -1,131 +0,0 @@
-client = new Client(['base_uri' => $url]);
- }
-
- public function testIndex()
- {
- // Access the blog top page
- $resp = $this->client->get('');
- $this->assertEquals('200', $resp->getStatusCode(),
- 'top page status code');
- $this->assertContains(
- 'I am very glad that you are testing WordPress instalation.',
- $resp->getBody()->getContents());
- }
-}
diff --git a/appengine/wordpress/test/DeployStandardTest.php b/appengine/wordpress/test/DeployStandardTest.php
deleted file mode 100644
index fe2105618a..0000000000
--- a/appengine/wordpress/test/DeployStandardTest.php
+++ /dev/null
@@ -1,131 +0,0 @@
-client = new Client(['base_uri' => $url]);
- }
-
- public function testIndex()
- {
- // Access the blog top page
- $resp = $this->client->get('');
- $this->assertEquals('200', $resp->getStatusCode(),
- 'top page status code');
- $this->assertContains(
- 'I am very glad that you are testing WordPress instalation.',
- $resp->getBody()->getContents());
- }
-}
diff --git a/appengine/wordpress/wordpress-helper.php b/appengine/wordpress/wordpress-helper.php
deleted file mode 100644
index 1131d78e56..0000000000
--- a/appengine/wordpress/wordpress-helper.php
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env php
-add($command);
-$application->run();
diff --git a/bigquery/api/README.md b/bigquery/api/README.md
deleted file mode 100644
index fadd2c6d9b..0000000000
--- a/bigquery/api/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# Google BigQuery PHP Sample Application
-
-## Description
-
-This simple command-line application demonstrates how to invoke Google BigQuery from PHP.
-
-## Build and Run
-1. **Enable APIs** - [Enable the BigQuery API](https://console.cloud.google.com/flows/enableapi?apiid=bigquery)
- and create a new project or select an existing project.
-2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click "New Credentials"
- and select "Service Account Key". Create a new service account, use the JSON key type, and
- select "Create". Once downloaded, set the environment variable `GOOGLE_APPLICATION_CREDENTIALS`
- to the path of the JSON key that was downloaded.
-3. **Clone the repo** and cd into this directory
-
- ```sh
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/bigquery/api
-```
-4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-5. Run `php bigquery.php`. The following commands are available:
-
- ```sh
- browse-table Browse a BigQuery table
- datasets List BigQuery datasets
- export Export data from a BigQuery table into a Cloud Storage bucket
- import Import data into a BigQuery table
- projects List BigQuery projects
- query Run a BigQuery query
- schema Create or delete a table schema in BigQuery
- tables List BigQuery tables
-6. Run `php bigquery.php COMMAND --help` to print information about the usage of each command.
-```
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
diff --git a/bigquery/api/bigquery.php b/bigquery/api/bigquery.php
deleted file mode 100644
index 90d141b255..0000000000
--- a/bigquery/api/bigquery.php
+++ /dev/null
@@ -1,40 +0,0 @@
-add(new BrowseTableCommand());
-$application->add(new CopyTableCommand());
-$application->add(new DatasetsCommand());
-$application->add(new ExportCommand());
-$application->add(new ImportCommand());
-$application->add(new ProjectsCommand());
-$application->add(new QueryCommand());
-$application->add(new SchemaCommand());
-$application->add(new TablesCommand());
-$application->run();
diff --git a/bigquery/api/composer.json b/bigquery/api/composer.json
deleted file mode 100644
index 89c2660fdd..0000000000
--- a/bigquery/api/composer.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "require": {
- "google/cloud-bigquery": "^0.2",
- "google/cloud-storage": "^1.0",
- "symfony/console": "^3.0"
- },
- "require-dev": {
- "google/cloud-tools": "^0.6",
- "phpunit/phpunit": "~4"
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Samples\\BigQuery\\": "src/"
- },
- "files": [
- "src/functions/browse_table.php",
- "src/functions/copy_table.php",
- "src/functions/create_dataset.php",
- "src/functions/create_table.php",
- "src/functions/delete_table.php",
- "src/functions/export_table.php",
- "src/functions/import_from_file.php",
- "src/functions/import_from_storage.php",
- "src/functions/insert_sql.php",
- "src/functions/list_datasets.php",
- "src/functions/list_projects.php",
- "src/functions/list_tables.php",
- "src/functions/run_query.php",
- "src/functions/run_query_as_job.php",
- "src/functions/stream_row.php"
- ]
- }
-}
diff --git a/bigquery/api/composer.lock b/bigquery/api/composer.lock
deleted file mode 100644
index 546b6125ae..0000000000
--- a/bigquery/api/composer.lock
+++ /dev/null
@@ -1,2191 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "255a9aa6b04703dd5804c87eb8750d36",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-bigquery",
- "version": "v0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-bigquery.git",
- "reference": "08014e435c1d1f757610c410a81e51512d48e79d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-bigquery/zipball/08014e435c1d1f757610c410a81e51512d48e79d",
- "reference": "08014e435c1d1f757610c410a81e51512d48e79d",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/cloud-storage": "Makes it easier to load data from Cloud Storage into BigQuery"
- },
- "type": "library",
- "extra": {
- "component": {
- "displayName": "Google Cloud BigQuery",
- "id": "cloud-bigquery",
- "target": "GoogleCloudPlatform/google-cloud-php-bigquery.git",
- "path": "src/BigQuery",
- "entry": "BigQueryClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\BigQuery\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "BigQuery Client for PHP",
- "time": "2017-05-18T15:22:19+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "google/cloud-storage",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-storage.git",
- "reference": "459953f5879497fe61ffea2359bd06c801f60be1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-storage/zipball/459953f5879497fe61ffea2359bd06c801f60be1",
- "reference": "459953f5879497fe61ffea2359bd06c801f60be1",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-storage",
- "target": "GoogleCloudPlatform/google-cloud-php-storage.git",
- "path": "src/Storage",
- "entry": "StorageClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Storage\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Storage Client for PHP",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "c80e63f3f5e3a331bfc25e6e9332b10422eb9b05"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/c80e63f3f5e3a331bfc25e6e9332b10422eb9b05",
- "reference": "c80e63f3f5e3a331bfc25e6e9332b10422eb9b05",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-28T14:08:56+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "ef5f19a7a68075a0bd05969a329ead3b0776fb7a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/ef5f19a7a68075a0bd05969a329ead3b0776fb7a",
- "reference": "ef5f19a7a68075a0bd05969a329ead3b0776fb7a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-27T16:02:27+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2016-11-14T01:06:16+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "google/cloud-tools",
- "version": "v0.6.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/php-tools.git",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/php-tools/zipball/90ecc5e371673078cf0fc71d442fd21415c277c3",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "php": ">=5.5",
- "phpunit/phpunit": "~4|~5",
- "symfony/browser-kit": "~2|~3",
- "symfony/process": "~2|~3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\TestUtils\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "authors": [
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com",
- "homepage": "https://wp.gaeflex.ninja/"
- }
- ],
- "description": "PHP tools for Google Cloud Platform",
- "homepage": "https://github.com/GoogleCloudPlatform/php-tools",
- "keywords": [
- "appengine",
- "gcp",
- "test"
- ],
- "time": "2017-02-23T22:19:51+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1",
- "reference": "c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/dom-crawler": "~2.8|~3.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-04-12T14:14:56+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "fc2c588ce376e9fe04a7b8c79e3ec62fe32d95b1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/fc2c588ce376e9fe04a7b8c79e3ec62fe32d95b1",
- "reference": "fc2c588ce376e9fe04a7b8c79e3ec62fe32d95b1",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-25T23:10:31+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "8e30690c67aafb6c7992d6d8eb0d707807dd3eaf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/8e30690c67aafb6c7992d6d8eb0d707807dd3eaf",
- "reference": "8e30690c67aafb6c7992d6d8eb0d707807dd3eaf",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-22T12:32:03+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "885db865f6b2b918404a1fae28f9ac640f71f994"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/885db865f6b2b918404a1fae28f9ac640f71f994",
- "reference": "885db865f6b2b918404a1fae28f9ac640f71f994",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-28T10:56:20+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/bigquery/api/phpunit.xml.dist b/bigquery/api/phpunit.xml.dist
deleted file mode 100644
index 3587a066b4..0000000000
--- a/bigquery/api/phpunit.xml.dist
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- bigquery.php
- ./src
-
-
-
diff --git a/bigquery/api/src/BrowseTableCommand.php b/bigquery/api/src/BrowseTableCommand.php
deleted file mode 100644
index 8ad600f9f8..0000000000
--- a/bigquery/api/src/BrowseTableCommand.php
+++ /dev/null
@@ -1,98 +0,0 @@
-setName('browse-table')
- ->setDescription('Browse a BigQuery table')
- ->setHelp(<<
%command.name% command outputs the rows of a BigQuery table.
-
- php %command.full_name% DATASET.TABLE
-
-EOF
- )
- ->addArgument(
- 'dataset.table',
- InputArgument::REQUIRED,
- 'The dataset to list tables'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'max-results',
- null,
- InputOption::VALUE_REQUIRED,
- 'The number of rows to return on each API call.',
- 10
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->detectProjectId();
- }
- $maxResults = $input->getOption('max-results');
- $fullTableName = $input->getArgument('dataset.table');
- if (1 !== substr_count($fullTableName, '.')) {
- throw new InvalidArgumentException('Table must in the format "dataset.table"');
- }
- list($datasetId, $tableId) = explode('.', $fullTableName);
-
- // create the function to determine if we should paginate
- $question = $this->getHelper('question');
- $q = new ConfirmationQuestion('[Press enter for next page, "n" to exit]');
- $shouldPaginate = function () use ($input, $output, $question, $q) {
- if (!$input->isInteractive()) {
- return false;
- }
-
- return $question->ask($input, $output, $q);
- };
-
- $totalRows = paginate_table($projectId, $datasetId, $tableId, $maxResults, $shouldPaginate);
-
- printf('Found %s row(s)' . PHP_EOL, $totalRows);
- }
-}
diff --git a/bigquery/api/src/CopyTableCommand.php b/bigquery/api/src/CopyTableCommand.php
deleted file mode 100644
index abfec0fa9c..0000000000
--- a/bigquery/api/src/CopyTableCommand.php
+++ /dev/null
@@ -1,100 +0,0 @@
-setName('copy-table')
- ->setDescription('Copy a BigQuery table into another BigQuery table')
- ->setHelp(<<%command.name% command copies your data and schema from a BigQuery
-table into another BigQuery Table.
-
- php %command.full_name% DATASET SOURCE_TABLE DESTINATION_TABLE
-
-
-EOF
- )
- ->addArgument(
- 'dataset',
- InputArgument::REQUIRED,
- 'The dataset for the copy'
- )
- ->addArgument(
- 'source-table',
- InputArgument::REQUIRED,
- 'The BigQuery table to copy from'
- )
- ->addArgument(
- 'destination-table',
- InputArgument::REQUIRED,
- 'The BigQuery table to copy to'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $datasetId = $input->getArgument('dataset');
- $sourceTableId = $input->getArgument('source-table');
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $sourceTable = $dataset->table($sourceTableId);
- $destinationTableId = $input->getArgument('destination-table');
- if (!$dataset->exists()) {
- throw new InvalidArgumentException('The supplied dataset does not exist for this project');
- }
- if (!$sourceTable->exists()) {
- throw new InvalidArgumentException('The supplied source table does not exist for this project. ');
- }
- $message = sprintf('Copying table for project %s ', $projectId);
- $output->writeln($message);
-
- copy_table($projectId, $datasetId, $sourceTableId, $destinationTableId);
- }
-}
diff --git a/bigquery/api/src/DatasetsCommand.php b/bigquery/api/src/DatasetsCommand.php
deleted file mode 100644
index cdc2aadd11..0000000000
--- a/bigquery/api/src/DatasetsCommand.php
+++ /dev/null
@@ -1,63 +0,0 @@
-setName('datasets')
- ->setDescription('List BigQuery datasets')
- ->setHelp(<<%command.name% command lists all the datasets associated with your project.
-
- php %command.full_name%
-
-EOF
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- list_datasets($projectId);
- }
-}
diff --git a/bigquery/api/src/ExportCommand.php b/bigquery/api/src/ExportCommand.php
deleted file mode 100644
index b2e3e27825..0000000000
--- a/bigquery/api/src/ExportCommand.php
+++ /dev/null
@@ -1,126 +0,0 @@
-setName('export')
- ->setDescription('Export data from a BigQuery table into a Cloud Storage bucket')
- ->setHelp(<<%command.name% command exports your data from BigQuery into
-Google Cloud Storage.
-
-Export a CSV file
-
- php %command.full_name% DATASET.TABLE gs://my_bucket/my_object
-
-Export a JSON file
-
- php %command.full_name% DATASET.TABLE gs://my_bucket/my_object --format=JSON
-
-EOF
- )
- ->addArgument(
- 'dataset.table',
- InputArgument::REQUIRED,
- 'The destination table for the import'
- )
- ->addArgument(
- 'destination',
- InputArgument::REQUIRED,
- 'The fully walified path to a Google Cloud Storage location. ' .
- 'e.g. gs://mybucket/myfolder/'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )->addOption(
- 'format',
- null,
- InputOption::VALUE_REQUIRED,
- 'The format to export in. One of "csv", "json", or "avro".',
- 'csv'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $fullTableName = $input->getArgument('dataset.table');
- if (1 !== substr_count($fullTableName, '.')) {
- throw new InvalidArgumentException('Table must in the format "dataset.table"');
- }
- list($datasetId, $tableId) = explode('.', $fullTableName);
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
- $destination = $input->getArgument('destination');
- if (!$dataset->exists()) {
- throw new InvalidArgumentException('The supplied dataset does not exist for this project');
- }
- if (!$table->exists()) {
- throw new InvalidArgumentException('The supplied table does not exist for this project. ');
- }
- $message = sprintf('Exporting table for project %s ', $projectId);
- $output->writeln($message);
-
- if (0 !== strpos($destination, 'gs://')) {
- throw new InvalidArgumentException('Destination must start with "gs://" for Cloud Storage');
- }
- $destination = substr($destination, 5);
- if (false === strpos($destination, '/')) {
- throw new InvalidArgumentException('Destination does not contain object name');
- }
- list($bucketName, $objectName) = explode('/', $destination, 2);
- $format = strtoupper($input->getOption('format'));
- if ($format === 'JSON') {
- $format = 'NEWLINE_DELIMITED_JSON';
- }
- if (!in_array($format, ['CSV', 'NEWLINE_DELIMITED_JSON', 'AVRO'])) {
- throw new InvalidArgumentException('Invalid format');
- }
-
- export_table($projectId, $datasetId, $tableId, $bucketName, $objectName, $format);
- }
-}
diff --git a/bigquery/api/src/ImportCommand.php b/bigquery/api/src/ImportCommand.php
deleted file mode 100644
index 382316a886..0000000000
--- a/bigquery/api/src/ImportCommand.php
+++ /dev/null
@@ -1,166 +0,0 @@
-setName('import')
- ->setDescription('Import data into a BigQuery table')
- ->setHelp(<<%command.name% command imports your data into BigQuery from
-a file, Datastore, or Cloud Storage.
-
-Import a JSON file
-
- php %command.full_name% DATASET.TABLE /path/to/my_data.json
-
-Import from Google Cloud Storage
-
- php %command.full_name% DATASET.TABLE gs://my_bucket/my_data.csv
-
-Import from Google Datastore
-
- php %command.full_name% DATASET.TABLE gs://my_bucket/datastore_entity.backup_info
-
-Stream data into BigQuery
-
- php %command.full_name% DATASET.TABLE
-
-EOF
- )
- ->addArgument(
- 'dataset.table',
- InputArgument::REQUIRED,
- 'The destination table for the import'
- )
- ->addArgument(
- 'source',
- InputArgument::OPTIONAL,
- 'The filepath, datastore key, or GCS object path to use.'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $question = $this->getHelper('question');
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $message = sprintf('Using project %s ', $projectId);
- $output->writeln($message);
- $source = $input->getArgument('source');
- $isSqlImport = 'sql' === substr((string) $source, -3);
- $isDatastoreBackup = '.backup_info' === substr($source, -12);
- $fullTableName = $input->getArgument('dataset.table');
- if (1 !== substr_count($fullTableName, '.')) {
- if (!$isSqlImport) {
- throw new InvalidArgumentException('Table must in the format "dataset.table"');
- }
- list($datasetId, $tableId) = [$fullTableName, ''];
- } else {
- list($datasetId, $tableId) = explode('.', $fullTableName);
- }
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
- if (!$dataset->exists()) {
- throw new InvalidArgumentException('The supplied dataset does not exist for this project');
- }
- if (!$isDatastoreBackup && !$isSqlImport) {
- if (!$table->exists()) {
- throw new InvalidArgumentException('The supplied table does not exist for this project. ' .
- 'Create a schema in the UI or use the "schema" command');
- }
- }
- if (empty($source)) {
- $info = $table->info();
- $data = $this->getRowData($info['schema']['fields'], $question, $input, $output);
- stream_row($projectId, $datasetId, $tableId, $data);
- } elseif (0 === strpos($source, 'gs://')) {
- $source = substr($source, 5);
- if (false === strpos($source, '/')) {
- throw new InvalidArgumentException('Source does not contain object name');
- }
- list($bucketName, $objectName) = explode('/', $source, 2);
- import_from_storage($projectId, $datasetId, $tableId, $bucketName, $objectName);
- } else {
- if (!(file_exists($source) && is_readable($source))) {
- throw new InvalidArgumentException('Source file does not exist or is not readable');
- }
- if ($isSqlImport) {
- insert_sql($projectId, $datasetId, $source);
- } else {
- import_from_file($projectId, $datasetId, $tableId, $source);
- }
- }
- }
-
- private function getRowData($fields, $question, $input, $output)
- {
- $data = [];
- foreach ($fields as $field) {
- if ($field['type'] === 'RECORD') {
- throw new Exception('Field type RECORD not supported for streaming. Use JSON or Datastore');
- }
- $required = $field['mode'] === 'REQUIRED';
- $repeated = $askAgain = $field['mode'] === 'REPEATED';
- $q = new Question(sprintf('%s%s: ', $field['name'], $required ? ' (required)' : ''));
- $answers = [];
- do {
- if ($answer = $question->ask($input, $output, $q)) {
- $answers[] = $answer;
- } else {
- $askAgain = false;
- }
- } while ($askAgain);
- $data[$field['name']] = $repeated ? $answers : array_shift($answers);
- }
-
- return $data;
- }
-}
diff --git a/bigquery/api/src/ProjectIdTrait.php b/bigquery/api/src/ProjectIdTrait.php
deleted file mode 100644
index 453d330bec..0000000000
--- a/bigquery/api/src/ProjectIdTrait.php
+++ /dev/null
@@ -1,36 +0,0 @@
-/dev/null", $output, $return_var);
-
- if (0 === $return_var) {
- return array_pop($output);
- }
-
- throw new \Exception('Could not derive a project ID from gcloud. ' .
- 'You must supply a project ID using --project');
- }
-}
diff --git a/bigquery/api/src/ProjectsCommand.php b/bigquery/api/src/ProjectsCommand.php
deleted file mode 100644
index b2a4b0075b..0000000000
--- a/bigquery/api/src/ProjectsCommand.php
+++ /dev/null
@@ -1,72 +0,0 @@
-setName('projects')
- ->setDescription('List BigQuery projects')
- ->setHelp(<<%command.name% command lists all the projects associated with BigQuery.
-
- php %command.full_name%
-
-EOF
- )
- ->addOption(
- 'max-results',
- null,
- InputOption::VALUE_REQUIRED,
- 'The maximum number of projects to list.',
- 50
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$keyFile = CredentialsLoader::fromWellKnownFile()) {
- throw new Exception('Could not derive a key file. Run "gcloud auth login".');
- }
- list_projects($input->getOption('max-results'));
- }
-
- private function getAccessTokenFromGcloud()
- {
- exec('gcloud beta auth application-default print-access-token 2>/dev/null', $output, $return_var);
-
- if (0 === $return_var) {
- return array_pop($output);
- }
- }
-}
diff --git a/bigquery/api/src/QueryCommand.php b/bigquery/api/src/QueryCommand.php
deleted file mode 100644
index e83768557c..0000000000
--- a/bigquery/api/src/QueryCommand.php
+++ /dev/null
@@ -1,114 +0,0 @@
-setName('query')
- ->setDescription('Run a BigQuery query')
- ->setHelp(<<%command.name% command queries your dataset.
-
- %command.full_name% "SELECT TOP(corpus, 3) as title, COUNT(*) as unique_words FROM [publicdata:samples.shakespeare]"
-
-EOF
- )
- ->addArgument(
- 'query',
- InputArgument::OPTIONAL,
- 'The query to run'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'sync',
- null,
- InputOption::VALUE_NONE,
- 'run the query syncronously'
- )
- ->addOption(
- 'standard-sql',
- null,
- InputOption::VALUE_NONE,
- 'run the query using standard SQL instead of legacy SQL syntax'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $question = $this->getHelper('question');
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $message = sprintf('Running query for project %s ', $projectId);
- $output->writeln($message);
- if (!$query = $input->getArgument('query')) {
- if ($input->isInteractive()) {
- $q = new Question('Enter your query: ');
- $query = $question->ask($input, $output, $q);
- } else {
- throw new Exception('You must supply a query argument');
- }
- }
-
- try {
- if ($input->getOption('sync')) {
- run_query(
- $projectId,
- $query,
- !$input->getOption('standard-sql'));
- } else {
- run_query_as_job(
- $projectId,
- $query,
- !$input->getOption('standard-sql'));
- }
- } catch (BadRequestException $e) {
- $response = $e->getServiceException()->getResponse();
- $errorJson = json_decode((string) $response->getBody(), true);
- $error = $errorJson['error']['errors'][0]['message'];
- $output->writeln(sprintf('%s ', $error));
- throw $e;
- }
- }
-}
diff --git a/bigquery/api/src/SchemaCommand.php b/bigquery/api/src/SchemaCommand.php
deleted file mode 100644
index d10e54e377..0000000000
--- a/bigquery/api/src/SchemaCommand.php
+++ /dev/null
@@ -1,268 +0,0 @@
-setName('schema')
- ->setDescription('Create or delete a table schema in BigQuery')
- ->setHelp(<<%command.name% command is a tool for creating a BigQuery table
-and defining a schema.
-
- php %command.full_name% DATASET path/to/schema.json
-
-If a schema file is not supplied, you can create a schema interactively.
-
- php %command.full_name% DATASET
-
-The %command.name% command also allows the deletion of tables.
-
- php %command.full_name% DATASET.TABLE --delete
-
-EOF
- )
- ->addArgument(
- 'dataset.table',
- InputArgument::REQUIRED,
- 'The table to be created or deleted'
- )
- ->addArgument(
- 'schema-json',
- InputArgument::OPTIONAL,
- 'A file containing a JSON schema for the table'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'delete',
- null,
- InputOption::VALUE_NONE,
- 'Provide this option without a "schema-json" argument to delete the BigQuery table'
- )
- ->addOption(
- 'no-confirmation',
- null,
- InputOption::VALUE_NONE,
- 'If set, this utility will not prompt when deleting a table with "--delete"'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $question = $this->getHelper('question');
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $message = sprintf('Using project %s ', $projectId);
- $output->writeln($message);
-
- $fullTableName = $input->getArgument('dataset.table');
- if (1 !== substr_count($fullTableName, '.')) {
- throw new InvalidArgumentException('Table must in the format "dataset.table"');
- }
- list($datasetId, $tableId) = explode('.', $fullTableName);
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
- if (!$dataset->exists()) {
- if ($input->getOption('delete')) {
- throw new InvalidArgumentException('The supplied dataset does not exist');
- }
- if (!$input->getOption('no-confirmation')) {
- if (!$input->isInteractive()) {
- throw new LogicException('"no-confirmation" is required to create a dataset if the command is not interactive');
- }
- $message = sprintf('Dataset %s does not exist. Create it? [y/n]: ', $datasetId);
- $q = new ConfirmationQuestion($message);
- if (!$question->ask($input, $output, $q)) {
- return $output->writeln('Task cancelled by user. ');
- }
- }
- $dataset = create_dataset($projectId, $datasetId);
- }
-
- if ($input->getOption('delete')) {
- if ($input->getArgument('schema-json')) {
- throw new LogicException('Cannot supply "--delete" with the "schema-json" argument');
- }
- if (!$table->exists()) {
- throw new InvalidArgumentException('The supplied table does not exist');
- }
- if (!$input->isInteractive() && !$input->getOption('no-confirmation')) {
- throw new LogicException(
- '"no-confirmation" is required for deletion if the command is not interactive');
- }
- if (!$input->getOption('no-confirmation')) {
- $message = sprintf(
- 'Are you sure you want to delete the BigQuery table "%s"? [y/n]: ',
- $tableId
- );
- if (!$question->ask($input, $output, new ConfirmationQuestion($message))) {
- return $output->writeln('Task cancelled by user. ');
- }
- }
- delete_table($projectId, $datasetId, $tableId);
-
- return $output->writeln('Table deleted successfully ');
- } elseif ($file = $input->getArgument('schema-json')) {
- $fields = json_decode(file_get_contents($file), true);
- } else {
- if (!$input->isInteractive()) {
- throw new LogicException(
- '"schema-json" is required if the command is not interactive');
- }
- $fields = $this->getFieldSchema($question, $input, $output);
- }
- $fieldsJson = json_encode($fields, JSON_PRETTY_PRINT);
- $message = $fieldsJson . "\nDoes this schema look correct? [y/n]: ";
- if ($input->isInteractive()) {
- if (!$question->ask($input, $output, new ConfirmationQuestion($message))) {
- return $output->writeln('Task cancelled by user. ');
- }
- }
- try {
- $schema = ['fields' => $fields];
- create_table($projectId, $datasetId, $tableId, $schema);
- } catch (BadRequestException $e) {
- $response = $e->getServiceException()->getResponse();
- $errorJson = json_decode((string) $response->getBody(), true);
- $error = $errorJson['error']['errors'][0]['message'];
- $output->writeln(sprintf('%s ', $error));
- throw $e;
- }
-
- $output->writeln('Table created successfully ');
- }
-
- private function getFieldSchema($question, $input, $output, $prefix = '')
- {
- $schema = [];
- $fields = [
- 'name' => null,
- 'type' => [
- 'string',
- 'bytes',
- 'integer',
- 'float',
- 'boolean',
- 'timestamp',
- 'date',
- 'record',
- ],
- 'mode' => [
- 'nullable',
- 'required',
- 'repeated',
- ],
- ];
- for ($i = 0; true; ++$i) {
- $schema[$i] = array();
- foreach ($fields as $field => $choices) {
- $message = sprintf('%s%s column %s',
- $prefix,
- $this->addNumberSuffix($i + 1),
- $field
- );
- if ($choices) {
- $message .= sprintf(' (default: %s): ', $choices[0]);
- $q = new ChoiceQuestion($message, $choices, 0);
- } else {
- $q = new Question($message . ': ');
- }
- $q->setValidator($this->getNotEmptyValidator());
- $value = $question->ask($input, $output, $q);
- $schema[$i][$field] = $choices ? $choices[$value] : $value;
- }
-
- if ($schema[$i]['type'] === 'record') {
- $p = sprintf('%s[%s] ', $prefix, $schema[$i]['name']);
- $schema[$i]['fields'] = $this->getFieldSchema(
- $question,
- $input,
- $output,
- $p
- );
- }
-
- $q = new ConfirmationQuestion(sprintf(
- '%sadd another field? [y/n]: ',
- $prefix
- ));
- if (!$question->ask($input, $output, $q)) {
- break;
- }
- }
-
- return $schema;
- }
-
- private function getNotEmptyValidator()
- {
- return function ($value) {
- if (is_null($value)) {
- throw new InvalidArgumentException('value required');
- }
-
- return $value;
- };
- }
-
- private function addNumberSuffix($i)
- {
- switch ($i % 10) {
- // Handle 1st, 2nd, 3rd
- case 1: return $i . 'st';
- case 2: return $i . 'nd';
- case 3: return $i . 'rd';
- }
-
- return $i . 'th';
- }
-}
diff --git a/bigquery/api/src/TablesCommand.php b/bigquery/api/src/TablesCommand.php
deleted file mode 100644
index 6498442584..0000000000
--- a/bigquery/api/src/TablesCommand.php
+++ /dev/null
@@ -1,71 +0,0 @@
-setName('tables')
- ->setDescription('List BigQuery tables')
- ->setHelp(<<%command.name% command lists all the tables associated with BigQuery.
-
- php %command.full_name% DATASET
-
-EOF
- )
- ->addArgument(
- 'dataset',
- InputArgument::REQUIRED,
- 'The dataset to list tables'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $datasetId = $input->getArgument('dataset');
-
- list_tables($projectId, $datasetId);
- }
-}
diff --git a/bigquery/api/src/functions/bigquery_client.php b/bigquery/api/src/functions/bigquery_client.php
deleted file mode 100644
index d483f841ba..0000000000
--- a/bigquery/api/src/functions/bigquery_client.php
+++ /dev/null
@@ -1,35 +0,0 @@
- $projectId,
-]);
-# [END build_service]
-return $bigQuery;
diff --git a/bigquery/api/src/functions/browse_table.php b/bigquery/api/src/functions/browse_table.php
deleted file mode 100644
index 616f5df70d..0000000000
--- a/bigquery/api/src/functions/browse_table.php
+++ /dev/null
@@ -1,100 +0,0 @@
- $maxResults,
- 'startIndex' => $startIndex
- ];
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
- $numRows = 0;
- foreach ($table->rows($options) as $row) {
- print('---');
- foreach ($row as $column => $value) {
- printf('%s: %s' . PHP_EOL, $column, $value);
- }
- $numRows++;
- }
-
- return $numRows;
-}
-# [END browse_table]
-
-# [START paginate_table]
-/**
- * Paginate through a bigquery table.
- * Example:
- * ```
- * $shouldPaginateFunc = function () {
- * return true; // always paginate
- * }
- * browse_table($projectId, $datasetId, $tableId);
- * ```
- *
- * @param string $projectId The Google project ID.
- * @param string $datasetId The BigQuery dataset ID.
- * @param string $tableId The BigQuery table ID.
- * @param string $maxResults The number of results to return at a time.
- * @param callable $shouldPaginateFunc function to determine if pagination should continue.
- */
-function paginate_table($projectId, $datasetId, $tableId, $maxResults = 10, $shouldPaginateFunc = null)
-{
- if (is_null($shouldPaginateFunc)) {
- $shouldPaginateFunc = function () {
- return true;
- };
- }
- $totalRows = 0;
- do {
- $rows = browse_table($projectId, $datasetId, $tableId, $maxResults, $totalRows);
- $totalRows += $rows;
- } while ($rows && 0 === $totalRows % $maxResults && $shouldPaginateFunc());
-
- return $totalRows;
-}
-# [END paginate_table]
diff --git a/bigquery/api/src/functions/copy_table.php b/bigquery/api/src/functions/copy_table.php
deleted file mode 100644
index 11dca5103d..0000000000
--- a/bigquery/api/src/functions/copy_table.php
+++ /dev/null
@@ -1,63 +0,0 @@
- $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $sourceTable = $dataset->table($sourceTableId);
- $destinationTable = $dataset->table($destinationTableId);
- $job = $sourceTable->copy($destinationTable);
- // poll the job until it is complete
- $backoff = new ExponentialBackoff(10);
- $backoff->execute(function () use ($job) {
- print('Waiting for job to complete' . PHP_EOL);
- $job->reload();
- if (!$job->isComplete()) {
- throw new Exception('Job has not yet completed', 500);
- }
- });
- // check if the job has errors
- if (isset($job->info()['status']['errorResult'])) {
- $error = $job->info()['status']['errorResult']['message'];
- printf('Error running job: %s' . PHP_EOL, $error);
- } else {
- print('Table copied successfully' . PHP_EOL);
- }
-}
-# [END copy_table]
diff --git a/bigquery/api/src/functions/create_dataset.php b/bigquery/api/src/functions/create_dataset.php
deleted file mode 100644
index c2856c8f30..0000000000
--- a/bigquery/api/src/functions/create_dataset.php
+++ /dev/null
@@ -1,41 +0,0 @@
- $projectId,
- ]);
- $dataset = $bigQuery->createDataset($datasetId);
- return $dataset;
-}
-# [END create_dataset]
diff --git a/bigquery/api/src/functions/create_table.php b/bigquery/api/src/functions/create_table.php
deleted file mode 100644
index 1f8af3e7c0..0000000000
--- a/bigquery/api/src/functions/create_table.php
+++ /dev/null
@@ -1,61 +0,0 @@
- 'field1',
- * 'type' => 'string',
- * 'mode' => 'required'
- * ],
- * [
- * 'name' => 'field2',
- * 'type' => 'integer'
- * ],
- * ];
- * $schema = ['fields' => $fields];
- * create_table($projectId, $datasetId, $tableId, $schema);
- * ```
- * @param string $projectId The Google project ID.
- * @param string $datasetId The BigQuery dataset ID.
- * @param string $tableId The BigQuery table ID.
- * @param array $schema The BigQuery table schema.
- */
-function create_table($projectId, $datasetId, $tableId, $schema)
-{
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $options = ['schema' => $schema];
- $table = $dataset->createTable($tableId, $options);
- return $table;
-}
-# [END create_table]
diff --git a/bigquery/api/src/functions/delete_table.php b/bigquery/api/src/functions/delete_table.php
deleted file mode 100644
index 443a5979cf..0000000000
--- a/bigquery/api/src/functions/delete_table.php
+++ /dev/null
@@ -1,45 +0,0 @@
- $projectId,
- ]);
- # [START get_table]
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
- # [END get_table]
- $table->delete();
-}
-# [END delete_table]
diff --git a/bigquery/api/src/functions/export_table.php b/bigquery/api/src/functions/export_table.php
deleted file mode 100644
index 6af478e7b6..0000000000
--- a/bigquery/api/src/functions/export_table.php
+++ /dev/null
@@ -1,72 +0,0 @@
- $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
- // load the storage object
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
- $destinationObject = $storage->bucket($bucketName)->object($objectName);
- // create the export job
- $options = ['jobConfig' => ['destinationFormat' => $format]];
- $job = $table->export($destinationObject, $options);
- // poll the job until it is complete
- $backoff = new ExponentialBackoff(10);
- $backoff->execute(function () use ($job) {
- print('Waiting for job to complete' . PHP_EOL);
- $job->reload();
- if (!$job->isComplete()) {
- throw new Exception('Job has not yet completed', 500);
- }
- });
- // check if the job has errors
- if (isset($job->info()['status']['errorResult'])) {
- $error = $job->info()['status']['errorResult']['message'];
- printf('Error running job: %s' . PHP_EOL, $error);
- } else {
- print('Data exported successfully' . PHP_EOL);
- }
-}
-# [END export_table]
diff --git a/bigquery/api/src/functions/import_from_file.php b/bigquery/api/src/functions/import_from_file.php
deleted file mode 100644
index fc382a020b..0000000000
--- a/bigquery/api/src/functions/import_from_file.php
+++ /dev/null
@@ -1,75 +0,0 @@
- null];
- if ('csv' === $pathInfo['extension']) {
- $options['jobConfig'] = ['sourceFormat' => 'CSV'];
- } elseif ('json' === $pathInfo['extension']) {
- $options['jobConfig'] = ['sourceFormat' => 'NEWLINE_DELIMITED_JSON'];
- } else {
- throw new InvalidArgumentException('Source format unknown. Must be JSON or CSV');
- }
- // instantiate the bigquery table service
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
- // create the import job
- $job = $table->load(fopen($source, 'r'), $options);
- // poll the job until it is complete
- $backoff = new ExponentialBackoff(10);
- $backoff->execute(function () use ($job) {
- printf('Waiting for job to complete' . PHP_EOL);
- $job->reload();
- if (!$job->isComplete()) {
- throw new Exception('Job has not yet completed', 500);
- }
- });
- // check if the job has errors
- if (isset($job->info()['status']['errorResult'])) {
- $error = $job->info()['status']['errorResult']['message'];
- printf('Error running job: %s' . PHP_EOL, $error);
- } else {
- print('Data imported successfully' . PHP_EOL);
- }
-}
-# [END import_from_file]
diff --git a/bigquery/api/src/functions/import_from_storage.php b/bigquery/api/src/functions/import_from_storage.php
deleted file mode 100644
index ee93c4c72f..0000000000
--- a/bigquery/api/src/functions/import_from_storage.php
+++ /dev/null
@@ -1,78 +0,0 @@
- 'DATASTORE_BACKUP'];
- } elseif ('.json' === substr($objectName, -5)) {
- $options['jobConfig'] = ['sourceFormat' => 'NEWLINE_DELIMITED_JSON'];
- }
- // instantiate the bigquery table service
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
- // load the storage object
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
- $object = $storage->bucket($bucketName)->object($objectName);
- // create the import job
- $job = $table->loadFromStorage($object, $options);
- // poll the job until it is complete
- $backoff = new ExponentialBackoff(10);
- $backoff->execute(function () use ($job) {
- print('Waiting for job to complete' . PHP_EOL);
- $job->reload();
- if (!$job->isComplete()) {
- throw new Exception('Job has not yet completed', 500);
- }
- });
- // check if the job has errors
- if (isset($job->info()['status']['errorResult'])) {
- $error = $job->info()['status']['errorResult']['message'];
- printf('Error running job: %s' . PHP_EOL, $error);
- } else {
- print('Data imported successfully' . PHP_EOL);
- }
-}
-# [END import_from_storage]
diff --git a/bigquery/api/src/functions/insert_sql.php b/bigquery/api/src/functions/insert_sql.php
deleted file mode 100644
index 7dc8f26dfb..0000000000
--- a/bigquery/api/src/functions/insert_sql.php
+++ /dev/null
@@ -1,53 +0,0 @@
- $projectId,
- ]);
- // run a sync query for each line of the import
- $file = fopen($source, 'r');
- while ($line = fgets($file)) {
- if (0 !== strpos(trim($line), 'INSERT')) {
- continue;
- }
- $bigQuery->runQuery($line, [
- 'useLegacySql' => false,
- 'defaultDataset' => ['datasetId' => $datasetId],
- ]);
- }
- print('Data imported successfully' . PHP_EOL);
-}
-# [END insert_sql]
diff --git a/bigquery/api/src/functions/list_datasets.php b/bigquery/api/src/functions/list_datasets.php
deleted file mode 100644
index 3e151e0607..0000000000
--- a/bigquery/api/src/functions/list_datasets.php
+++ /dev/null
@@ -1,42 +0,0 @@
- $projectId,
- ]);
- $datasets = $bigQuery->datasets();
- foreach ($datasets as $dataset) {
- print($dataset->id() . PHP_EOL);
- }
-}
-# [END list_datasets]
diff --git a/bigquery/api/src/functions/list_projects.php b/bigquery/api/src/functions/list_projects.php
deleted file mode 100644
index 376012d8eb..0000000000
--- a/bigquery/api/src/functions/list_projects.php
+++ /dev/null
@@ -1,46 +0,0 @@
- $scopes,
- 'keyFile' => $keyFile,
- ]);
- $result = $connection->send('projects', 'list', [
- 'maxResults' => $maxResults,
- ]);
- foreach ($result['projects'] as $project) {
- print($project['id'] . PHP_EOL);
- }
-}
-# [END list_projects]
diff --git a/bigquery/api/src/functions/list_tables.php b/bigquery/api/src/functions/list_tables.php
deleted file mode 100644
index 68e4241512..0000000000
--- a/bigquery/api/src/functions/list_tables.php
+++ /dev/null
@@ -1,58 +0,0 @@
- $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $tables = $dataset->tables();
- foreach ($tables as $table) {
- print($table->id() . PHP_EOL);
- }
-}
-
-/**
- * @param string $projectId The Google project ID.
- * @param string $datasetId The BigQuery dataset ID.
- * @param string $tableId The BigQuery table ID.
- */
-function get_table($projectId, $datasetId, $tableId)
-{
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- return $dataset->table($tableId);
-}
-# [END list_tables]
diff --git a/bigquery/api/src/functions/run_query.php b/bigquery/api/src/functions/run_query.php
deleted file mode 100644
index df5f5a0515..0000000000
--- a/bigquery/api/src/functions/run_query.php
+++ /dev/null
@@ -1,72 +0,0 @@
- $projectId,
- ]);
- # [END build_service]
- # [START run_query]
- $queryResults = $bigQuery->runQuery(
- $query,
- ['useLegacySql' => $useLegacySql]);
- # [END run_query]
-
- # [START print_results]
- if ($queryResults->isComplete()) {
- $i = 0;
- $rows = $queryResults->rows();
- foreach ($rows as $row) {
- printf('--- Row %s ---' . PHP_EOL, ++$i);
- foreach ($row as $column => $value) {
- printf('%s: %s' . PHP_EOL, $column, $value);
- }
- }
- printf('Found %s row(s)' . PHP_EOL, $i);
- } else {
- throw new Exception('The query failed to complete');
- }
- # [END print_results]
-}
-# [END all]
diff --git a/bigquery/api/src/functions/run_query_as_job.php b/bigquery/api/src/functions/run_query_as_job.php
deleted file mode 100644
index 86d10b7dad..0000000000
--- a/bigquery/api/src/functions/run_query_as_job.php
+++ /dev/null
@@ -1,77 +0,0 @@
- $projectId,
- ]);
- $job = $bigQuery->runQueryAsJob(
- $query,
- ['jobConfig' => ['useLegacySql' => $useLegacySql]]);
- $backoff = new ExponentialBackoff(10);
- $backoff->execute(function () use ($job) {
- print('Waiting for job to complete' . PHP_EOL);
- $job->reload();
- if (!$job->isComplete()) {
- throw new Exception('Job has not yet completed', 500);
- }
- });
- $queryResults = $job->queryResults();
-
- if ($queryResults->isComplete()) {
- $i = 0;
- $rows = $queryResults->rows();
- foreach ($rows as $row) {
- printf('--- Row %s ---' . PHP_EOL, ++$i);
- foreach ($row as $column => $value) {
- printf('%s: %s' . PHP_EOL, $column, $value);
- }
- }
- printf('Found %s row(s)' . PHP_EOL, $i);
- } else {
- throw new Exception('The query failed to complete');
- }
-}
-# [END query_as_job]
diff --git a/bigquery/api/src/functions/stream_row.php b/bigquery/api/src/functions/stream_row.php
deleted file mode 100644
index 8781a7e87a..0000000000
--- a/bigquery/api/src/functions/stream_row.php
+++ /dev/null
@@ -1,69 +0,0 @@
- "value1",
- * "field2" => "value2",
- * ];
- * stream_row($projectId, $datasetId, $tableId, $data);
- * ```.
- *
- * @param string $projectId The Google project ID.
- * @param string $datasetId The BigQuery dataset ID.
- * @param string $tableId The BigQuery table ID.
- * @param string $data An associative array representing a row of data.
- * @param string $insertId An optional unique ID to guarantee data consistency.
- */
-function stream_row($projectId, $datasetId, $tableId, $data, $insertId = null)
-{
- // instantiate the bigquery table service
- $bigQuery = new BigQueryClient([
- 'projectId' => $projectId,
- ]);
- $dataset = $bigQuery->dataset($datasetId);
- $table = $dataset->table($tableId);
-
- $insertResponse = $table->insertRows([
- ['insertId' => $insertId, 'data' => $data],
- // additional rows can go here
- ]);
- if ($insertResponse->isSuccessful()) {
- print('Data streamed into BigQuery successfully' . PHP_EOL);
- } else {
- foreach ($insertResponse->failedRows() as $row) {
- foreach ($row['errors'] as $error) {
- printf('%s: %s' . PHP_EOL, $error['reason'], $error['message']);
- }
- }
- }
-}
-# [END stream_row]
diff --git a/bigquery/api/test/BrowseTableCommandTest.php b/bigquery/api/test/BrowseTableCommandTest.php
deleted file mode 100644
index 5a909e5cc6..0000000000
--- a/bigquery/api/test/BrowseTableCommandTest.php
+++ /dev/null
@@ -1,67 +0,0 @@
- 0;
- }
-
- public function testBrowseTable()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $application = new Application();
- $application->add(new BrowseTableCommand());
- $commandTester = new CommandTester($application->get('browse-table'));
- $commandTester->execute(
- [
- 'dataset.table' => $datasetId . '.' . $tableId,
- '--max-results' => 1,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Found 1 row\(s\)/');
- }
-}
diff --git a/bigquery/api/test/CopyTableCommandTest.php b/bigquery/api/test/CopyTableCommandTest.php
deleted file mode 100644
index a332cd666f..0000000000
--- a/bigquery/api/test/CopyTableCommandTest.php
+++ /dev/null
@@ -1,110 +0,0 @@
- 0;
- self::$projectId = getenv('GOOGLE_PROJECT_ID');
- }
-
- public function testCopyTable()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!self::$projectId) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$sourceTableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $destinationTableId = sprintf('test_copy_table_%s', time());
-
- // run the import
- $application = new Application();
- $application->add(new CopyTableCommand());
- $application->add(new QueryCommand());
- $commandTester = new CommandTester($application->get('copy-table'));
- $commandTester->execute([
- 'dataset' => $datasetId,
- 'source-table' => $sourceTableId,
- 'destination-table' => $destinationTableId,
- '--project' => self::$projectId,
- ], ['interactive' => false]);
-
- $this->tempTableId = $datasetId . '.' . $destinationTableId;
- $this->expectOutputRegex('/Table copied successfully/');
-
- $commandTester = new CommandTester($application->get('query'));
- $testFunction = function () use ($commandTester, $datasetId, $destinationTableId) {
- ob_start();
- $commandTester->execute([
- 'query' => sprintf('SELECT * FROM [%s.%s]', $datasetId, $destinationTableId),
- '--project' => self::$projectId,
- ], ['interactive' => false]);
- $output = ob_get_clean();
- $this->assertContains('Brent Shaffer', $output);
- $this->assertContains('Takashi Matsuo', $output);
- $this->assertContains('Jeffrey Rennie', $output);
- };
-
- $this->runEventuallyConsistentTest($testFunction);
- }
-
- protected function tearDown()
- {
- if ($this->tempTableId) {
- $application = new Application();
- $application->add(new SchemaCommand());
-
- // create the tmp table using the schema command
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute([
- 'dataset.table' => $this->tempTableId,
- '--delete' => true,
- '--no-confirmation' => true,
- '--project' => self::$projectId,
- ], ['interactive' => false]);
- }
- }
-}
diff --git a/bigquery/api/test/DatasetsCommandTest.php b/bigquery/api/test/DatasetsCommandTest.php
deleted file mode 100644
index 90f97f5e65..0000000000
--- a/bigquery/api/test/DatasetsCommandTest.php
+++ /dev/null
@@ -1,62 +0,0 @@
- 0;
- }
-
- public function testDatasets()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
-
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
-
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
-
- $application = new Application();
- $application->add(new DatasetsCommand());
- $commandTester = new CommandTester($application->get('datasets'));
- $commandTester->execute(
- ['--project' => $projectId],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/$datasetId/");
- }
-}
diff --git a/bigquery/api/test/ExportCommandTest.php b/bigquery/api/test/ExportCommandTest.php
deleted file mode 100644
index 6c812d9906..0000000000
--- a/bigquery/api/test/ExportCommandTest.php
+++ /dev/null
@@ -1,213 +0,0 @@
- 0;
- self::$gcsBucket = getenv('GOOGLE_BUCKET_NAME');
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Destination does not contain object name
- */
- public function testBucketWithoutObjectThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $application = new Application();
- $application->add(new ExportCommand());
- $commandTester = new CommandTester($application->get('export'));
- $commandTester->execute(
- [
- 'dataset.table' => $datasetId . '.' . $tableId,
- 'destination' => 'gs://foo',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Table must in the format "dataset.table"
- */
- public function testInvalidTableNameThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
-
- // run the import
- $application = new Application();
- $application->add(new ExportCommand());
- $commandTester = new CommandTester($application->get('export'));
- $commandTester->execute(
- [
- 'dataset.table' => 'invalid.table.name',
- 'destination' => 'gs://foo/bar',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Invalid format
- */
- public function testInvalidFormatThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- // run the import
- $application = new Application();
- $application->add(new ExportCommand());
- $commandTester = new CommandTester($application->get('export'));
- $commandTester->execute(
- [
- 'dataset.table' => $datasetId . '.' . $tableId,
- 'destination' => 'gs://foo/bar',
- '--format' => 'invalid-format',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Destination must start with "gs://" for Cloud Storage
- */
- public function testInvalidDestinationThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- // run the import
- $application = new Application();
- $application->add(new ExportCommand());
- $commandTester = new CommandTester($application->get('export'));
- $commandTester->execute(
- [
- 'dataset.table' => $datasetId . '.' . $tableId,
- 'destination' => 'foo',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @dataProvider provideExport
- */
- public function testExport($objectName, $format)
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
- if (!self::$gcsBucket) {
- $this->markTestSkipped('No Cloud Storage bucket');
- }
-
- $destination = sprintf('gs://%s/%s', self::$gcsBucket, $objectName);
-
- // run the import
- $application = new Application();
- $application->add(new ExportCommand());
- $commandTester = new CommandTester($application->get('export'));
- $commandTester->execute([
- 'dataset.table' => $datasetId . '.' . $tableId,
- 'destination' => $destination,
- '--format' => $format,
- '--project' => $projectId,
- ], ['interactive' => false]);
-
- $this->expectOutputRegex('/Data exported successfully/');
-
- // verify the contents of the bucket
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
- $object = $storage->bucket(self::$gcsBucket)->object($objectName);
- $contents = $object->downloadAsString();
- $this->assertContains('Brent Shaffer', $contents);
- $this->assertContains('Takashi Matsuo', $contents);
- $this->assertContains('Jeffrey Rennie', $contents);
- $object->delete();
- $this->assertFalse($object->exists());
- }
-
- public function provideExport()
- {
- $time = time();
-
- return [
- [sprintf('test_data_%s.json', $time), 'json'],
- [sprintf('test_data_%s.csv', $time), 'csv'],
- ];
- }
-}
diff --git a/bigquery/api/test/FunctionsTest.php b/bigquery/api/test/FunctionsTest.php
deleted file mode 100644
index 4cd636fe78..0000000000
--- a/bigquery/api/test/FunctionsTest.php
+++ /dev/null
@@ -1,55 +0,0 @@
-markTestSkipped('No project ID');
- }
-
- $bigQuery = require __DIR__ . '/../src/functions/bigquery_client.php';
-
- $this->assertInstanceOf(BigQueryClient::class, $bigQuery);
- }
- public function testGetTable()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $table = BigQuery\get_table($projectId, $datasetId, $tableId);
-
- $this->assertInstanceOf(Table::class, $table);
- }
-}
diff --git a/bigquery/api/test/ImportCommandTest.php b/bigquery/api/test/ImportCommandTest.php
deleted file mode 100644
index 5c1503bcbe..0000000000
--- a/bigquery/api/test/ImportCommandTest.php
+++ /dev/null
@@ -1,342 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $this->gcsBucket = getenv('GOOGLE_BUCKET_NAME');
- $this->projectId = getenv('GOOGLE_PROJECT_ID');
- $this->datasetId = getenv('GOOGLE_BIGQUERY_DATASET');
- }
-
- public function tearDown()
- {
- if ($this->tempTableId) {
- $this->deleteTempTable($this->projectId, $this->datasetId, $this->tempTableId);
- }
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Table must in the format "dataset.table"
- */
- public function testInvalidTableNameThrowsException()
- {
- if (!$this->projectId) {
- $this->markTestSkipped('No project ID');
- }
-
- // run the import
- $application = new Application();
- $application->add(new ImportCommand());
- $commandTester = new CommandTester($application->get('import'));
- $commandTester->execute(
- [
- 'dataset.table' => 'invalid.table.name',
- 'source' => 'foo',
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Source file does not exist or is not readable
- */
- public function testNonexistantFileThrowsException()
- {
- if (!$this->projectId) {
- $this->markTestSkipped('No project ID');
- }
- if (!$this->datasetId) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- // run the import
- $application = new Application();
- $application->add(new ImportCommand());
- $commandTester = new CommandTester($application->get('import'));
- $commandTester->execute(
- [
- 'dataset.table' => $this->datasetId . '.' . $tableId,
- 'source' => '/this/file/doesnotexist.json',
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Source format unknown. Must be JSON or CSV
- */
- public function testFileWithWrongExtensionThrowsException()
- {
- if (!$this->projectId) {
- $this->markTestSkipped('No project ID');
- }
- if (!$this->datasetId) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
- $file = tempnam(sys_get_temp_dir(), 'bigquery-source');
-
- // run the import
- $application = new Application();
- $application->add(new ImportCommand());
- $commandTester = new CommandTester($application->get('import'));
- $commandTester->execute(
- [
- 'dataset.table' => $this->datasetId . '.' . $tableId,
- 'source' => $file,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Source does not contain object name
- */
- public function testBucketWithoutObjectThrowsException()
- {
- if (!$this->projectId) {
- $this->markTestSkipped('No project ID');
- }
- if (!$this->datasetId) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- // run the import
- $application = new Application();
- $application->add(new ImportCommand());
- $commandTester = new CommandTester($application->get('import'));
- $commandTester->execute(
- [
- 'dataset.table' => $this->datasetId . '.' . $tableId,
- 'source' => 'gs://',
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
- }
-
- public function testImportStreamRow()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$this->projectId) {
- $this->markTestSkipped('No project ID');
- }
- if (!$this->datasetId) {
- $this->markTestSkipped('No bigquery dataset name');
- }
-
- $tableId = sprintf('test_table_%s', time());
- $this->createTempTable($this->projectId, $this->datasetId, $tableId);
-
- $questionHelper = $this->getMockBuilder('Symfony\Component\Console\Helper\QuestionHelper')
- ->disableOriginalConstructor()
- ->getMock();
- $questionHelper->expects($this->exactly(2))
- ->method('ask')
- ->will($this->onConsecutiveCalls('Brent Shaffer', 'PHP Developer'));
- $helperSet = $this->getMockBuilder('Symfony\Component\Console\Helper\HelperSet')
- ->disableOriginalConstructor()
- ->getMock();
- $helperSet->expects($this->once())
- ->method('get')
- ->with('question')
- ->will($this->returnValue($questionHelper));
-
- // run the import
- $application = new Application();
- $application->add(new QueryCommand());
- $application->add($import = new ImportCommand());
- $import->setHelperSet($helperSet);
- $commandTester = new CommandTester($application->get('import'));
- $commandTester->execute([
- 'dataset.table' => $this->datasetId . '.' . $tableId,
- '--project' => $this->projectId,
- ], ['interactive' => false]);
-
- $this->expectOutputRegex('/Data streamed into BigQuery successfully/');
-
- $commandTester = new CommandTester($application->get('query'));
- $testFunction = function () use ($commandTester, $tableId) {
- ob_start();
- $commandTester->execute([
- 'query' => sprintf('SELECT * FROM [%s.%s]', $this->datasetId, $tableId),
- '--project' => $this->projectId,
- ], ['interactive' => false]);
- $output = ob_get_clean();
- $this->assertContains('Brent Shaffer', $output);
- };
-
- $this->runEventuallyConsistentTest($testFunction);
-
- $this->tempTableId = $tableId;
- }
-
- /**
- * @dataProvider provideImport
- */
- public function testImport($source, $createTable = true)
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$this->projectId) {
- $this->markTestSkipped('No project ID');
- }
- if (!$this->datasetId) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (0 === strpos($source, 'gs://') && !$this->gcsBucket) {
- $this->markTestSkipped('No Cloud Storage bucket');
- }
- $tableId = sprintf('test_table_%s', time());
- if ($createTable) {
- $this->createTempTable($this->projectId, $this->datasetId, $tableId);
- }
- if ('sql' === substr($source, -3)) {
- $contents = file_get_contents($source);
- $contents = str_replace('test_table', $tableId, $contents);
- $source = sprintf('%s/%s.sql', sys_get_temp_dir(), $tableId);
- file_put_contents($source, $contents);
- }
-
- // run the import
- $application = new Application();
- $application->add(new ImportCommand());
- $application->add(new QueryCommand());
- $commandTester = new CommandTester($application->get('import'));
- $commandTester->execute([
- 'dataset.table' => $this->datasetId . '.' . $tableId,
- 'source' => $source,
- '--project' => $this->projectId,
- ], ['interactive' => false]);
-
- $this->expectOutputRegex('/Data imported successfully/');
-
- $commandTester = new CommandTester($application->get('query'));
- $testFunction = function () use ($commandTester, $tableId) {
- ob_start();
- $commandTester->execute([
- 'query' => sprintf('SELECT * FROM [%s.%s]', $this->datasetId, $tableId),
- '--project' => $this->projectId,
- ], ['interactive' => false]);
- $output = ob_get_clean();
- $this->assertContains('Brent Shaffer', $output);
- $this->assertContains('Takashi Matsuo', $output);
- $this->assertContains('Jeffrey Rennie', $output);
- };
-
- $this->runEventuallyConsistentTest($testFunction);
-
- $this->tempTableId = $tableId;
- }
-
- public function provideImport()
- {
- $bucket = getenv('GOOGLE_BUCKET_NAME');
-
- return [
- [__DIR__ . '/data/test_data.csv'],
- [__DIR__ . '/data/test_data.json'],
- [__DIR__ . '/data/test_data.sql'],
- [sprintf('gs://%s/test_data.csv', $bucket)],
- [sprintf('gs://%s/test_data.json', $bucket)],
- [sprintf('gs://%s/test_data.backup_info', $bucket), false],
- ];
- }
-
- private function createTempTable($projectId, $datasetId, $tableId)
- {
- $schema = [
- ['name' => 'name', 'type' => 'string', 'mode' => 'nullable'],
- ['name' => 'title', 'type' => 'string', 'mode' => 'nullable'],
- ];
- $schemaJson = tempnam(sys_get_temp_dir(), 'schema-');
- file_put_contents($schemaJson, json_encode($schema));
-
- $application = new Application();
- $application->add(new SchemaCommand());
-
- // create the tmp table using the schema command
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute([
- 'dataset.table' => $datasetId . '.' . $tableId,
- 'schema-json' => $schemaJson,
- '--project' => $projectId,
- ], ['interactive' => false]);
- }
-
- private function deleteTempTable($projectId, $datasetId, $tableId)
- {
- $application = new Application();
- $application->add(new SchemaCommand());
-
- // create the tmp table using the schema command
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute([
- 'dataset.table' => $datasetId . '.' . $tableId,
- '--delete' => true,
- '--no-confirmation' => true,
- '--project' => $projectId,
- ], ['interactive' => false]);
- }
-}
diff --git a/bigquery/api/test/ProjectsCommandTest.php b/bigquery/api/test/ProjectsCommandTest.php
deleted file mode 100644
index 5abc184206..0000000000
--- a/bigquery/api/test/ProjectsCommandTest.php
+++ /dev/null
@@ -1,59 +0,0 @@
-markTestSkipped('No project ID');
- }
- if (!CredentialsLoader::fromWellKnownFile()) {
- if (!$keyFile = getenv('GOOGLE_KEY_FILE')) {
- $this->markTestSkipped('No key file');
- }
- if (!$home = getenv('HOME')) {
- $this->markTestSkipped('No home directory for key file');
- }
- $path = sprintf('%s/.config/gcloud/', $home);
- @mkdir($path, 0777, true);
- file_put_contents(
- $path . '/application_default_credentials.json',
- $keyFile
- );
- }
- $application = new Application();
- $application->add(new ProjectsCommand());
- $commandTester = new CommandTester($application->get('projects'));
- $commandTester->execute(
- ['--max-results' => 1000],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/$projectId/");
- }
-}
diff --git a/bigquery/api/test/QueryCommandTest.php b/bigquery/api/test/QueryCommandTest.php
deleted file mode 100644
index 7355930d8b..0000000000
--- a/bigquery/api/test/QueryCommandTest.php
+++ /dev/null
@@ -1,200 +0,0 @@
- 0;
- }
-
- public function testPublicQuery()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
-
- $query = 'SELECT TOP(corpus, 10) as title, COUNT(*) as unique_words ' .
- 'FROM [publicdata:samples.shakespeare]';
-
- $application = new Application();
- $application->add(new QueryCommand());
- $commandTester = new CommandTester($application->get('query'));
- $commandTester->execute(
- ['query' => $query, '--project' => $projectId],
- ['interactive' => false]
- );
-
- // Make sure it looks like Shakespeare.
- $this->expectOutputRegex('/hamlet/');
- $this->expectOutputRegex('/kinglear/');
- $this->expectOutputRegex('/Found 10 row\(s\)/');
- }
-
- public function testQueryWithNoResults()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
-
- $query = 'SELECT * FROM [publicdata:samples.shakespeare] LIMIT 0';
-
- $application = new Application();
- $application->add(new QueryCommand());
- $commandTester = new CommandTester($application->get('query'));
- $commandTester->execute(
- ['query' => $query, '--project' => $projectId],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Found 0 row\(s\)/');
- }
-
- public function testQuery()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $query = sprintf('SELECT * FROM [%s.%s] LIMIT 1', $datasetId, $tableId);
-
- $application = new Application();
- $application->add(new QueryCommand());
- $commandTester = new CommandTester($application->get('query'));
- $commandTester->execute(
- ['query' => $query, '--project' => $projectId, '--sync'],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Found 1 row\(s\)/');
- }
-
- public function testQueryStandardSql()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $query = sprintf('SELECT * FROM `%s.%s` LIMIT 1', $datasetId, $tableId);
-
- $application = new Application();
- $application->add(new QueryCommand());
- $commandTester = new CommandTester($application->get('query'));
- $commandTester->execute(
- [
- 'query' => $query,
- '--project' => $projectId,
- '--sync',
- '--standard-sql' => true
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Found 1 row\(s\)/');
- }
-
- public function testQueryAsJob()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $query = sprintf('SELECT * FROM [%s.%s] LIMIT 1', $datasetId, $tableId);
-
- $application = new Application();
- $application->add(new QueryCommand());
- $commandTester = new CommandTester($application->get('query'));
- $commandTester->execute(
- ['query' => $query, '--project' => $projectId],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Found 1 row\(s\)/');
- }
-
- public function testQueryAsJobStandardSql()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $query = sprintf('SELECT * FROM `%s.%s` LIMIT 1', $datasetId, $tableId);
-
- $application = new Application();
- $application->add(new QueryCommand());
- $commandTester = new CommandTester($application->get('query'));
- $commandTester->execute(
- [
- 'query' => $query,
- '--project' => $projectId,
- '--standard-sql' => true
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Found 1 row\(s\)/');
- }
-}
diff --git a/bigquery/api/test/SchemaCommandTest.php b/bigquery/api/test/SchemaCommandTest.php
deleted file mode 100644
index ac8332cc40..0000000000
--- a/bigquery/api/test/SchemaCommandTest.php
+++ /dev/null
@@ -1,220 +0,0 @@
- 0;
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Table must in the format "dataset.table"
- */
- public function testInvalidTableNameThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
-
- // run the import
- $application = new Application();
- $application->add(new SchemaCommand());
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute(
- [
- 'dataset.table' => 'invalid.table.name',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException LogicException
- * @expectedExceptionMessage "schema-json" is required if the command is not interactive
- */
- public function testSchemaIsRequiredIfNotInteractiveException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
-
- // run the import
- $application = new Application();
- $application->add(new SchemaCommand());
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute(
- [
- 'dataset.table' => $datasetId . '.table_name',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException LogicException
- * @expectedExceptionMessage "no-confirmation" is required to create a dataset if the command is not interactive
- */
- public function testNonexistantDatasetWhenNotInteractiveThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
-
- // run the import
- $application = new Application();
- $application->add(new SchemaCommand());
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute(
- [
- 'dataset.table' => 'thisdoes.notexist',
- 'schema-json' => __DIR__ . '/data/test_data.json',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException LogicException
- * @expectedExceptionMessage The supplied dataset does not exist
- */
- public function testDeleteNonexistantDatasetThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
-
- // run the import
- $application = new Application();
- $application->add(new SchemaCommand());
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute(
- [
- 'dataset.table' => 'thisdoes.notexist',
- 'schema-json' => __DIR__ . '/data/test_data.json',
- '--delete' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage The supplied table does not exist
- */
- public function testDeleteNonexistantTableThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
-
- // run the import
- $application = new Application();
- $application->add(new SchemaCommand());
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute(
- [
- 'dataset.table' => $datasetId . '.doesnotexist',
- '--delete' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException LogicException
- * @expectedExceptionMessage Cannot supply "--delete" with the "schema-json" argument
- */
- public function testDeleteWithSchemaThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
-
- // run the import
- $application = new Application();
- $application->add(new SchemaCommand());
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute(
- [
- 'dataset.table' => $datasetId . '.doesnotexist',
- 'schema-json' => __DIR__ . '/data/test_data.json',
- '--delete' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- /**
- * @expectedException LogicException
- * @expectedExceptionMessage "no-confirmation" is required for deletion if the command is not interactive
- */
- public function testDeleteWhenNotInteractiveThrowsException()
- {
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- // run the import
- $application = new Application();
- $application->add(new SchemaCommand());
- $commandTester = new CommandTester($application->get('schema'));
- $commandTester->execute(
- [
- 'dataset.table' => $datasetId . '.' . $tableId,
- '--delete' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-}
diff --git a/bigquery/api/test/TablesCommandTest.php b/bigquery/api/test/TablesCommandTest.php
deleted file mode 100644
index 76843b3d85..0000000000
--- a/bigquery/api/test/TablesCommandTest.php
+++ /dev/null
@@ -1,63 +0,0 @@
- 0;
- }
-
- public function testTables()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$datasetId = getenv('GOOGLE_BIGQUERY_DATASET')) {
- $this->markTestSkipped('No bigquery dataset name');
- }
- if (!$tableId = getenv('GOOGLE_BIGQUERY_TABLE')) {
- $this->markTestSkipped('No bigquery table name');
- }
-
- $application = new Application();
- $application->add(new TablesCommand());
- $commandTester = new CommandTester($application->get('tables'));
- $commandTester->execute(
- ['dataset' => $datasetId, '--project' => $projectId],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/$tableId/");
- }
-}
diff --git a/bigquery/api/test/data/test_data.csv b/bigquery/api/test/data/test_data.csv
deleted file mode 100644
index 9809464e0b..0000000000
--- a/bigquery/api/test/data/test_data.csv
+++ /dev/null
@@ -1,3 +0,0 @@
-"Brent Shaffer","PHP Developer"
-"Takashi Matsuo", "Developer's Liberation Activist"
-"Jeffrey Rennie", "The Man, The Myth, The Legend"
diff --git a/bigquery/api/test/data/test_data.json b/bigquery/api/test/data/test_data.json
deleted file mode 100644
index cfd3cde209..0000000000
--- a/bigquery/api/test/data/test_data.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{ "name": "Brent Shaffer", "title": "PHP Developer" }
-{ "name": "Takashi Matsuo", "title": "Developer's Liberation Activist" }
-{ "name": "Jeffrey Rennie", "title": "The Man, The Myth, The Legend" }
diff --git a/bigquery/api/test/data/test_data.sql b/bigquery/api/test/data/test_data.sql
deleted file mode 100644
index 02dd2eaca5..0000000000
--- a/bigquery/api/test/data/test_data.sql
+++ /dev/null
@@ -1,8 +0,0 @@
--- This file is used to test ../../src/functions/import_from_file.php
--- These are comments.
--- Each query to be executed should be on a single line.
-
-/* Another ignored line. */
-INSERT INTO `test_table` (`name`, `title`) VALUES ('Brent Shaffer', 'PHP Developer')
-INSERT INTO `test_table` (`name`, `title`) VALUES ('Takashi Matsuo', 'Developer\'s Liberation Activist')
-INSERT INTO `test_table` (`name`, `title`) VALUES ('Jeffrey Rennie', 'The Man, The Myth, The Legend')
diff --git a/bigquery/quickstart/composer.json b/bigquery/quickstart/composer.json
deleted file mode 100644
index 3a8a8b9c5a..0000000000
--- a/bigquery/quickstart/composer.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "require": {
- "php": ">=5.4",
- "google/cloud-bigquery": "^0.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/bigquery/quickstart/composer.lock b/bigquery/quickstart/composer.lock
deleted file mode 100644
index 3036cf4d75..0000000000
--- a/bigquery/quickstart/composer.lock
+++ /dev/null
@@ -1,1760 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "fbfdb9aad651b0b8b0ebb420ab332d39",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-bigquery",
- "version": "v0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-bigquery.git",
- "reference": "08014e435c1d1f757610c410a81e51512d48e79d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-bigquery/zipball/08014e435c1d1f757610c410a81e51512d48e79d",
- "reference": "08014e435c1d1f757610c410a81e51512d48e79d",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/cloud-storage": "Makes it easier to load data from Cloud Storage into BigQuery"
- },
- "type": "library",
- "extra": {
- "component": {
- "displayName": "Google Cloud BigQuery",
- "id": "cloud-bigquery",
- "target": "GoogleCloudPlatform/google-cloud-php-bigquery.git",
- "path": "src/BigQuery",
- "entry": "BigQueryClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\BigQuery\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "BigQuery Client for PHP",
- "time": "2017-05-18T15:22:19+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "885db865f6b2b918404a1fae28f9ac640f71f994"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/885db865f6b2b918404a1fae28f9ac640f71f994",
- "reference": "885db865f6b2b918404a1fae28f9ac640f71f994",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-28T10:56:20+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/bigquery/quickstart/phpunit.xml.dist b/bigquery/quickstart/phpunit.xml.dist
deleted file mode 100644
index 9f1bd58a98..0000000000
--- a/bigquery/quickstart/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- quickstart.php
-
-
-
diff --git a/bigquery/quickstart/quickstart.php b/bigquery/quickstart/quickstart.php
deleted file mode 100644
index 3113e5d0e7..0000000000
--- a/bigquery/quickstart/quickstart.php
+++ /dev/null
@@ -1,41 +0,0 @@
- $projectId
-]);
-
-# The name for the new dataset
-$datasetName = 'my_new_dataset';
-
-# Creates the new dataset
-$dataset = $bigquery->createDataset($datasetName);
-
-echo 'Dataset ' . $dataset->id() . ' created.';
-# [END bigquery_quickstart]
-return $dataset;
diff --git a/bigquery/quickstart/test/quickstartTest.php b/bigquery/quickstart/test/quickstartTest.php
deleted file mode 100644
index 07e97e13c9..0000000000
--- a/bigquery/quickstart/test/quickstartTest.php
+++ /dev/null
@@ -1,51 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
-
- $datasetId = 'my_new_dataset_' . time();
- $file = sys_get_temp_dir() . '/bigquery_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', 'my_new_dataset', '__DIR__'],
- [$projectId, $datasetId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
- $this->dataset = include $file;
-
- // Make sure it looks correct
- $this->assertInstanceOf('Google\Cloud\BigQuery\Dataset', $this->dataset);
- $this->assertEquals($datasetId, $this->dataset->id());
- }
-
- public function tearDown()
- {
- if ($this->dataset) {
- $this->dataset->delete();
- }
- }
-}
diff --git a/bigquery/shakespeare/README.md b/bigquery/shakespeare/README.md
deleted file mode 100644
index 326e56f301..0000000000
--- a/bigquery/shakespeare/README.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# Google BigQuery PHP Sample Application
-
-## Description
-
-This simple command-line application demonstrates how to invoke Google BigQuery from PHP.
-
-## Build and Run
-1. **Enable APIs** - [Enable the BigQuery API](https://console.cloud.google.com/flows/enableapi?apiid=bigquery)
- and create a new project or select an existing project.
-2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click "New Credentials"
- and select "Service Account Key". Create a new service account, use the JSON key type, and
- select "Create". Once downloaded, set the environment variable `GOOGLE_APPLICATION_CREDENTIALS`
- to the path of the JSON key that was downloaded.
-3. **Clone the repo** and cd into this directory
-
- ```sh
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/bigquery/api
-```
-4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-5. Run `php shakespeare.php YOUR_PROJECT_ID` to run the sample.
-```
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
diff --git a/bigquery/shakespeare/composer.json b/bigquery/shakespeare/composer.json
deleted file mode 100644
index 58605513cb..0000000000
--- a/bigquery/shakespeare/composer.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "require": {
- "google/cloud-bigquery": "^0.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/bigquery/shakespeare/composer.lock b/bigquery/shakespeare/composer.lock
deleted file mode 100644
index 61b7b01694..0000000000
--- a/bigquery/shakespeare/composer.lock
+++ /dev/null
@@ -1,1758 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "e56a5a2bfee0b28a72cb36975f32e9e8",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-bigquery",
- "version": "v0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-bigquery.git",
- "reference": "08014e435c1d1f757610c410a81e51512d48e79d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-bigquery/zipball/08014e435c1d1f757610c410a81e51512d48e79d",
- "reference": "08014e435c1d1f757610c410a81e51512d48e79d",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/cloud-storage": "Makes it easier to load data from Cloud Storage into BigQuery"
- },
- "type": "library",
- "extra": {
- "component": {
- "displayName": "Google Cloud BigQuery",
- "id": "cloud-bigquery",
- "target": "GoogleCloudPlatform/google-cloud-php-bigquery.git",
- "path": "src/BigQuery",
- "entry": "BigQueryClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\BigQuery\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "BigQuery Client for PHP",
- "time": "2017-05-18T15:22:19+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "885db865f6b2b918404a1fae28f9ac640f71f994"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/885db865f6b2b918404a1fae28f9ac640f71f994",
- "reference": "885db865f6b2b918404a1fae28f9ac640f71f994",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-28T10:56:20+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/bigquery/shakespeare/phpunit.xml.dist b/bigquery/shakespeare/phpunit.xml.dist
deleted file mode 100644
index 353f21ef6f..0000000000
--- a/bigquery/shakespeare/phpunit.xml.dist
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- shakespeare.php
- ./src
-
-
-
diff --git a/bigquery/shakespeare/shakespeare.php b/bigquery/shakespeare/shakespeare.php
deleted file mode 100644
index 8474ba52d9..0000000000
--- a/bigquery/shakespeare/shakespeare.php
+++ /dev/null
@@ -1,63 +0,0 @@
- $projectId,
-]);
-# [END build_service]
-# [START run_query]
-$query = 'SELECT TOP(corpus, 10) as title, COUNT(*) as unique_words ' .
- 'FROM [publicdata:samples.shakespeare]';
-$options = ['useLegacySql' => true];
-$queryResults = $bigQuery->runQuery($query, $options);
-# [END run_query]
-
-# [START print_results]
-if ($queryResults->isComplete()) {
- $i = 0;
- $rows = $queryResults->rows();
- foreach ($rows as $row) {
- printf('--- Row %s ---' . PHP_EOL, ++$i);
- foreach ($row as $column => $value) {
- printf('%s: %s' . PHP_EOL, $column, $value);
- }
- }
- printf('Found %s row(s)' . PHP_EOL, $i);
-} else {
- throw new Exception('The query failed to complete');
-}
-# [END print_results]
-# [END all]
diff --git a/bigquery/shakespeare/test/shakespeareTest.php b/bigquery/shakespeare/test/shakespeareTest.php
deleted file mode 100644
index 831d398c85..0000000000
--- a/bigquery/shakespeare/test/shakespeareTest.php
+++ /dev/null
@@ -1,68 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
- $argv[1] = $projectId;
-
- $outputString = <<expectOutputString($outputString);
- }
-}
diff --git a/datastore/api/README.md b/datastore/api/README.md
deleted file mode 100644
index 15949a271e..0000000000
--- a/datastore/api/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Cloud Datastore code snippets
-
-This code samples are intended to be in the following document:
-https://cloud.google.com/datastore/docs/
-
-The code is using
-[Google Cloud Client Library for PHP](https://googlecloudplatform.github.io/google-cloud-php/#/).
-
-To run the tests do the following:
-
-1. [Enable billing](https://support.google.com/cloud/answer/6293499#enable-billing).
-1. [Enable the Cloud Datastore API](https://console.cloud.google.com/flows/enableapi?apiid=datastore.googleapis.com).
-1. Create a service account at the
- [Service account section in the Cloud Console](https://console.cloud.google.com/iam-admin/serviceaccounts/)
-1. Download the json key file of the service account.
-1. Set GOOGLE_APPLICATION_CREDENTIALS environment variable pointing to that file.
-1. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-1. Create Datastore indexes by running `gcloud preview datastore create-indexes index.yaml`
-1. Run `phpunit`
diff --git a/datastore/api/composer.json b/datastore/api/composer.json
deleted file mode 100644
index 05bf814208..0000000000
--- a/datastore/api/composer.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "require": {
- "google/cloud-datastore": "^1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8",
- "google/cloud-tools": "^0.6"
- },
- "autoload": {
- "psr-4": { "Google\\Cloud\\Samples\\Datastore\\": "src" },
- "files": [
- "src/functions/concepts.php"
- ]
- }
-}
diff --git a/datastore/api/composer.lock b/datastore/api/composer.lock
deleted file mode 100644
index 268984abff..0000000000
--- a/datastore/api/composer.lock
+++ /dev/null
@@ -1,2022 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "bc6c67a1e9b64763fb181c421b0c5369",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "7a209c6ff0cd92a5ef028c81589415c9e3e4d05b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/7a209c6ff0cd92a5ef028c81589415c9e3e4d05b",
- "reference": "7a209c6ff0cd92a5ef028c81589415c9e3e4d05b",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "google/cloud-datastore",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-datastore.git",
- "reference": "f9e11c4582b5f0abca9397864ed0b0b48432c61f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-datastore/zipball/f9e11c4582b5f0abca9397864ed0b0b48432c61f",
- "reference": "f9e11c4582b5f0abca9397864ed0b0b48432c61f",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-datastore",
- "target": "GoogleCloudPlatform/google-cloud-php-datastore.git",
- "path": "src/Datastore",
- "entry": "DatastoreClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Datastore\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Datastore Client for PHP",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "google/cloud-tools",
- "version": "v0.6.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/php-tools.git",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/php-tools/zipball/90ecc5e371673078cf0fc71d442fd21415c277c3",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "php": ">=5.5",
- "phpunit/phpunit": "~4|~5",
- "symfony/browser-kit": "~2|~3",
- "symfony/process": "~2|~3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\TestUtils\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "authors": [
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com",
- "homepage": "https://wp.gaeflex.ninja/"
- }
- ],
- "description": "PHP tools for Google Cloud Platform",
- "homepage": "https://github.com/GoogleCloudPlatform/php-tools",
- "keywords": [
- "appengine",
- "gcp",
- "test"
- ],
- "time": "2017-02-23T22:19:51+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/dom-crawler": "~2.8|~3.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2016-11-14T01:06:16+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "57fdaa55827ae14d617550ebe71a820f0a5e2282"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/57fdaa55827ae14d617550ebe71a820f0a5e2282",
- "reference": "57fdaa55827ae14d617550ebe71a820f0a5e2282",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-27T18:07:02+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/datastore/api/index.yaml b/datastore/api/index.yaml
deleted file mode 100644
index a984286670..0000000000
--- a/datastore/api/index.yaml
+++ /dev/null
@@ -1,43 +0,0 @@
-indexes:
-- kind: Task
- properties:
- - name: done
- - name: priority
-
-- kind: Task
- properties:
- - name: percent_complete
- - name: priority
-
-- kind: Task
- properties:
- - name: category
- - name: priority
-
-- kind: Task
- properties:
- - name: collaborators
- - name: tags
-
-- kind: Task
- properties:
- - name: done
- - name: priority
- - name: created
-
-- kind: Task
- properties:
- - name: priority
- - name: created
-
-- kind: Task
- properties:
- - name: done
- - name: priority
- direction: desc
-
-- kind: Task
- properties:
- - name: priority
- direction: desc
- - name: created
diff --git a/datastore/api/phpunit.xml.dist b/datastore/api/phpunit.xml.dist
deleted file mode 100644
index 3b9f8ea7bf..0000000000
--- a/datastore/api/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
diff --git a/datastore/api/src/functions/concepts.php b/datastore/api/src/functions/concepts.php
deleted file mode 100644
index 1215ef9ea7..0000000000
--- a/datastore/api/src/functions/concepts.php
+++ /dev/null
@@ -1,1030 +0,0 @@
-entity('Task', [
- 'category' => 'Personal',
- 'done' => false,
- 'priority' => 4,
- 'description' => 'Learn Cloud Datastore'
- ]);
- // [END basic_entity]
- return $task;
-}
-
-/**
- * Create a Datastore entity and upsert it.
- *
- * @param DatastoreClient $datastore
- * @return Entity
- */
-function upsert(DatastoreClient $datastore)
-{
- // [START upsert]
- $key = $datastore->key('Task', 'sampleTask');
- $task = $datastore->entity($key, [
- 'category' => 'Personal',
- 'done' => false,
- 'priority' => 4,
- 'description' => 'Learn Cloud Datastore'
- ]);
- $datastore->upsert($task);
- // [END upsert]
-
- return $task;
-}
-
-/**
- * Create a Datastore entity and insert it. It will fail if there is already
- * an entity with the same key.
- *
- * @param DatastoreClient $datastore
- * @return Entity
- */
-function insert(DatastoreClient $datastore)
-{
- // [START insert]
- $task = $datastore->entity('Task', [
- 'category' => 'Personal',
- 'done' => false,
- 'priority' => 4,
- 'description' => 'Learn Cloud Datastore'
- ]);
- $datastore->insert($task);
- // [END insert]
- return $task;
-}
-
-/**
- * Look up a Datastore entity with the given key.
- *
- * @param DatastoreClient $datastore
- * @return Entity|null
- */
-function lookup(DatastoreClient $datastore)
-{
- // [START lookup]
- $key = $datastore->key('Task', 'sampleTask');
- $task = $datastore->lookup($key);
- // [END lookup]
- return $task;
-}
-
-/**
- * Update a Datastore entity in a transaction.
- *
- * @param DatastoreClient $datastore
- * @return Entity|null
- */
-function update(DatastoreClient $datastore)
-{
- // [START update]
- $transaction = $datastore->transaction();
- $key = $datastore->key('Task', 'sampleTask');
- $task = $transaction->lookup($key);
- $task['priority'] = 5;
- $transaction->upsert($task);
- $transaction->commit();
- // [END update]
- return $task;
-}
-
-/**
- * Delete a Datastore entity with the given key.
- *
- * @param DatastoreClient $datastore
- * @param Key $taskKey
- */
-function delete(DatastoreClient $datastore, Key $taskKey)
-{
- // [START delete]
- $datastore->delete($taskKey);
- // [END delete]
-}
-
-/**
- * Upsert multiple Datastore entities.
- *
- * @param DatastoreClient $datastore
- * @param array $tasks
- */
-function batch_upsert(DatastoreClient $datastore, array $tasks)
-{
- // [START batch_upsert]
- $datastore->upsertBatch($tasks);
- // [END batch_upsert]
-}
-
-/**
- * Lookup multiple entities.
- *
- * @param DatastoreClient $datastore
- * @param array $keys
- * @return array
- */
-function batch_lookup(DatastoreClient $datastore, array $keys)
-{
- // [START batch_lookup]
- $result = $datastore->lookupBatch($keys);
- if (isset($result['found'])) {
- // $result['found'] is an array of entities.
- } else {
- // No entities found.
- }
- // [END batch_lookup]
- return $result;
-}
-
-/**
- * Delete multiple Datastore entities with the given keys.
- *
- * @param DatastoreClient $datastore
- * @param array $keys
- */
-function batch_delete(DatastoreClient $datastore, array $keys)
-{
- // [START batch_delete]
- $datastore->deleteBatch($keys);
- // [END batch_delete]
-}
-
-/**
- * Create a complete Datastore key.
- *
- * @param DatastoreClient $datastore
- * @return Key
- */
-function named_key(DatastoreClient $datastore)
-{
- // [START named_key]
- $taskKey = $datastore->key('Task', 'sampleTask');
- // [END named_key]
- return $taskKey;
-}
-
-/**
- * Create an incomplete Datastore key.
- *
- * @param DatastoreClient $datastore
- * @return Key
- */
-function incomplete_key(DatastoreClient $datastore)
-{
- // [START incomplete_key]
- $taskKey = $datastore->key('Task');
- // [END incomplete_key]
- return $taskKey;
-}
-
-/**
- * Create a Datastore key with a parent with one level.
- *
- * @param DatastoreClient $datastore
- * @return Key
- */
-function key_with_parent(DatastoreClient $datastore)
-{
- // [START key_with_parent]
- $taskKey = $datastore->key('TaskList', 'default')
- ->pathElement('Task', 'sampleTask');
- // [END key_with_parent]
- return $taskKey;
-}
-
-/**
- * Create a Datastore key with a multi level parent.
- *
- * @param DatastoreClient $datastore
- * @return Key
- */
-function key_with_multilevel_parent(DatastoreClient $datastore)
-{
- // [START key_with_multilevel_parent]
- $taskKey = $datastore->key('User', 'alice')
- ->pathElement('TaskList', 'default')
- ->pathElement('Task', 'sampleTask');
- // [END key_with_multilevel_parent]
- return $taskKey;
-}
-
-/**
- * Create a Datastore entity, giving the excludeFromIndexes option.
- *
- * @param DatastoreClient $datastore
- * @param Key $key
- * @return Entity
- */
-function properties(DatastoreClient $datastore, Key $key)
-{
- // [START properties]
- $task = $datastore->entity(
- $key,
- [
- 'category' => 'Personal',
- 'created' => new DateTime(),
- 'done' => false,
- 'priority' => 4,
- 'percent_complete' => 10.0,
- 'description' => 'Learn Cloud Datastore'
- ],
- ['excludeFromIndexes' => ['description']]
- );
- // [END properties]
- return $task;
-}
-
-/**
- * Create a Datastore entity with some array properties.
- *
- * @param DatastoreClient $datastore
- * @param Key $key
- * @return Entity
- */
-function array_value(DatastoreClient $datastore, Key $key)
-{
- // [START array_value]
- $task = $datastore->entity(
- $key,
- [
- 'tags' => ['fun', 'programming'],
- 'collaborators' => ['alice', 'bob']
- ]
- );
- // [END array_value]
- return $task;
-}
-
-/**
- * Create a basic Datastore query.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function basic_query(DatastoreClient $datastore)
-{
- // [START basic_query]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('done', '=', false)
- ->filter('priority', '>=', 4)
- ->order('priority', Query::ORDER_DESCENDING);
- // [END basic_query]
- return $query;
-}
-
-/**
- * Run a given query.
- *
- * @param DatastoreClient $datastore
- * @return EntityIterator
- */
-function run_query(DatastoreClient $datastore, Query $query)
-{
- // [START run_query]
- $result = $datastore->runQuery($query);
- // [END run_query]
- return $result;
-}
-
-/**
- * Create a query with a property filter.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function property_filter(DatastoreClient $datastore)
-{
- // [START property_filter]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('done', '=', false);
- // [END property_filter]
- return $query;
-}
-
-/**
- * Create a query with a composite filter.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function composite_filter(DatastoreClient $datastore)
-{
- // [START composite_filter]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('done', '=', false)
- ->filter('priority', '=', 4);
- // [END composite_filter]
- return $query;
-}
-
-/**
- * Create a query with a key filter.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function key_filter(DatastoreClient $datastore)
-{
- // [START key_filter]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('__key__', '>', $datastore->key('Task', 'someTask'));
- // [END key_filter]
- return $query;
-}
-
-/**
- * Create a query with ascending sort.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function ascending_sort(DatastoreClient $datastore)
-{
- // [START ascending_sort]
- $query = $datastore->query()
- ->kind('Task')
- ->order('created');
- // [END ascending_sort]
- return $query;
-}
-
-/**
- * Create a query with descending sort.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function descending_sort(DatastoreClient $datastore)
-{
- // [START descending_sort]
- $query = $datastore->query()
- ->kind('Task')
- ->order('created', Query::ORDER_DESCENDING);
- // [END descending_sort]
- return $query;
-}
-
-/**
- * Create a query sorting with multiple properties.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function multi_sort(DatastoreClient $datastore)
-{
- // [START multi_sort]
- $query = $datastore->query()
- ->kind('Task')
- ->order('priority', Query::ORDER_DESCENDING)
- ->order('created');
- // [END multi_sort]
- return $query;
-}
-
-/**
- * Create an ancestor query.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function ancestor_query(DatastoreClient $datastore)
-{
- // [START ancestor_query]
- $ancestorKey = $datastore->key('TaskList', 'default');
- $query = $datastore->query()
- ->kind('Task')
- ->hasAncestor($ancestorKey);
- // [END ancestor_query]
- return $query;
-}
-
-/**
- * Create a kindless query.
- *
- * @param DatastoreClient $datastore
- * @param Key $lastSeenKey
- * @return Query
- */
-function kindless_query(DatastoreClient $datastore, Key $lastSeenKey)
-{
- // [START kindless_query]
- $query = $datastore->query()
- ->filter('__key__', '>', $lastSeenKey);
- // [END kindless_query]
- return $query;
-}
-
-/**
- * Create a keys-only query.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function keys_only_query(DatastoreClient $datastore)
-{
- // [START keys_only_query]
- $query = $datastore->query()
- ->keysOnly();
- // [END keys_only_query]
- return $query;
-}
-
-/**
- * Create a projection query.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function projection_query(DatastoreClient $datastore)
-{
- // [START projection_query]
- $query = $datastore->query()
- ->kind('Task')
- ->projection(['priority', 'percent_complete']);
- // [END projection_query]
- return $query;
-}
-
-/**
- * Run the given projection query and collect the projected properties.
- *
- * @param DatastoreClient $datastore
- * @param Query $query
- * @return array
- */
-function run_projection_query(DatastoreClient $datastore, Query $query)
-{
- // [START run_query_projection]
- $priorities = array();
- $percentCompletes = array();
- $result = $datastore->runQuery($query);
- /* @var Entity $task */
- foreach ($result as $task) {
- $priorities[] = $task['priority'];
- $percentCompletes[] = $task['percent_complete'];
- }
- // [END run_query_projection]
- return array($priorities, $percentCompletes);
-}
-
-/**
- * Create a query with distinctOn.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function distinct_on(DatastoreClient $datastore)
-{
- // [START distinct_on_query]
- $query = $datastore->query()
- ->kind('Task')
- ->order('category')
- ->order('priority')
- ->projection(['category', 'priority'])
- ->distinctOn('category');
- // [END distinct_on_query]
- return $query;
-}
-
-/**
- * Create a query with inequality filters.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function array_value_inequality_range(DatastoreClient $datastore)
-{
- // [START array_value_inequality_range]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('tag', '>', 'learn')
- ->filter('tag', '<', 'math');
- // [END array_value_inequality_range]
- return $query;
-}
-
-/**
- * Create a query with equality filters.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function array_value_equality(DatastoreClient $datastore)
-{
- // [START array_value_equality]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('tag', '=', 'fun')
- ->filter('tag', '=', 'programming');
- // [END array_value_equality]
- return $query;
-}
-
-/**
- * Create a query with a limit.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function limit(DatastoreClient $datastore)
-{
- // [START limit]
- $query = $datastore->query()
- ->kind('Task')
- ->limit(5);
- // [END limit]
- return $query;
-}
-
-// [START cursor_paging]
-/**
- * Fetch a query cursor.
- *
- * @param DatastoreClient $datastore
- * @param string $pageSize
- * @param string $pageCursor
- * @return array
- */
-function cursor_paging(DatastoreClient $datastore, $pageSize, $pageCursor = '')
-{
- $query = $datastore->query()
- ->kind('Task')
- ->limit($pageSize)
- ->start($pageCursor);
- $result = $datastore->runQuery($query);
- $nextPageCursor = '';
- $entities = [];
- /* @var Entity $entity */
- foreach ($result as $entity) {
- $nextPageCursor = $entity->cursor();
- $entities[] = $entity;
- }
- return array(
- 'nextPageCursor' => $nextPageCursor,
- 'entities' => $entities
- );
-}
-// [END cursor_paging]
-
-/**
- * Create a query with inequality range filters on the same property.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function inequality_range(DatastoreClient $datastore)
-{
- // [START inequality_range]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('created', '>', new DateTime('1990-01-01T00:00:00z'))
- ->filter('created', '<', new DateTime('2000-12-31T23:59:59z'));
- // [END inequality_range]
- return $query;
-}
-
-/**
- * Create an invalid query with inequality filters on multiple properties.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function inequality_invalid(DatastoreClient $datastore)
-{
- // [START inequality_invalid]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('priority', '>', 3)
- ->filter('created', '>', new DateTime('1990-01-01T00:00:00z'));
- // [END inequality_invalid]
- return $query;
-}
-
-/**
- * Create a query with equality filters and inequality range filters on a
- * single property.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function equal_and_inequality_range(DatastoreClient $datastore)
-{
- // [START equal_and_inequality_range]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('priority', '=', 4)
- ->filter('done', '=', false)
- ->filter('created', '>', new DateTime('1990-01-01T00:00:00z'))
- ->filter('created', '<', new DateTime('2000-12-31T23:59:59z'));
- // [END equal_and_inequality_range]
- return $query;
-}
-
-/**
- * Create a query with an inequality filter and multiple sort orders.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function inequality_sort(DatastoreClient $datastore)
-{
- // [START inequality_sort]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('priority', '>', 3)
- ->order('priority')
- ->order('created');
- // [END inequality_sort]
- return $query;
-}
-
-/**
- * Create an invalid query with an inequality filter and a wrong sort order.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function inequality_sort_invalid_not_same(DatastoreClient $datastore)
-{
- // [START inequality_sort_invalid_not_same]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('priority', '>', 3)
- ->order('created');
- // [END inequality_sort_invalid_not_same]
- return $query;
-}
-
-/**
- * Create an invalid query with an inequality filter and a wrong sort order.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function inequality_sort_invalid_not_first(DatastoreClient $datastore)
-{
- // [START inequality_sort_invalid_not_first]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('priority', '>', 3)
- ->order('created')
- ->order('priority');
- // [END inequality_sort_invalid_not_first]
- return $query;
-}
-
-/**
- * Create a query with an equality filter on 'description'.
- *
- * @param DatastoreClient $datastore
- * @return Query
- */
-function unindexed_property_query(DatastoreClient $datastore)
-{
- // [START unindexed_property_query]
- $query = $datastore->query()
- ->kind('Task')
- ->filter('description', '=', 'A task description.');
- // [END unindexed_property_query]
- return $query;
-}
-
-/**
- * Create an entity with two array properties.
- *
- * @param DatastoreClient $datastore
- * @return Entity
- */
-function exploding_properties(DatastoreClient $datastore)
-{
- // [START exploding_properties]
- $task = $datastore->entity(
- $datastore->key('Task'),
- [
- 'tags' => ['fun', 'programming', 'learn'],
- 'collaborators' => ['alice', 'bob', 'charlie'],
- 'created' => new DateTime(),
- ]
- );
- // [END exploding_properties]
- return $task;
-}
-
-// [START transactional_update]
-/**
- * Update two entities in a transaction.
- *
- * @param DatastoreClient $datastore
- * @param Key $fromKey
- * @param Key $toKey
- * @param $amount
- */
-function transfer_funds(
- DatastoreClient $datastore,
- Key $fromKey,
- Key $toKey,
- $amount
-) {
- $transaction = $datastore->transaction();
- // The option 'sort' is important here, otherwise the order of the result
- // might be different from the order of the keys.
- $result = $transaction->lookupBatch([$fromKey, $toKey], ['sort' => true]);
- if (count($result['found']) != 2) {
- $transaction->rollback();
- }
- $fromAccount = $result['found'][0];
- $toAccount = $result['found'][1];
- $fromAccount['balance'] -= $amount;
- $toAccount['balance'] += $amount;
- $transaction->updateBatch([$fromAccount, $toAccount]);
- $transaction->commit();
-}
-// [END transactional_update]
-
-/**
- * Call a function and retry upon conflicts for several times.
- *
- * @param DatastoreClient $datastore
- * @param Key $fromKey
- * @param Key $toKey
- */
-function transactional_retry(
- DatastoreClient $datastore,
- Key $fromKey,
- Key $toKey
-) {
- // [START transactional_retry]
- $retries = 5;
- for ($i = 0; $i < $retries; $i++) {
- try {
- transfer_funds($datastore, $fromKey, $toKey, 10);
- } catch (Google\Cloud\Exception\ConflictException $e) {
- // if $i >= $retries, the failure is final
- continue;
- }
- // Succeeded!
- break;
- }
- // [END transactional_retry]
-}
-
-/**
- * Insert an entity only if there is no entity with the same key.
- *
- * @param DatastoreClient $datastore
- * @param Entity $task
- */
-function get_or_create(DatastoreClient $datastore, Entity $task)
-{
- // [START transactional_get_or_create]
- $transaction = $datastore->transaction();
- $existed = $transaction->lookup($task->key());
- if ($existed === null) {
- $transaction->insert($task);
- $transaction->commit();
- }
- // [END transactional_get_or_create]
-}
-
-/**
- * Run a query with an ancestor inside a transaction.
- *
- * @param DatastoreClient $datastore
- * @return array
- */
-function get_task_list_entities(DatastoreClient $datastore)
-{
- // [START transactional_single_entity_group_read_only]
- $transaction = $datastore->transaction();
- $taskListKey = $datastore->key('TaskList', 'default');
- $query = $datastore->query()
- ->kind('Task')
- ->hasAncestor($taskListKey);
- $result = $transaction->runQuery($query);
- $taskListEntities = [];
- /* @var Entity $task */
- foreach ($result as $task) {
- $taskListEntities[] = $task;
- }
- $transaction->commit();
- // [END transactional_single_entity_group_read_only]
- return $taskListEntities;
-}
-
-/**
- * Create and run a query with readConsistency option.
- *
- * @param DatastoreClient $datastore
- * @return EntityIterator
- */
-function eventual_consistent_query(DatastoreClient $datastore)
-{
- // [START eventual_consistent_query]
- $query = $datastore->query()
- ->kind('Task')
- ->hasAncestor($datastore->key('TaskList', 'default'));
- $result = $datastore->runQuery($query, ['readConsistency' => 'EVENTUAL']);
- // [END eventual_consistent_query]
- return $result;
-}
-
-/**
- * Create an entity with a parent key.
- *
- * @param DatastoreClient $datastore
- * @return Entity
- */
-function entity_with_parent(DatastoreClient $datastore)
-{
- // [START entity_with_parent]
- $parentKey = $datastore->key('TaskList', 'default');
- $key = $datastore->key('Task')->ancestorKey($parentKey);
- $task = $datastore->entity(
- $key,
- [
- 'Category' => 'Personal',
- 'Done' => false,
- 'Priority' => 4,
- 'Description' => 'Learn Cloud Datastore'
- ]
- );
- // [END entity_with_parent]
- return $task;
-}
-
-/**
- * Create and run a namespace query.
- *
- * @param DatastoreClient $datastore
- * @param string $start a starting namespace (inclusive)
- * @param string $end an ending namespace (exclusive)
- * @return array namespaces returned from the query.
- */
-function namespace_run_query(DatastoreClient $datastore, $start, $end)
-{
- // [START namespace_run_query]
- $query = $datastore->query()
- ->kind('__namespace__')
- ->projection(['__key__'])
- ->filter('__key__', '>=', $datastore->key('__namespace__', $start))
- ->filter('__key__', '<', $datastore->key('__namespace__', $end));
- $result = $datastore->runQuery($query);
- /* @var array $namespaces */
- $namespaces = [];
- foreach ($result as $namespace) {
- $namespaces[] = $namespace->key()->pathEnd()['name'];
- }
- // [END namespace_run_query]
- return $namespaces;
-}
-
-/**
- * Create and run a query to list all kinds in Datastore.
- *
- * @param DatastoreClient $datastore
- * @return array kinds returned from the query
- */
-function kind_run_query(DatastoreClient $datastore)
-{
- // [START kind_run_query]
- $query = $datastore->query()
- ->kind('__kind__')
- ->projection(['__key__']);
- $result = $datastore->runQuery($query);
- /* @var array $kinds */
- $kinds = [];
- foreach ($result as $kind) {
- $kinds[] = $kind->key()->pathEnd()['name'];
- }
- // [END kind_run_query]
- return $kinds;
-}
-
-/**
- * Create and run a property query.
- *
- * @param DatastoreClient $datastore
- * @return array
- */
-function property_run_query(DatastoreClient $datastore)
-{
- // [START property_run_query]
- $query = $datastore->query()
- ->kind('__property__')
- ->projection(['__key__']);
- $result = $datastore->runQuery($query);
- /* @var array $properties */
- $properties = [];
- /* @var Entity $entity */
- foreach ($result as $entity) {
- $kind = $entity->key()->path()[0]['name'];
- $propertyName = $entity->key()->path()[1]['name'];
- $properties[] = "$kind.$propertyName";
- }
- // [END property_run_query]
- return $properties;
-}
-
-/**
- * Create and run a property query with a kind.
- *
- * @param DatastoreClient $datastore
- * @return array string>
- */
-function property_by_kind_run_query(DatastoreClient $datastore)
-{
- // [START property_by_kind_run_query]
- $ancestorKey = $datastore->key('__kind__', 'Task');
- $query = $datastore->query()
- ->kind('__property__')
- ->hasAncestor($ancestorKey);
- $result = $datastore->runQuery($query);
- /* @var array string> $properties */
- $properties = [];
- /* @var Entity $entity */
- foreach ($result as $entity) {
- $propertyName = $entity->key()->path()[1]['name'];
- $propertyType = $entity['property_representation'];
- $properties[$propertyName] = $propertyType;
- }
- // Example values of $properties: ['description' => ['STRING']]
- // [END property_by_kind_run_query]
- return $properties;
-}
-
-/**
- * Create and run a property query with property filtering.
- *
- * @param DatastoreClient $datastore
- * @return array
- */
-function property_filtering_run_query(DatastoreClient $datastore)
-{
- // [START property_filtering_run_query]
- $ancestorKey = $datastore->key('__kind__', 'Task');
- $startKey = $datastore->key('__property__', 'priority')
- ->ancestorKey($ancestorKey);
- $query = $datastore->query()
- ->kind('__property__')
- ->filter('__key__', '>=', $startKey);
- $result = $datastore->runQuery($query);
- /* @var array $properties */
- $properties = [];
- /* @var Entity $entity */
- foreach ($result as $entity) {
- $kind = $entity->key()->path()[0]['name'];
- $propertyName = $entity->key()->path()[1]['name'];
- $properties[] = "$kind.$propertyName";
- }
- // [END property_filtering_run_query]
- return $properties;
-}
diff --git a/datastore/api/test/ConceptsTest.php b/datastore/api/test/ConceptsTest.php
deleted file mode 100644
index 301352cd5e..0000000000
--- a/datastore/api/test/ConceptsTest.php
+++ /dev/null
@@ -1,1146 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $this->eventuallyConsistentRetryCount =
- getenv('DATASTORE_EVENTUALLY_CONSISTENT_RETRY_COUNT') ?: 3;
- if (!self::$hasCredentials &&
- getenv('DATASTORE_EMULATOR_HOST') === false) {
- $this->markTestSkipped(
- 'No application credentials were found, also not using the '
- . 'datastore emulator');
- }
- self::$datastore = new DatastoreClient(
- array('namespaceId' => generateRandomString())
- );
- self::$keys = [];
- }
-
- public function testBasicEntity()
- {
- $task = basic_entity(self::$datastore);
- $this->assertEquals('Personal', $task['category']);
- $this->assertEquals(false, $task['done']);
- $this->assertEquals(4, $task['priority']);
- $this->assertEquals('Learn Cloud Datastore', $task['description']);
- }
-
- public function testUpsert()
- {
- self::$keys[] = self::$datastore->key('Task', 'sampleTask');
- $task = upsert(self::$datastore);
- $task = self::$datastore->lookup($task->key());
- $this->assertEquals('Personal', $task['category']);
- $this->assertEquals(false, $task['done']);
- $this->assertEquals(4, $task['priority']);
- $this->assertEquals('Learn Cloud Datastore', $task['description']);
- $this->assertEquals('sampleTask', $task->key()->pathEnd()['name']);
- }
-
- public function testInsert()
- {
- $task = insert(self::$datastore);
- self::$keys[] = $task->key();
- $task = self::$datastore->lookup($task->key());
- $this->assertEquals('Personal', $task['category']);
- $this->assertEquals(false, $task['done']);
- $this->assertEquals(4, $task['priority']);
- $this->assertEquals('Learn Cloud Datastore', $task['description']);
- $this->assertArrayHasKey('id', $task->key()->pathEnd());
- }
-
- public function testLookup()
- {
- self::$keys[] = self::$datastore->key('Task', 'sampleTask');
- upsert(self::$datastore);
- $task = lookup(self::$datastore);
- $this->assertEquals('Personal', $task['category']);
- $this->assertEquals(false, $task['done']);
- $this->assertEquals(4, $task['priority']);
- $this->assertEquals('Learn Cloud Datastore', $task['description']);
- $this->assertEquals('sampleTask', $task->key()->pathEnd()['name']);
- }
-
- public function testUpdate()
- {
- self::$keys[] = self::$datastore->key('Task', 'sampleTask');
- upsert(self::$datastore);
- update(self::$datastore);
- $task = lookup(self::$datastore);
- $this->assertEquals('Personal', $task['category']);
- $this->assertEquals(false, $task['done']);
- $this->assertEquals(5, $task['priority']);
- $this->assertEquals('Learn Cloud Datastore', $task['description']);
- $this->assertEquals('sampleTask', $task->key()->pathEnd()['name']);
- }
-
- public function testDelete()
- {
- $taskKey = self::$datastore->key('Task', generateRandomString());
- self::$keys[] = $taskKey;
- $task = self::$datastore->entity($taskKey);
- $task['category'] = 'Personal';
- $task['done'] = false;
- $task['priority'] = 4;
- $task['description'] = 'Learn Cloud Datastore';
- delete(self::$datastore, $taskKey);
- $task = self::$datastore->lookup($taskKey);
- $this->assertNull($task);
- }
-
- public function testBatchUpsert()
- {
- $path1 = generateRandomString();
- $path2 = generateRandomString();
- $key1 = self::$datastore->key('Task', $path1);
- $key2 = self::$datastore->key('Task', $path2);
- $task1 = self::$datastore->entity($key1);
- $task1['category'] = 'Personal';
- $task1['done'] = false;
- $task1['priority'] = 4;
- $task1['description'] = 'Learn Cloud Datastore';
- $task2 = self::$datastore->entity($key2);
- $task2['category'] = 'Work';
- $task2['done'] = true;
- $task2['priority'] = 0;
- $task2['description'] = 'Finish writing sample';
- self::$keys[] = $key1;
- self::$keys[] = $key2;
-
- batch_upsert(self::$datastore, [$task1, $task2]);
- $task1 = self::$datastore->lookup($key1);
- $task2 = self::$datastore->lookup($key2);
-
- $this->assertEquals('Personal', $task1['category']);
- $this->assertEquals(false, $task1['done']);
- $this->assertEquals(4, $task1['priority']);
- $this->assertEquals('Learn Cloud Datastore', $task1['description']);
- $this->assertEquals($path1, $task1->key()->pathEnd()['name']);
-
- $this->assertEquals('Work', $task2['category']);
- $this->assertEquals(true, $task2['done']);
- $this->assertEquals(0, $task2['priority']);
- $this->assertEquals('Finish writing sample', $task2['description']);
- $this->assertEquals($path2, $task2->key()->pathEnd()['name']);
- }
-
- public function testBatchLookup()
- {
- $path1 = generateRandomString();
- $path2 = generateRandomString();
- $key1 = self::$datastore->key('Task', $path1);
- $key2 = self::$datastore->key('Task', $path2);
- $task1 = self::$datastore->entity($key1);
- $task1['category'] = 'Personal';
- $task1['done'] = false;
- $task1['priority'] = 4;
- $task1['description'] = 'Learn Cloud Datastore';
- $task2 = self::$datastore->entity($key2);
- $task2['category'] = 'Work';
- $task2['done'] = true;
- $task2['priority'] = 0;
- $task2['description'] = 'Finish writing sample';
- self::$keys[] = $key1;
- self::$keys[] = $key2;
-
- batch_upsert(self::$datastore, [$task1, $task2]);
- $result = batch_lookup(self::$datastore, [$key1, $key2]);
-
- $this->assertArrayHasKey('found', $result);
- $tasks = $result['found'];
-
- $this->assertEquals(2, count($tasks));
- /* @var Entity $task */
- foreach ($tasks as $task) {
- if ($task->key()->pathEnd()['name'] === $path1) {
- $task1 = $task;
- } elseif ($task->key()->pathEnd()['name'] === $path2) {
- $task2 = $task;
- } else {
- $this->fail(
- sprintf(
- 'Got an unexpected entity with the path:%s',
- $task->key()->pathEnd()['name']
- )
- );
- }
- }
- $this->assertEquals('Personal', $task1['category']);
- $this->assertEquals(false, $task1['done']);
- $this->assertEquals(4, $task1['priority']);
- $this->assertEquals('Learn Cloud Datastore', $task1['description']);
- $this->assertEquals($path1, $task1->key()->pathEnd()['name']);
-
- $this->assertEquals('Work', $task2['category']);
- $this->assertEquals(true, $task2['done']);
- $this->assertEquals(0, $task2['priority']);
- $this->assertEquals('Finish writing sample', $task2['description']);
- $this->assertEquals($path2, $task2->key()->pathEnd()['name']);
- }
-
- public function testBatchDelete()
- {
- $path1 = generateRandomString();
- $path2 = generateRandomString();
- $key1 = self::$datastore->key('Task', $path1);
- $key2 = self::$datastore->key('Task', $path2);
- $task1 = self::$datastore->entity($key1);
- $task1['category'] = 'Personal';
- $task1['done'] = false;
- $task1['priority'] = 4;
- $task1['description'] = 'Learn Cloud Datastore';
- $task2 = self::$datastore->entity($key2);
- $task2['category'] = 'Work';
- $task2['done'] = true;
- $task2['priority'] = 0;
- $task2['description'] = 'Finish writing sample';
- self::$keys[] = $key1;
- self::$keys[] = $key2;
-
- batch_upsert(self::$datastore, [$task1, $task2]);
- batch_delete(self::$datastore, [$key1, $key2]);
-
- $result = batch_lookup(self::$datastore, [$key1, $key2]);
- $this->assertArrayNotHasKey('found', $result);
- }
-
- public function testNamedKey()
- {
- $key = named_key(self::$datastore);
- $this->assertEquals('Task', $key->pathEnd()['kind']);
- $this->assertEquals('sampleTask', $key->pathEnd()['name']);
- }
-
- public function testIncompleteKey()
- {
- $key = incomplete_key(self::$datastore);
- $this->assertEquals('Task', $key->pathEnd()['kind']);
- $this->assertArrayNotHasKey('name', $key->pathEnd());
- $this->assertArrayNotHasKey('id', $key->pathEnd());
- }
-
- public function testKeyWithParent()
- {
- $key = key_with_parent(self::$datastore);
- $this->assertEquals('Task', $key->path()[1]['kind']);
- $this->assertEquals('sampleTask', $key->path()[1]['name']);
- $this->assertEquals('TaskList', $key->path()[0]['kind']);
- $this->assertEquals('default', $key->path()[0]['name']);
- }
-
- public function testKeyWithMultilevelParent()
- {
- $key = key_with_multilevel_parent(self::$datastore);
- $this->assertEquals('Task', $key->path()[2]['kind']);
- $this->assertEquals('sampleTask', $key->path()[2]['name']);
- $this->assertEquals('TaskList', $key->path()[1]['kind']);
- $this->assertEquals('default', $key->path()[1]['name']);
- $this->assertEquals('User', $key->path()[0]['kind']);
- $this->assertEquals('alice', $key->path()[0]['name']);
- }
-
- public function testProperties()
- {
- $key = self::$datastore->key('Task', generateRandomString());
- self::$keys[] = $key;
- $task = properties(self::$datastore, $key);
- self::$datastore->upsert($task);
- $task = self::$datastore->lookup($key);
- $this->assertEquals('Personal', $task['category']);
- $this->assertInstanceOf(\DateTimeInterface::class, $task['created']);
- $this->assertGreaterThanOrEqual($task['created'], new \DateTime());
- $this->assertEquals(false, $task['done']);
- $this->assertEquals(10.0, $task['percent_complete']);
- $this->assertEquals(4, $task['priority']);
- $this->assertEquals('Learn Cloud Datastore', $task['description']);
- }
-
- public function testArrayValue()
- {
- $key = self::$datastore->key('Task', generateRandomString());
- self::$keys[] = $key;
- $task = array_value(self::$datastore, $key);
- self::$datastore->upsert($task);
- $task = self::$datastore->lookup($key);
- $this->assertEquals(['fun', 'programming'], $task['tags']);
- $this->assertEquals(['alice', 'bob'], $task['collaborators']);
-
- $this->runEventuallyConsistentTest(function () use ($key) {
- $query = self::$datastore->query()
- ->kind('Task')
- ->projection(['tags', 'collaborators'])
- ->filter('collaborators', '<', 'charlie');
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- $num = 0;
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->assertEquals($e->key()->path(), $key->path());
- $this->assertTrue(
- ($e['tags'] == 'fun')
- ||
- ($e['tags'] == 'programming')
- );
- $this->assertTrue(
- ($e['collaborators'] == 'alice')
- ||
- ($e['collaborators'] == 'bob')
- );
- $num += 1;
- }
- // The following 4 combinations should be in the result:
- // tags = 'fun', collaborators = 'alice'
- // tags = 'fun', collaborators = 'bob'
- // tags = 'programming', collaborators = 'alice'
- // tags = 'programming', collaborators = 'bob'
- self::assertEquals(4, $num);
- });
- }
-
- public function testBasicQuery()
- {
- $key1 = self::$datastore->key('Task', generateRandomString());
- $key2 = self::$datastore->key('Task', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['priority'] = 4;
- $entity1['done'] = false;
- $entity2['priority'] = 5;
- $entity2['done'] = false;
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $query = basic_query(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $key2, $query) {
- $result = self::$datastore->runQuery($query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(2, $num);
- $this->assertTrue($entities[0]->key()->path() == $key2->path());
- $this->assertTrue($entities[1]->key()->path() == $key1->path());
- });
- }
-
- public function testRunQuery()
- {
- $key1 = self::$datastore->key('Task', generateRandomString());
- $key2 = self::$datastore->key('Task', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['priority'] = 4;
- $entity1['done'] = false;
- $entity2['priority'] = 5;
- $entity2['done'] = false;
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $query = basic_query(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $key2, $query) {
- $result = run_query(self::$datastore, $query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(2, $num);
- $this->assertTrue($entities[0]->key()->path() == $key2->path());
- $this->assertTrue($entities[1]->key()->path() == $key1->path());
- });
- }
-
- public function testPropertyFilter()
- {
- $key1 = self::$datastore->key('Task', generateRandomString());
- $key2 = self::$datastore->key('Task', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['done'] = false;
- $entity2['done'] = true;
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $query = property_filter(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $query) {
- $result = self::$datastore->runQuery($query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(1, $num);
- $this->assertTrue($entities[0]->key()->path() == $key1->path());
- });
- }
-
- public function testCompositeFilter()
- {
- $key1 = self::$datastore->key('Task', generateRandomString());
- $key2 = self::$datastore->key('Task', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['done'] = false;
- $entity1['priority'] = 4;
- $entity2['done'] = false;
- $entity2['priority'] = 5;
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $query = composite_filter(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $query) {
- $result = self::$datastore->runQuery($query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(1, $num);
- $this->assertTrue($entities[0]->key()->path() == $key1->path());
- });
- }
-
- public function testKeyFilter()
- {
- $key1 = self::$datastore->key('Task', 'taskWhichShouldMatch');
- $key2 = self::$datastore->key('Task', 'keyWhichShouldNotMatch');
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $query = key_filter(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $query) {
- $result = self::$datastore->runQuery($query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(1, $num);
- $this->assertTrue($entities[0]->key()->path() == $key1->path());
- });
- }
-
- public function testAscendingSort()
- {
- $key1 = self::$datastore->key('Task', generateRandomString());
- $key2 = self::$datastore->key('Task', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['created'] = new \DateTime('2016-10-13 14:04:01');
- $entity2['created'] = new \DateTime('2016-10-13 14:04:00');
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $query = ascending_sort(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $key2, $query) {
- $result = self::$datastore->runQuery($query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(2, $num);
- $this->assertTrue($entities[0]->key()->path() == $key2->path());
- $this->assertTrue($entities[1]->key()->path() == $key1->path());
- });
- }
-
- public function testDescendingSort()
- {
- $key1 = self::$datastore->key('Task', generateRandomString());
- $key2 = self::$datastore->key('Task', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['created'] = new \DateTime('2016-10-13 14:04:00');
- $entity2['created'] = new \DateTime('2016-10-13 14:04:01');
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $query = descending_sort(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $key2, $query) {
- $result = self::$datastore->runQuery($query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(2, $num);
- $this->assertTrue($entities[0]->key()->path() == $key2->path());
- $this->assertTrue($entities[1]->key()->path() == $key1->path());
- });
- }
-
- public function testMultiSort()
- {
- $key1 = self::$datastore->key('Task', generateRandomString());
- $key2 = self::$datastore->key('Task', generateRandomString());
- $key3 = self::$datastore->key('Task', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity3 = self::$datastore->entity($key3);
- $entity3['created'] = new \DateTime('2016-10-13 14:04:03');
- $entity3['priority'] = 5;
- $entity2['created'] = new \DateTime('2016-10-13 14:04:01');
- $entity2['priority'] = 4;
- $entity1['created'] = new \DateTime('2016-10-13 14:04:02');
- $entity1['priority'] = 4;
- self::$keys = [$key1, $key2, $key3];
- self::$datastore->upsertBatch([$entity1, $entity2, $entity3]);
- $query = multi_sort(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $key2, $key3, $query) {
- $result = self::$datastore->runQuery($query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(3, $num);
- $this->assertTrue($entities[0]->key()->path() == $key3->path());
- $this->assertEquals(5, $entities[0]['priority']);
- $this->assertTrue($entities[1]->key()->path() == $key2->path());
- $this->assertEquals(4, $entities[1]['priority']);
- $this->assertTrue($entities[2]->key()->path() == $key1->path());
- $this->assertEquals(4, $entities[2]['priority']);
- $this->assertTrue($entities[0]['created'] > $entities[1]['created']);
- $this->assertTrue($entities[1]['created'] < $entities[2]['created']);
- });
- }
-
- public function testAncestorQuery()
- {
- $key = self::$datastore->key('Task', generateRandomString())
- ->ancestor('TaskList', 'default');
- $entity = self::$datastore->entity($key);
- $uniqueValue = generateRandomString();
- $entity['prop'] = $uniqueValue;
- self::$keys[] = $key;
- self::$datastore->upsert($entity);
- $query = ancestor_query(self::$datastore);
- $this->assertInstanceOf(Query::class, $query);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- $found = false;
- foreach ($result as $e) {
- $found = true;
- self::assertEquals($uniqueValue, $e['prop']);
- }
- self::assertTrue($found);
- }
-
- public function testKindlessQuery()
- {
- $key1 = self::$datastore->key('Task', 'taskWhichShouldMatch');
- $key2 = self::$datastore->key('Task', 'entityWhichShouldNotMatch');
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $lastSeenKey = self::$datastore->key('Task', 'lastSeen');
- $query = kindless_query(self::$datastore, $lastSeenKey);
- $this->assertInstanceOf(Query::class, $query);
-
- $this->runEventuallyConsistentTest(
- function () use ($key1, $key2, $query) {
- $result = self::$datastore->runQuery($query);
- $num = 0;
- $entities = [];
- /* @var Entity $e */
- foreach ($result as $e) {
- $entities[] = $e;
- $num += 1;
- }
- self::assertEquals(1, $num);
- $this->assertTrue($entities[0]->key()->path() == $key1->path());
- });
- }
-
- public function testKeysOnlyQuery()
- {
- $key = self::$datastore->key('Task', generateRandomString());
- $entity = self::$datastore->entity($key);
- $entity['prop'] = 'value';
- self::$keys[] = $key;
- self::$datastore->upsert($entity);
- $this->runEventuallyConsistentTest(function () use ($key) {
- $query = keys_only_query(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- $found = false;
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->assertNull($e['prop']);
- $this->assertEquals($key->path(), $e->key()->path());
- $found = true;
- break;
- }
- self::assertTrue($found);
- });
- }
-
- public function testProjectionQuery()
- {
- $key = self::$datastore->key('Task', generateRandomString());
- $entity = self::$datastore->entity($key);
- $entity['prop'] = 'value';
- $entity['priority'] = 4;
- $entity['percent_complete'] = 50;
- self::$keys[] = $key;
- self::$datastore->upsert($entity);
- $this->runEventuallyConsistentTest(function () {
- $query = projection_query(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- $found = false;
- foreach ($result as $e) {
- $this->assertEquals(4, $e['priority']);
- $this->assertEquals(50, $e['percent_complete']);
- $this->assertNull($e['prop']);
- $found = true;
- }
- self::assertTrue($found);
- });
- }
-
- public function testRunProjectionQuery()
- {
- $key = self::$datastore->key('Task', generateRandomString());
- $entity = self::$datastore->entity($key);
- $entity['prop'] = 'value';
- $entity['priority'] = 4;
- $entity['percent_complete'] = 50;
- self::$keys[] = $key;
- self::$datastore->upsert($entity);
- $this->runEventuallyConsistentTest(function () {
- $query = projection_query(self::$datastore);
- $result = run_projection_query(self::$datastore, $query);
- $this->assertEquals(2, count($result));
- $this->assertEquals([4], $result[0]);
- $this->assertEquals([50], $result[1]);
- });
- }
-
- public function testDistinctOn()
- {
- $key1 = self::$datastore->key('Task', generateRandomString());
- $key2 = self::$datastore->key('Task', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['prop'] = 'value';
- $entity1['priority'] = 4;
- $entity1['category'] = 'work';
- $entity2['priority'] = 5;
- $entity2['category'] = 'work';
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $this->runEventuallyConsistentTest(function () use ($key1) {
- $query = distinct_on(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- $num = 0;
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->assertEquals(4, $e['priority']);
- $this->assertEquals('work', $e['category']);
- $this->assertNull($e['prop']);
- $this->assertEquals($e->key()->path(), $key1->path());
- $num += 1;
- }
- self::assertEquals(1, $num);
- });
- }
-
- public function testArrayValueFilters()
- {
- $key = self::$datastore->key('Task', generateRandomString());
- $entity = self::$datastore->entity($key);
- $entity['tag'] = ['fun', 'programming'];
- self::$keys[] = $key;
- self::$datastore->upsert($entity);
- // This is a test for non-matching query for eventually consistent
- // query. This is hard, here we only sleep 5 seconds.
- sleep(5);
- $query = array_value_inequality_range(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->fail(
- sprintf(
- 'Should not match the entity. Here is the tag: %s',
- var_export($e['tag'], true)
- )
- );
- }
- $this->runEventuallyConsistentTest(function () use ($key) {
- $query = array_value_equality(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- $num = 0;
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->assertEquals(['fun', 'programming'], $e['tag']);
- $this->assertEquals($e->key()->path(), $key->path());
- $num += 1;
- }
- self::assertEquals(1, $num);
- });
- }
-
- public function testLimit()
- {
- $entities = [];
- for ($i = 0; $i < 10; $i++) {
- $key = self::$datastore->key('Task', generateRandomString());
- self::$keys[] = $key;
- $entities[] = self::$datastore->entity($key);
- }
- self::$datastore->upsertBatch($entities);
- $this->runEventuallyConsistentTest(function () {
- $query = limit(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- $num = 0;
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->assertEquals('Task', $e->key()->path()[0]['kind']);
- $num += 1;
- }
- self::assertEquals(5, $num);
- });
- }
-
- public function testCursorPaging()
- {
- $entities = [];
- for ($i = 0; $i < 5; $i++) {
- $key = self::$datastore->key('Task', generateRandomString());
- self::$keys[] = $key;
- $entities[] = self::$datastore->entity($key);
- }
- self::$datastore->upsertBatch($entities);
- $this->runEventuallyConsistentTest(function () {
- $res = cursor_paging(self::$datastore, 3);
- $this->assertEquals(3, count($res['entities']));
- $res = cursor_paging(self::$datastore, 3, $res['nextPageCursor']);
- $this->assertEquals(2, count($res['entities']));
- });
- }
-
- public function testInequalityRange()
- {
- $query = inequality_range(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->fail(
- sprintf(
- 'Should not match the entity with a key: %s',
- var_export($e->key()->path(), true)
- )
- );
- }
- }
-
- /**
- * @expectedException Google\Cloud\Core\Exception\BadRequestException
- */
- public function testInequalityInvalid()
- {
- $query = inequality_invalid(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->fail(
- sprintf(
- 'Should not match the entity with a key: %s',
- var_export($e->key()->path(), true)
- )
- );
- }
- }
-
- public function testEqualAndInequalityRange()
- {
- $query = equal_and_inequality_range(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->fail(
- sprintf(
- 'Should not match the entity with a key: %s',
- var_export($e->key()->path(), true)
- )
- );
- }
- }
-
- public function testInequalitySort()
- {
- $query = inequality_sort(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->fail(
- sprintf(
- 'Should not match the entity with a key: %s',
- var_export($e->key()->path(), true)
- )
- );
- }
- }
-
- /**
- * @expectedException Google\Cloud\Core\Exception\BadRequestException
- */
- public function testInequalitySortInvalidNotSame()
- {
- $query = inequality_sort_invalid_not_same(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->fail(
- sprintf(
- 'Should not match the entity with a key: %s',
- var_export($e->key()->path(), true)
- )
- );
- }
- }
-
- /**
- * @expectedException Google\Cloud\Core\Exception\BadRequestException
- */
- public function testInequalitySortInvalidNotFirst()
- {
- $query = inequality_sort_invalid_not_first(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->fail(
- sprintf(
- 'Should not match the entity with a key: %s',
- var_export($e->key()->path(), true)
- )
- );
- }
- }
-
- public function testUnindexedPropertyQuery()
- {
- $query = unindexed_property_query(self::$datastore);
- $result = self::$datastore->runQuery($query);
- $this->assertInstanceOf(Iterator::class, $result);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->fail(
- sprintf(
- 'Should not match the entity with this query with '
- . ' a description: %s',
- $e['description']
- )
- );
- }
- }
-
- public function testExplodingProperties()
- {
- $task = exploding_properties(self::$datastore);
- self::$datastore->insert($task);
- self::$keys[] = $task->key();
- $this->assertEquals(['fun', 'programming', 'learn'], $task['tags']);
- $this->assertEquals(
- ['alice', 'bob', 'charlie'],
- $task['collaborators']
- );
- $this->assertArrayHasKey('id', $task->key()->pathEnd());
- }
-
- public function testTransferFunds()
- {
- $key1 = self::$datastore->key('Account', generateRandomString());
- $key2 = self::$datastore->key('Account', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['balance'] = 100;
- $entity2['balance'] = 0;
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- transfer_funds(self::$datastore, $key1, $key2, 100);
- $fromAccount = self::$datastore->lookup($key1);
- $this->assertEquals(0, $fromAccount['balance']);
- $toAccount = self::$datastore->lookup($key2);
- $this->assertEquals(100, $toAccount['balance']);
- }
-
- public function testTransactionalRetry()
- {
- $key1 = self::$datastore->key('Account', generateRandomString());
- $key2 = self::$datastore->key('Account', generateRandomString());
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- $entity1['balance'] = 10;
- $entity2['balance'] = 0;
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- transactional_retry(self::$datastore, $key1, $key2);
- $fromAccount = self::$datastore->lookup($key1);
- $this->assertEquals(0, $fromAccount['balance']);
- $toAccount = self::$datastore->lookup($key2);
- $this->assertEquals(10, $toAccount['balance']);
- }
-
- public function testGetTaskListEntities()
- {
- $taskListKey = self::$datastore->key('TaskList', 'default');
- $taskKey = self::$datastore->key('Task', 'first task')
- ->ancestorKey($taskListKey);
- $task = self::$datastore->entity(
- $taskKey,
- ['description' => 'finish datastore sample']
- );
- self::$keys[] = $taskKey;
- self::$datastore->upsert($task);
- $result = get_task_list_entities(self::$datastore);
- $num = 0;
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->assertEquals($taskKey->path(), $e->key()->path());
- $this->assertEquals('finish datastore sample', $e['description']);
- $num += 1;
- }
- self::assertEquals(1, $num);
- }
-
- public function testEventualConsistentQuery()
- {
- $taskListKey = self::$datastore->key('TaskList', 'default');
- $taskKey = self::$datastore->key('Task', generateRandomString())
- ->ancestorKey($taskListKey);
- $task = self::$datastore->entity(
- $taskKey,
- ['description' => 'learn eventual consistency']
- );
- self::$keys[] = $taskKey;
- self::$datastore->upsert($task);
- $this->runEventuallyConsistentTest(function () use ($taskKey) {
- $num = 0;
- $result = get_task_list_entities(self::$datastore);
- /* @var Entity $e */
- foreach ($result as $e) {
- $this->assertEquals($taskKey->path(), $e->key()->path());
- $this->assertEquals(
- 'learn eventual consistency',
- $e['description']);
- $num += 1;
- }
- self::assertEquals(1, $num);
- });
- }
-
- public function testEntityWithParent()
- {
- $entity = entity_with_parent(self::$datastore);
- $parentPath = ['kind' => 'TaskList', 'name' => 'default'];
- $pathEnd = ['kind' => 'Task'];
- $this->assertEquals($parentPath, $entity->key()->path()[0]);
- $this->assertEquals($pathEnd, $entity->key()->path()[1]);
- }
-
- public function testNamespaceRunQuery()
- {
- $testNamespace = 'namespaceTest';
- $datastore = new DatastoreClient(
- ['namespaceId' => $testNamespace]
- );
- // Fixed namespace and the entity key. We don't need to clean it up.
- $key = $datastore->key('Task', 'namespaceTestKey');
- $datastore->upsert($datastore->entity($key));
-
- $this->runEventuallyConsistentTest(
- function () use ($datastore, $testNamespace) {
- $namespaces = namespace_run_query($datastore, 'm', 'o');
- $this->assertEquals([$testNamespace], $namespaces);
- }
- );
- }
-
- public function testKindRunQuery()
- {
- $key1 = self::$datastore->key('Account', 'alice');
- $key2 = self::$datastore->key('Task', 'Task1');
- $entity1 = self::$datastore->entity($key1);
- $entity2 = self::$datastore->entity($key2);
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $this->runEventuallyConsistentTest(function () {
- $kinds = kind_run_query(self::$datastore);
- $this->assertEquals(['Account', 'Task'], $kinds);
- });
- }
-
- public function testPropertyRunQuery()
- {
- $key1 = self::$datastore->key('Account', 'alice');
- $key2 = self::$datastore->key('Task', 'Task1');
- $entity1 = self::$datastore->entity($key1, ['accountType' => 'gold']);
- $entity2 = self::$datastore->entity($key2, ['description' => 'desc']);
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $this->runEventuallyConsistentTest(function () {
- $properties = property_run_query(self::$datastore);
- $this->assertEquals(
- ['Account.accountType', 'Task.description'],
- $properties
- );
- });
- }
-
- public function testPropertyByKindRunQuery()
- {
- $key1 = self::$datastore->key('Account', 'alice');
- $key2 = self::$datastore->key('Task', 'Task1');
- $entity1 = self::$datastore->entity($key1, ['accountType' => 'gold']);
- $entity2 = self::$datastore->entity($key2, ['description' => 'desc']);
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $this->runEventuallyConsistentTest(function () {
- $properties = property_by_kind_run_query(self::$datastore);
- $this->assertArrayHasKey('description', $properties);
- $this->assertEquals(['STRING'], $properties['description']);
- });
- }
-
- public function testPropertyFilteringRunQuery()
- {
- $key1 = self::$datastore->key('TaskList', 'default');
- $key2 = self::$datastore->key('Task', 'Task1');
- $entity1 = self::$datastore->entity(
- $key1,
- ['created' => new \Datetime()]
- );
- $entity2 = self::$datastore->entity(
- $key2,
- [
- 'category' => 'work',
- 'priority' => 4,
- 'tags' => ['programming', 'fun']
- ]
- );
- self::$keys = [$key1, $key2];
- self::$datastore->upsertBatch([$entity1, $entity2]);
- $this->runEventuallyConsistentTest(function () {
- $properties = property_filtering_run_query(self::$datastore);
- $this->assertEquals(
- ['Task.priority', 'Task.tags', 'TaskList.created'],
- $properties
- );
- });
- }
-
- public function tearDown()
- {
- if (! empty(self::$keys)) {
- self::$datastore->deleteBatch(self::$keys);
- }
- }
-}
diff --git a/datastore/quickstart/composer.json b/datastore/quickstart/composer.json
deleted file mode 100644
index c9beffb784..0000000000
--- a/datastore/quickstart/composer.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "require": {
- "php": ">=5.4",
- "google/cloud-datastore": "^1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/datastore/quickstart/composer.lock b/datastore/quickstart/composer.lock
deleted file mode 100644
index 5c84c0180f..0000000000
--- a/datastore/quickstart/composer.lock
+++ /dev/null
@@ -1,1753 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "066acffc0c531ba8e92c73b7b16a07fd",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "7a209c6ff0cd92a5ef028c81589415c9e3e4d05b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/7a209c6ff0cd92a5ef028c81589415c9e3e4d05b",
- "reference": "7a209c6ff0cd92a5ef028c81589415c9e3e4d05b",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "google/cloud-datastore",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-datastore.git",
- "reference": "f9e11c4582b5f0abca9397864ed0b0b48432c61f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-datastore/zipball/f9e11c4582b5f0abca9397864ed0b0b48432c61f",
- "reference": "f9e11c4582b5f0abca9397864ed0b0b48432c61f",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-datastore",
- "target": "GoogleCloudPlatform/google-cloud-php-datastore.git",
- "path": "src/Datastore",
- "entry": "DatastoreClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Datastore\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Datastore Client for PHP",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/datastore/quickstart/phpunit.xml.dist b/datastore/quickstart/phpunit.xml.dist
deleted file mode 100644
index 9053da920a..0000000000
--- a/datastore/quickstart/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- quickstart.php
-
-
-
diff --git a/datastore/quickstart/quickstart.php b/datastore/quickstart/quickstart.php
deleted file mode 100644
index c2a9e6d71e..0000000000
--- a/datastore/quickstart/quickstart.php
+++ /dev/null
@@ -1,50 +0,0 @@
- $projectId
-]);
-
-# The kind for the new entity
-$kind = 'Task';
-
-# The name/ID for the new entity
-$name = 'sampletask1';
-
-# The Cloud Datastore key for the new entity
-$taskKey = $datastore->key($kind, $name);
-
-# Prepares the new entity
-$task = $datastore->entity($taskKey, ['description' => 'Buy milk']);
-
-# Saves the entity
-$datastore->upsert($task);
-
-echo 'Saved ' . $task->key() . ': ' . $task['description'] . PHP_EOL;
-# [END datastore_quickstart]
-return $task;
diff --git a/datastore/quickstart/test/quickstartTest.php b/datastore/quickstart/test/quickstartTest.php
deleted file mode 100644
index 207a544691..0000000000
--- a/datastore/quickstart/test/quickstartTest.php
+++ /dev/null
@@ -1,45 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
-
- $file = sys_get_temp_dir() . '/datastore_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', '__DIR__'],
- [$projectId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
- $entity = include $file;
-
- // Make sure it looks correct
- $this->assertInstanceOf('Google\Cloud\Datastore\Entity', $entity);
- $this->assertEquals('sampletask1', $entity->key()->path()[0]['name']);
- $this->assertEquals('Buy milk', $entity['description']);
- }
-}
diff --git a/datastore/tutorial/README.md b/datastore/tutorial/README.md
deleted file mode 100644
index b5505b15a2..0000000000
--- a/datastore/tutorial/README.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# Cloud Datastore sample application
-
-This code sample is intended to be in the following document:
-https://cloud.google.com/datastore/docs/datastore-api-tutorial
-
-The code is using
-[Google Cloud Client Library for PHP](https://googlecloudplatform.github.io/google-cloud-php/#/).
-
-To run the sample, do the following first:
-
-1. [Enable billing](https://support.google.com/cloud/answer/6293499#enable-billing).
-1. [Enable the Cloud Datastore API](https://console.cloud.google.com/flows/enableapi?apiid=datastore.googleapis.com).
-1. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-
-Then use one of the following methods:
-
-1. Run `gcloud auth application-default login`
-
-or
-
-1. Create a service account at the
-[Service account section in the Cloud Console](https://console.cloud.google.com/iam-admin/serviceaccounts/)
-1. Download the json key file of the service account.
-1. Set GOOGLE_APPLICATION_CREDENTIALS environment variable pointing to that file.
-
-Then you can run the command: `php tasks.php`
diff --git a/datastore/tutorial/composer.json b/datastore/tutorial/composer.json
deleted file mode 100644
index 1cd55355e5..0000000000
--- a/datastore/tutorial/composer.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "require": {
- "google/cloud-datastore": "^1.0",
- "symfony/console": "^3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8",
- "google/cloud-tools": "^0.6"
- },
- "autoload": {
- "psr-4": { "Google\\Cloud\\Samples\\Datastore\\Tasks\\": "src" },
- "files": ["src/functions.php"]
- }
-}
diff --git a/datastore/tutorial/composer.lock b/datastore/tutorial/composer.lock
deleted file mode 100644
index 39f47f0faa..0000000000
--- a/datastore/tutorial/composer.lock
+++ /dev/null
@@ -1,2142 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "20840082bb16ed28782541de4abd3bd0",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "7a209c6ff0cd92a5ef028c81589415c9e3e4d05b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/7a209c6ff0cd92a5ef028c81589415c9e3e4d05b",
- "reference": "7a209c6ff0cd92a5ef028c81589415c9e3e4d05b",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "google/cloud-datastore",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-datastore.git",
- "reference": "f9e11c4582b5f0abca9397864ed0b0b48432c61f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-datastore/zipball/f9e11c4582b5f0abca9397864ed0b0b48432c61f",
- "reference": "f9e11c4582b5f0abca9397864ed0b0b48432c61f",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-datastore",
- "target": "GoogleCloudPlatform/google-cloud-php-datastore.git",
- "path": "src/Datastore",
- "entry": "DatastoreClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Datastore\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Datastore Client for PHP",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "c30243cc51f726812be3551316b109a2f5deaf8d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/c30243cc51f726812be3551316b109a2f5deaf8d",
- "reference": "c30243cc51f726812be3551316b109a2f5deaf8d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-04-04T14:33:42+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/56f613406446a4a0a031475cfd0a01751de22659",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-28T21:38:24+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2016-11-14T01:06:16+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "google/cloud-tools",
- "version": "v0.6.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/php-tools.git",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/php-tools/zipball/90ecc5e371673078cf0fc71d442fd21415c277c3",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "php": ">=5.5",
- "phpunit/phpunit": "~4|~5",
- "symfony/browser-kit": "~2|~3",
- "symfony/process": "~2|~3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\TestUtils\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "authors": [
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com",
- "homepage": "https://wp.gaeflex.ninja/"
- }
- ],
- "description": "PHP tools for Google Cloud Platform",
- "homepage": "https://github.com/GoogleCloudPlatform/php-tools",
- "keywords": [
- "appengine",
- "gcp",
- "test"
- ],
- "time": "2017-02-23T22:19:51+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "reference": "2fe0caa60c1a1dfeefd0425741182687a9b382b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/dom-crawler": "~2.8|~3.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "reference": "403944e294cf4ceb3b8447f54cbad88ea7b99cee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2017-02-21T09:12:04+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "57fdaa55827ae14d617550ebe71a820f0a5e2282"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/57fdaa55827ae14d617550ebe71a820f0a5e2282",
- "reference": "57fdaa55827ae14d617550ebe71a820f0a5e2282",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-27T18:07:02+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/datastore/tutorial/phpunit.xml.dist b/datastore/tutorial/phpunit.xml.dist
deleted file mode 100644
index ca14a31ed1..0000000000
--- a/datastore/tutorial/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
diff --git a/datastore/tutorial/src/CreateTaskCommand.php b/datastore/tutorial/src/CreateTaskCommand.php
deleted file mode 100644
index e151790298..0000000000
--- a/datastore/tutorial/src/CreateTaskCommand.php
+++ /dev/null
@@ -1,67 +0,0 @@
-setName('new')
- ->setDescription('Adds a task with a description')
- ->addArgument(
- 'description',
- InputArgument::REQUIRED,
- 'The description of the new task'
- )
- ->addOption(
- 'project-id',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Your cloud project id'
- );
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $projectId = $input->getOption('project-id');
- if (!empty($projectId)) {
- $datastore = build_datastore_service($projectId);
- } else {
- $datastore = build_datastore_service_with_namespace();
- }
- $description = $input->getArgument('description');
- $task = add_task($datastore, $description);
- $output->writeln(
- sprintf(
- 'Created new task with ID %d.', $task->key()->pathEnd()['id']
- )
- );
- }
-}
diff --git a/datastore/tutorial/src/DeleteTaskCommand.php b/datastore/tutorial/src/DeleteTaskCommand.php
deleted file mode 100644
index ffe889247f..0000000000
--- a/datastore/tutorial/src/DeleteTaskCommand.php
+++ /dev/null
@@ -1,63 +0,0 @@
-setName('delete')
- ->setDescription('Delete a task')
- ->addArgument(
- 'taskId',
- InputArgument::REQUIRED,
- 'The id of the task to delete'
- )
- ->addOption(
- 'project-id',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Your cloud project id'
- );
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $projectId = $input->getOption('project-id');
- if (!empty($projectId)) {
- $datastore = build_datastore_service($projectId);
- } else {
- $datastore = build_datastore_service_with_namespace();
- }
- $taskId = intval($input->getArgument('taskId'));
- delete_task($datastore, $taskId);
- $output->writeln(sprintf('Task %d deleted successfully.', $taskId));
- }
-}
diff --git a/datastore/tutorial/src/ListTasksCommand.php b/datastore/tutorial/src/ListTasksCommand.php
deleted file mode 100644
index 102099595b..0000000000
--- a/datastore/tutorial/src/ListTasksCommand.php
+++ /dev/null
@@ -1,74 +0,0 @@
-setName('list-tasks')
- ->setDescription(
- 'List all the tasks in ascending order of creation time')
- ->addOption(
- 'project-id',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Your cloud project id'
- );
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $projectId = $input->getOption('project-id');
- if (!empty($projectId)) {
- $datastore = build_datastore_service($projectId);
- } else {
- $datastore = build_datastore_service_with_namespace();
- }
- $result = list_tasks($datastore);
- $table = new Table($output);
- $table->setHeaders(array('ID', 'Description', 'Status', 'Created'));
- /* @var Entity $task */
- foreach ($result as $index => $task) {
- $done = $task['done'] ? 'done' : 'created';
- $table->setRow(
- $index,
- array(
- $task->key()->pathEnd()['id'],
- $task['description'],
- $done,
- $task['created']->format('Y-m-d H:i:s e')
- )
- );
- }
- $table->render();
- }
-}
diff --git a/datastore/tutorial/src/MarkTaskDoneCommand.php b/datastore/tutorial/src/MarkTaskDoneCommand.php
deleted file mode 100644
index eb93a7253e..0000000000
--- a/datastore/tutorial/src/MarkTaskDoneCommand.php
+++ /dev/null
@@ -1,63 +0,0 @@
-setName('done')
- ->setDescription('Mark a task as done')
- ->addArgument(
- 'taskId',
- InputArgument::REQUIRED,
- 'The id of the task to mark as done'
- )
- ->addOption(
- 'project-id',
- null,
- InputOption::VALUE_OPTIONAL,
- 'Your cloud project id'
- );
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $projectId = $input->getOption('project-id');
- if (!empty($projectId)) {
- $datastore = build_datastore_service($projectId);
- } else {
- $datastore = build_datastore_service_with_namespace();
- }
- $taskId = intval($input->getArgument('taskId'));
- mark_done($datastore, $taskId);
- $output->writeln(sprintf('Task %d updated successfully.', $taskId));
- }
-}
diff --git a/datastore/tutorial/src/functions.php b/datastore/tutorial/src/functions.php
deleted file mode 100644
index 73bf9684cb..0000000000
--- a/datastore/tutorial/src/functions.php
+++ /dev/null
@@ -1,123 +0,0 @@
- $projectId]);
- return $datastore;
-}
-// [END build_service]
-
-/**
- * Create a Cloud Datastore client with a namespace.
- *
- * @return DatastoreClient
- */
-function build_datastore_service_with_namespace()
-{
- $namespaceId = getenv('CLOUD_DATASTORE_NAMESPACE');
- if ($namespaceId === false) {
- return new DatastoreClient();
- }
- return new DatastoreClient(['namespaceId' => $namespaceId]);
-}
-
-// [START add_entity]
-/**
- * Create a new task with a given description.
- *
- * @param DatastoreClient $datastore
- * @param $description
- * @return Google\Cloud\Datastore\Entity
- */
-function add_task(DatastoreClient $datastore, $description)
-{
- $taskKey = $datastore->key('Task');
- $task = $datastore->entity(
- $taskKey,
- [
- 'created' => new DateTime(),
- 'description' => $description,
- 'done' => false
- ],
- ['excludeFromIndexes' => ['description']]
- );
- $datastore->insert($task);
- return $task;
-}
-// [END add_entity]
-
-// [START update_entity]
-/**
- * Mark a task with a given id as done.
- *
- * @param DatastoreClient $datastore
- * @param int $taskId
- */
-function mark_done(DatastoreClient $datastore, $taskId)
-{
- $taskKey = $datastore->key('Task', $taskId);
- $transaction = $datastore->transaction();
- $task = $transaction->lookup($taskKey);
- $task['done'] = true;
- $transaction->upsert($task);
- $transaction->commit();
-}
-// [END update_entity]
-
-// [START delete_entity]
-/**
- * Delete a task with a given id.
- *
- * @param DatastoreClient $datastore
- * @param $taskId
- */
-function delete_task(DatastoreClient $datastore, $taskId)
-{
- $taskKey = $datastore->key('Task', $taskId);
- $datastore->delete($taskKey);
-}
-// [END delete_entity]
-
-// [START retrieve_entities]
-/**
- * Return an iterator for all the tasks in ascending order of creation time.
- *
- * @param DatastoreClient $datastore
- * @return EntityIterator
- */
-function list_tasks(DatastoreClient $datastore)
-{
- $query = $datastore->query()
- ->kind('Task')
- ->order('created');
- return $datastore->runQuery($query);
-}
-// [END retrieve_entities]
diff --git a/datastore/tutorial/tasks.php b/datastore/tutorial/tasks.php
deleted file mode 100755
index 2d8f71da44..0000000000
--- a/datastore/tutorial/tasks.php
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env php
-setName('Cloud Datastore sample cli');
-$application->add(new CreateTaskCommand());
-$application->add(new DeleteTaskCommand());
-$application->add(new ListTasksCommand());
-$application->add(new MarkTaskDoneCommand());
-$application->run();
diff --git a/datastore/tutorial/test/CommandSystemTest.php b/datastore/tutorial/test/CommandSystemTest.php
deleted file mode 100644
index 84e4690398..0000000000
--- a/datastore/tutorial/test/CommandSystemTest.php
+++ /dev/null
@@ -1,160 +0,0 @@
- */
- private $keys;
-
- /* @var DatastoreClient $datastore */
- private $datastore;
-
- public function setUp()
- {
- $path = getenv('GOOGLE_APPLICATION_CREDENTIALS');
- if (!($path && file_exists($path) && filesize($path) > 0)) {
- $this->markTestSkipped(
- 'No service account credentials were found.'
- );
- }
- $this->datastore = build_datastore_service_with_namespace();
- // Also delete stale entities here.
- /* @var array $keys */
- $keys = [];
- $query = $this->datastore->query()->kind('Task');
- foreach ($this->datastore->runQuery($query) as $entity) {
- $keys[] = $entity->key();
- }
- $this->datastore->deleteBatch($keys);
- $this->keys = array();
- }
-
- public function tearDown()
- {
- if (!empty($this->keys)) {
- $this->datastore->deleteBatch($this->keys);
- }
- }
-
- public function testSeriesOfCommands()
- {
- $application = new Application();
- $application->add(new CreateTaskCommand());
- $application->add(new DeleteTaskCommand());
- $application->add(new ListTasksCommand());
- $application->add(new MarkTaskDoneCommand());
-
- // Test CreateTaskCommand
- $commandTester = new CommandTester($application->get('new'));
- $commandTester->execute(
- [
- 'description' => 'run tests'
- ],
- ['interactive' => false]
- );
- $output = $commandTester->getDisplay();
- preg_match('/Created new task with ID (\d+)./', $output, $matches);
- $this->assertEquals(2, count($matches));
- $createdKey1 = $this->datastore->key('Task', intval($matches[1]));
- $this->keys[] = $createdKey1;
-
- // Create second task
- $commandTester->execute(
- [
- 'description' => 'run tests twice'
- ],
- ['interactive' => false]
- );
- $output = $commandTester->getDisplay();
- preg_match('/Created new task with ID (\d+)./', $output, $matches);
- $this->assertEquals(2, count($matches));
- $createdKey2 = $this->datastore->key('Task', intval($matches[1]));
- $this->keys[] = $createdKey2;
-
- // Create third task
- $commandTester->execute(
- [
- 'description' => 'run tests three times'
- ],
- ['interactive' => false]
- );
- $output = $commandTester->getDisplay();
- preg_match('/Created new task with ID (\d+)./', $output, $matches);
- $this->assertEquals(2, count($matches));
- $createdKey3 = $this->datastore->key('Task', intval($matches[1]));
- $this->keys[] = $createdKey3;
-
- // First confirm the existence
- $firstTask = $this->datastore->lookup($createdKey1);
- $this->assertNotNull($firstTask);
- $this->assertEquals(false, $firstTask['done']);
-
- // Test MarkTaskDoneCommand
- $commandTester = new CommandTester($application->get('done'));
- $commandTester->execute(
- [
- 'taskId' => $createdKey1->pathEnd()['id']
- ],
- ['interactive' => false]
- );
- $output = $commandTester->getDisplay();
- preg_match('/Task (\d+) updated successfully./', $output, $matches);
- $this->assertEquals(2, count($matches));
- $this->assertEquals($createdKey1->pathEnd()['id'], intval($matches[1]));
-
- // Confirm it's marked as done.
- $firstTask = $this->datastore->lookup($createdKey1);
- $this->assertNotNull($firstTask);
- $this->assertEquals(true, $firstTask['done']);
-
- // Test DeleteTaskCommand
- $commandTester = new CommandTester($application->get('delete'));
- $commandTester->execute(
- [
- 'taskId' => $createdKey1->pathEnd()['id']
- ],
- ['interactive' => false]
- );
- $output = $commandTester->getDisplay();
- preg_match('/Task (\d+) deleted successfully./', $output, $matches);
- $this->assertEquals(2, count($matches));
- $this->assertEquals($createdKey1->pathEnd()['id'], intval($matches[1]));
-
- // Confirm it's gone.
- $firstTask = $this->datastore->lookup($createdKey1);
- $this->assertNull($firstTask);
-
- // Test ListTasksCommand
- $commandTester = new CommandTester($application->get('list-tasks'));
- $commandTester->execute(
- [],
- ['interactive' => false]
- );
- $output = $commandTester->getDisplay();
- $result = preg_match('/run tests twice/', $output);
- $this->assertEquals(1, $result);
- $result = preg_match('/run tests three times/', $output);
- $this->assertEquals(1, $result);
- }
-}
diff --git a/datastore/tutorial/test/FunctionsTest.php b/datastore/tutorial/test/FunctionsTest.php
deleted file mode 100644
index 5be7da6a27..0000000000
--- a/datastore/tutorial/test/FunctionsTest.php
+++ /dev/null
@@ -1,112 +0,0 @@
- 0;
- self::$datastore = build_datastore_service_with_namespace();
- self::$keys[] = self::$datastore->key('Task', 'sampleTask');
- }
-
- public function testBuildDatastoreService()
- {
- $client = build_datastore_service('my-project-id');
- $this->assertInstanceOf(DatastoreClient::class, $client);
- }
-
- public function testAddTask()
- {
- $task = add_task(self::$datastore, 'buy milk');
- self::$keys[] = $task->key();
- $this->assertEquals('buy milk', $task['description']);
- $this->assertInstanceOf(\DateTimeInterface::class, $task['created']);
- $this->assertEquals(false, $task['done']);
- $this->assertEquals('buy milk', $task['description']);
- $this->assertArrayHasKey('id', $task->key()->pathEnd());
- }
-
- public function testMarkDone()
- {
- $task = add_task(self::$datastore, 'buy milk');
- self::$keys[] = $task->key();
- mark_done(self::$datastore, $task->key()->pathEnd()['id']);
- $updated = self::$datastore->lookup($task->key());
- $this->assertEquals('buy milk', $updated['description']);
- $this->assertInstanceOf(\DateTimeInterface::class, $updated['created']);
- $this->assertEquals(true, $updated['done']);
- $this->assertEquals('buy milk', $updated['description']);
- $this->assertArrayHasKey('id', $updated->key()->pathEnd());
- }
-
- public function testDeleteTask()
- {
- $task = add_task(self::$datastore, 'buy milk');
- self::$keys[] = $task->key();
- delete_task(self::$datastore, $task->key()->pathEnd()['id']);
- $shouldBeNull = self::$datastore->lookup($task->key());
- $this->assertNull($shouldBeNull);
- }
-
- public function testListTasks()
- {
- $task = add_task(self::$datastore, 'buy milk');
- self::$keys[] = $task->key();
- $this->runEventuallyConsistentTest(function () {
- $result = list_tasks(self::$datastore);
- $found = 0;
- foreach ($result as $task) {
- if ($task['description'] === 'buy milk') {
- $this->assertInstanceOf(
- \DateTimeInterface::class,
- $task['created']
- );
- $this->assertEquals(false, $task['done']);
- $this->assertArrayHasKey('id', $task->key()->pathEnd());
- $found += 1;
- }
- }
- $this->assertEquals(1, $found, 'It should list a new task.');
- });
- }
-
- public function tearDown()
- {
- if (! empty(self::$keys)) {
- self::$datastore->deleteBatch(self::$keys);
- }
- }
-}
diff --git a/dlp/README.md b/dlp/README.md
deleted file mode 100644
index 9c3b8e103a..0000000000
--- a/dlp/README.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# Google DLP PHP Sample Application
-
-## Description
-
-This simple command-line application demonstrates how to invoke Google
-DLP API from PHP.
-
-## Build and Run
-1. **Enable APIs** - [Enable the DLP API](
- https://console.cloud.google.com/flows/enableapi?apiid=dlp.googleapis.com)
- and create a new project or select an existing project.
-2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click
- "New Credentials"
- and select "Service Account Key". Create a new service account, use the JSON key type, and
- select "Create". Once downloaded, set the environment variable `GOOGLE_APPLICATION_CREDENTIALS`
- to the path of the JSON key that was downloaded.
-3. **Clone the repo** and cd into this directory
-```
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/dlp
-```
-4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-5. Run `php dlp.php`. The following commands are available:
-
- ```
- help Displays help for a command
- inspect-datastore Inspect Cloud Datastore using the Data Loss Prevention (DLP) API.
- inspect-file Inspect a file using the Data Loss Prevention (DLP) API.
- inspect-string Inspect a string using the Data Loss Prevention (DLP) API.
- list Lists commands
- list-categories Lists all Info Type Categories for the Data Loss Prevention (DLP) API.
- list-info-types Lists all Info Types for the Data Loss Prevention (DLP) API.
- redact-string Redact sensitive data from a string using the Data Loss Prevention (DLP) API.
- ```
-
- Example:
-
- ```
- $ php dlp.php inspect-string 'Robert Frost'
- Findings:
- Quote: Robert
- Info type: US_MALE_NAME
- Likelihood: Very likely
- ```
-
-
-6. Run `php dlp.php COMMAND --help` to print information about the usage of each command.
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
diff --git a/dlp/composer.json b/dlp/composer.json
deleted file mode 100644
index ceedd9c16b..0000000000
--- a/dlp/composer.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "name": "google/dlp-sample",
- "type": "project",
- "require": {
- "google/cloud-dlp": "^0.1.0",
- "symfony/console": "^3.3"
- },
- "autoload": {
- "files": [
- "src/inspect_datastore.php",
- "src/inspect_file.php",
- "src/inspect_string.php",
- "src/list_categories.php",
- "src/list_info_types.php",
- "src/redact_string.php"
- ]
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/dlp/composer.lock b/dlp/composer.lock
deleted file mode 100644
index cda4f2a504..0000000000
--- a/dlp/composer.lock
+++ /dev/null
@@ -1,1940 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "23c4e23017e68d9b7352b4fc1a90e276",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "db77bd2de0bcc40bf50ebe851e9eed332aeaa4df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/db77bd2de0bcc40bf50ebe851e9eed332aeaa4df",
- "reference": "db77bd2de0bcc40bf50ebe851e9eed332aeaa4df",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3.1|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2017-06-13T18:00:07+00:00"
- },
- {
- "name": "google/cloud-dlp",
- "version": "v0.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-dlp.git",
- "reference": "f1509118cf9881e3aa3c561f61336e3eb77a9f28"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-dlp/zipball/f1509118cf9881e3aa3c561f61336e3eb77a9f28",
- "reference": "f1509118cf9881e3aa3c561f61336e3eb77a9f28",
- "shasum": ""
- },
- "require": {
- "ext-grpc": "*",
- "google/gax": "^0.21.0",
- "google/proto-client": "^0.21.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-dlp",
- "target": "GoogleCloudPlatform/google-cloud-php-dlp.git",
- "path": "src/Dlp",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Dlp\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Data Loss Prevention Client for PHP",
- "time": "2017-07-11T20:42:37+00:00"
- },
- {
- "name": "google/gax",
- "version": "0.21.1",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/gax-php.git",
- "reference": "cbc6710a9ae2d1061b3a1987a2854381cf2c0319"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/gax-php/zipball/cbc6710a9ae2d1061b3a1987a2854381cf2c0319",
- "reference": "cbc6710a9ae2d1061b3a1987a2854381cf2c0319",
- "shasum": ""
- },
- "require": {
- "google/auth": "^1.0",
- "google/protobuf": "^3.3.2",
- "grpc/grpc": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "4.8.*",
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\GAX\\": "src/",
- "Google\\GAX\\UnitTests\\": "tests/",
- "Google\\": "src/generated/Google/",
- "GPBMetadata\\": "src/generated/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Google API Extensions for PHP",
- "homepage": "https://github.com/googleapis/gax-php",
- "keywords": [
- "google"
- ],
- "time": "2017-07-13T15:53:41+00:00"
- },
- {
- "name": "google/proto-client",
- "version": "0.21.1",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/proto-client-php.git",
- "reference": "ef2b7e9a1b0dd5d0ed3ca921d3ff13f9c0982519"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/proto-client-php/zipball/ef2b7e9a1b0dd5d0ed3ca921d3ff13f9c0982519",
- "reference": "ef2b7e9a1b0dd5d0ed3ca921d3ff13f9c0982519",
- "shasum": ""
- },
- "require": {
- "google/protobuf": "^3.3.2",
- "php": ">=5.5"
- },
- "require-dev": {
- "google/gax": ">=0.20.0",
- "phpunit/phpunit": "4.8.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\": "src/Google/",
- "GPBMetadata\\": "src/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Generated proto and gRPC classes for Google Cloud Platform in PHP",
- "homepage": "https://github.com/googleapis/proto-client-php",
- "keywords": [
- "google"
- ],
- "time": "2017-07-10T16:58:12+00:00"
- },
- {
- "name": "google/protobuf",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/google/protobuf.git",
- "reference": "5532abc15b97f3489183b266b41844306052a3fa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/protobuf/zipball/5532abc15b97f3489183b266b41844306052a3fa",
- "reference": "5532abc15b97f3489183b266b41844306052a3fa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": ">=4.8.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Protobuf\\Internal\\": "php/src/Google/Protobuf/Internal",
- "GPBMetadata\\Google\\Protobuf\\Internal\\": "php/src/GPBMetadata/Google/Protobuf/Internal"
- },
- "files": [
- "php/src/Google/Protobuf/descriptor.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "proto library for PHP",
- "homepage": "https://developers.google.com/protocol-buffers/",
- "keywords": [
- "proto"
- ],
- "time": "2017-06-21T22:29:32+00:00"
- },
- {
- "name": "grpc/grpc",
- "version": "v1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/grpc/grpc.git",
- "reference": "5cb6a1f86129fc2833de9a27cfe174260934342b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grpc/grpc/zipball/5cb6a1f86129fc2833de9a27cfe174260934342b",
- "reference": "5cb6a1f86129fc2833de9a27cfe174260934342b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "google/auth": "v0.9"
- },
- "suggest": {
- "ext-protobuf": "For better performance, install the protobuf C extension.",
- "google/protobuf": "To get started using grpc quickly, install the native protobuf library."
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Grpc\\": "src/php/lib/Grpc/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "gRPC library for PHP",
- "homepage": "http://grpc.io/",
- "keywords": [
- "rpc"
- ],
- "time": "2017-07-11T21:11:30+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0 || ^5.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-06-22T18:50:49+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/a97e45d98c59510f085fa05225a1acb74dfe0546",
- "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-03T13:19:36+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "63b85a968486d95ff9542228dc2e4247f16f9743"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/63b85a968486d95ff9542228dc2e4247f16f9743",
- "reference": "63b85a968486d95ff9542228dc2e4247f16f9743",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-05T13:02:37+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "1f93a8d19b8241617f5074a123e282575b821df8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/1f93a8d19b8241617f5074a123e282575b821df8",
- "reference": "1f93a8d19b8241617f5074a123e282575b821df8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-15T12:58:50+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/dlp/dlp.php b/dlp/dlp.php
deleted file mode 100644
index 2098eff052..0000000000
--- a/dlp/dlp.php
+++ /dev/null
@@ -1,100 +0,0 @@
-add(new Command('inspect-string'))
- ->addArgument('string', InputArgument::REQUIRED, 'The text to inspect')
- ->setDescription('Inspect a string using the Data Loss Prevention (DLP) API.')
- ->setCode(function ($input, $output) {
- inspect_string(
- $input->getArgument('string')
- );
- });
-
-$application->add(new Command('inspect-file'))
- ->addArgument('path', InputArgument::REQUIRED, 'The file path to inspect')
- ->setDescription('Inspect a file using the Data Loss Prevention (DLP) API.')
- ->setCode(function ($input, $output) {
- inspect_file(
- $input->getArgument('path')
- );
- });
-
-$application->add(new Command('inspect-datastore'))
- ->addArgument('kind', InputArgument::REQUIRED, 'The Datastore kind to inspect')
- ->addArgument('namespace', InputArgument::OPTIONAL, 'The Datastore Namespace ID to inspect')
- ->addArgument('project', InputArgument::OPTIONAL, 'The GCP Project ID for the Datastore call')
- ->setDescription('Inspect Cloud Datastore using the Data Loss Prevention (DLP) API.')
- ->setCode(function ($input, $output) {
- inspect_datastore(
- $input->getArgument('kind'),
- $input->getArgument('namespace'),
- $input->getArgument('project')
- );
- });
-
-$application->add(new Command('list-info-types'))
- ->addArgument('category',
- InputArgument::OPTIONAL,
- 'The category for the info types')
- ->addArgument('language-code', InputArgument::OPTIONAL, 'The text to inspect', '')
- ->setDescription('Lists all Info Types for the Data Loss Prevention (DLP) API.')
- ->setCode(function ($input, $output) {
- list_info_types(
- $input->getArgument('category'),
- $input->getArgument('language-code')
- );
- });
-
-$application->add(new Command('list-categories'))
- ->addArgument('language-code', InputArgument::OPTIONAL, 'The text to inspect', '')
- ->setDescription('Lists all Info Type Categories for the Data Loss Prevention (DLP) API.')
- ->setCode(function ($input, $output) {
- list_categories(
- $input->getArgument('language-code')
- );
- });
-
-$application->add(new Command('redact-string'))
- ->addArgument('string', InputArgument::REQUIRED, 'The text to inspect')
- ->addArgument('replace-string',
- InputArgument::OPTIONAL,
- 'The text to replace the sensitive content with',
- 'xxx')
- ->setDescription('Redact sensitive data from a string using the Data Loss Prevention (DLP) API.')
- ->setCode(function ($input, $output) {
- redact_string(
- $input->getArgument('string'),
- $input->getArgument('replace-string')
- );
- });
-
-// for testing
-if (getenv('PHPUNIT_TESTS') === '1') {
- return $application;
-}
-
-$application->run();
diff --git a/dlp/phpunit.xml.dist b/dlp/phpunit.xml.dist
deleted file mode 100644
index fa03890889..0000000000
--- a/dlp/phpunit.xml.dist
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
-
-
-
diff --git a/dlp/quickstart.php b/dlp/quickstart.php
deleted file mode 100644
index 88a59deea7..0000000000
--- a/dlp/quickstart.php
+++ /dev/null
@@ -1,82 +0,0 @@
-setName('US_MALE_NAME');
-$usFemaleNameInfoType = new InfoType();
-$usFemaleNameInfoType->setName('US_FEMALE_NAME');
-$infoTypes = [$usMaleNameInfoType, $usFemaleNameInfoType];
-
-// Set the string to inspect
-$stringToInspect = 'Robert Frost';
-
-// Only return results above a likelihood threshold, 0 for all
-$minLikelihood = likelihood::LIKELIHOOD_UNSPECIFIED;
-
-// Limit the number of findings, 0 for no limit
-$maxFindings = 0;
-
-// Whether to include the matching string in the response
-$includeQuote = true;
-
-// Create the configuration object
-$inspectConfig = new InspectConfig();
-$inspectConfig->setMinLikelihood($minLikelihood);
-$inspectConfig->setMaxFindings($maxFindings);
-$inspectConfig->setInfoTypes($infoTypes);
-$inspectConfig->setIncludeQuote($includeQuote);
-
-$content = new ContentItem();
-$content->setType('text/plain');
-$content->setValue($stringToInspect);
-
-// Run request
-$response = $dlp->inspectContent($inspectConfig, [$content]);
-
-$likelihoods = ['Unknown', 'Very unlikely', 'Unlikely', 'Possible',
- 'Likely', 'Very likely'];
-
-// Print the results
-$findings = $response->getResults()[0]->getFindings();
-if (count($findings) == 0) {
- print('No findings.' . PHP_EOL);
-} else {
- print('Findings:' . PHP_EOL);
- foreach ($findings as $finding) {
- if ($includeQuote) {
- print(' Quote: ' . $finding->getQuote() . PHP_EOL);
- }
- print(' Info type: ' . $finding->getInfoType()->getName() . PHP_EOL);
- $likelihoodString = $likelihoods[$finding->getLikelihood()];
- print(' Likelihood: ' . $likelihoodString . PHP_EOL);
- }
-}
-# [END dlp_quickstart]
diff --git a/dlp/src/inspect_datastore.php b/dlp/src/inspect_datastore.php
deleted file mode 100644
index 2d55b5b56c..0000000000
--- a/dlp/src/inspect_datastore.php
+++ /dev/null
@@ -1,108 +0,0 @@
-setName('US_MALE_NAME');
- $usFemaleNameInfoType = new InfoType();
- $usFemaleNameInfoType->setName('US_FEMALE_NAME');
- $infoTypes = [$usMaleNameInfoType, $usFemaleNameInfoType];
-
- // Create the configuration object
- $inspectConfig = new InspectConfig();
- $inspectConfig->setMinLikelihood($minLikelihood);
- $inspectConfig->setMaxFindings($maxFindings);
- $inspectConfig->setInfoTypes($infoTypes);
-
- $partitionId = new PartitionId();
- $partitionId->setProjectId($projectId);
- $partitionId->setNamespaceId($namespaceId);
-
- $kindExpression = new KindExpression();
- $kindExpression->setName($kind);
-
- $datastoreOptions = new DatastoreOptions();
- $datastoreOptions->setPartitionId($partitionId);
- $datastoreOptions->setKind($kindExpression);
-
- $storageConfig = new StorageConfig();
- $storageConfig->setDatastoreOptions($datastoreOptions);
-
- $outputConfig = null;
-
- // Run request
- $operation = $dlp->createInspectOperation(
- $inspectConfig,
- $storageConfig,
- $outputConfig);
-
- $operation->pollUntilComplete();
-
- if ($operation->operationSucceeded()) {
- $result = $operation->getResult();
- $response = $dlp->listInspectFindings($result->getName());
-
- $likelihoods = ['Unknown', 'Very unlikely', 'Unlikely', 'Possible',
- 'Likely', 'Very likely'];
-
- // Print the results
- $findings = $response->getResult()->getFindings();
- if (count($findings) == 0) {
- print('No findings.' . PHP_EOL);
- } else {
- print('Findings:' . PHP_EOL);
- foreach ($findings as $finding) {
- printf('- Info type: %s' . PHP_EOL,
- $finding->getInfoType()->getName());
- printf(' Likelihood: %s' . PHP_EOL,
- $likelihoods[$finding->getLikelihood()]);
- }
- }
- } else {
- print_r($operation->getError());
- }
-}
-# [END inspect_datastore]
diff --git a/dlp/src/inspect_file.php b/dlp/src/inspect_file.php
deleted file mode 100644
index f74703a36b..0000000000
--- a/dlp/src/inspect_file.php
+++ /dev/null
@@ -1,84 +0,0 @@
-setName('US_MALE_NAME');
- $usFemaleNameInfoType = new InfoType();
- $usFemaleNameInfoType->setName('US_FEMALE_NAME');
- $infoTypes = [$usMaleNameInfoType, $usFemaleNameInfoType];
-
- // Whether to include the matching string in the response
- $includeQuote = true;
-
- // Create the configuration object
- $inspectConfig = new InspectConfig();
- $inspectConfig->setMinLikelihood($minLikelihood);
- $inspectConfig->setMaxFindings($maxFindings);
- $inspectConfig->setInfoTypes($infoTypes);
- $inspectConfig->setIncludeQuote($includeQuote);
-
- // Construct file data to inspect
- $content = new ContentItem();
- $content->setType(mime_content_type($path) ?: 'application/octet-stream');
- $content->setData(file_get_contents($path));
-
- // Run request
- $response = $dlp->inspectContent($inspectConfig, [$content]);
-
- $likelihoods = ['Unknown', 'Very unlikely', 'Unlikely', 'Possible',
- 'Likely', 'Very likely'];
-
- // Print the results
- $findings = $response->getResults()[0]->getFindings();
- if (count($findings) == 0) {
- print('No findings.' . PHP_EOL);
- } else {
- print('Findings:' . PHP_EOL);
- foreach ($findings as $finding) {
- if ($includeQuote) {
- print(' Quote: ' . $finding->getQuote() . PHP_EOL);
- }
- print(' Info type: ' . $finding->getInfoType()->getName() . PHP_EOL);
- $likelihoodString = $likelihoods[$finding->getLikelihood()];
- print(' Likelihood: ' . $likelihoodString . PHP_EOL);
- }
- }
-}
-# [END inspect_file]
diff --git a/dlp/src/inspect_string.php b/dlp/src/inspect_string.php
deleted file mode 100644
index 257dff47ae..0000000000
--- a/dlp/src/inspect_string.php
+++ /dev/null
@@ -1,83 +0,0 @@
-setName('US_MALE_NAME');
- $usFemaleNameInfoType = new InfoType();
- $usFemaleNameInfoType->setName('US_FEMALE_NAME');
- $infoTypes = [$usMaleNameInfoType, $usFemaleNameInfoType];
-
- // Whether to include the matching string in the response
- $includeQuote = true;
-
- // Create the configuration object
- $inspectConfig = new InspectConfig();
- $inspectConfig->setMinLikelihood($minLikelihood);
- $inspectConfig->setMaxFindings($maxFindings);
- $inspectConfig->setInfoTypes($infoTypes);
- $inspectConfig->setIncludeQuote($includeQuote);
-
- $content = new ContentItem();
- $content->setType('text/plain');
- $content->setValue($string);
-
- // Run request
- $response = $dlp->inspectContent($inspectConfig, [$content]);
-
- $likelihoods = ['Unknown', 'Very unlikely', 'Unlikely', 'Possible',
- 'Likely', 'Very likely'];
-
- // Print the results
- $findings = $response->getResults()[0]->getFindings();
- if (count($findings) == 0) {
- print('No findings.' . PHP_EOL);
- } else {
- print('Findings:' . PHP_EOL);
- foreach ($findings as $finding) {
- if ($includeQuote) {
- print(' Quote: ' . $finding->getQuote() . PHP_EOL);
- }
- print(' Info type: ' . $finding->getInfoType()->getName() . PHP_EOL);
- $likelihoodString = $likelihoods[$finding->getLikelihood()];
- print(' Likelihood: ' . $likelihoodString . PHP_EOL);
- }
- }
-}
-# [END inspect_string]
diff --git a/dlp/src/list_categories.php b/dlp/src/list_categories.php
deleted file mode 100644
index b5f2de57cc..0000000000
--- a/dlp/src/list_categories.php
+++ /dev/null
@@ -1,44 +0,0 @@
-listRootCategories($languageCode);
-
- // Print the results
- print('Categories:' . PHP_EOL);
- foreach ($response->getCategories() as $category) {
- printf(' %s (%s)' . PHP_EOL,
- $category->getDisplayName(),
- $category->getName());
- }
-}
-# [END list_categories]
diff --git a/dlp/src/list_info_types.php b/dlp/src/list_info_types.php
deleted file mode 100644
index fe6e743ca9..0000000000
--- a/dlp/src/list_info_types.php
+++ /dev/null
@@ -1,45 +0,0 @@
-listInfoTypes($category, $languageCode);
-
- // Print the results
- print('Info Types:' . PHP_EOL);
- foreach ($response->getInfoTypes() as $infoType) {
- printf(' %s (%s)' . PHP_EOL,
- $infoType->getDisplayName(),
- $infoType->getName());
- }
-}
-# [END list_info_types]
diff --git a/dlp/src/redact_string.php b/dlp/src/redact_string.php
deleted file mode 100644
index dfbcad34f1..0000000000
--- a/dlp/src/redact_string.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setName('US_MALE_NAME');
- $usFemaleNameInfoType = new InfoType();
- $usFemaleNameInfoType->setName('US_FEMALE_NAME');
- $infoTypes = [$usMaleNameInfoType, $usFemaleNameInfoType];
-
- // Whether to include the matching string in the response
- $includeQuote = true;
-
- // Create the configuration object
- $inspectConfig = new InspectConfig();
- $inspectConfig->setMinLikelihood($minLikelihood);
- $inspectConfig->setMaxFindings($maxFindings);
- $inspectConfig->setInfoTypes($infoTypes);
- $inspectConfig->setIncludeQuote($includeQuote);
-
- $content = new ContentItem();
- $content->setType('text/plain');
- $content->setValue($string);
-
- $redactConfigs = [];
- foreach ($infoTypes as $infoType) {
- $redactConfig = new RedactContentRequest_ReplaceConfig();
- $redactConfig->setInfoType($infoType);
- $redactConfig->setReplaceWith($replaceString);
- $redactConfigs[] = $redactConfig;
- }
-
- // Run request
- $response = $dlp->redactContent($inspectConfig, [$content], $redactConfigs);
- $content = $response->getItems()[0];
-
- // Print the results
- print('Redacted String: ' . $content->getValue() . PHP_EOL);
-}
-# [END redact_string]
diff --git a/dlp/test/data/harmless.txt b/dlp/test/data/harmless.txt
deleted file mode 100644
index 43f2224e20..0000000000
--- a/dlp/test/data/harmless.txt
+++ /dev/null
@@ -1 +0,0 @@
-There is no sensitive data in this file.
\ No newline at end of file
diff --git a/dlp/test/data/test.png b/dlp/test/data/test.png
deleted file mode 100644
index 8f32c82588..0000000000
Binary files a/dlp/test/data/test.png and /dev/null differ
diff --git a/dlp/test/data/test.txt b/dlp/test/data/test.txt
deleted file mode 100644
index 324a628864..0000000000
--- a/dlp/test/data/test.txt
+++ /dev/null
@@ -1 +0,0 @@
-Robert Jordan wrote the Wheel of Time.
\ No newline at end of file
diff --git a/dlp/test/dlpTest.php b/dlp/test/dlpTest.php
deleted file mode 100644
index dd538938e8..0000000000
--- a/dlp/test/dlpTest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-markTestSkipped('Set the GOOGLE_APPLICATION_CREDENTIALS ' .
- 'environment variable');
- }
- }
-
- public function testInspectDatastore()
- {
- $output = $this->runCommand('inspect-datastore', [
- 'kind' => 'Book',
- 'project' => getenv('GOOGLE_PROJECT_ID'),
- ]);
- $this->assertContains('US_MALE_NAME', $output);
- $this->assertContains('Very likely', $output);
- }
-
- public function testInspectFile()
- {
- // inspect a text file with results
- $output = $this->runCommand('inspect-file', [
- 'path' => __DIR__ . '/data/test.txt'
- ]);
- $this->assertContains('US_MALE_NAME', $output);
- $this->assertContains('Very likely', $output);
-
- // inspect an image file with results
- $output = $this->runCommand('inspect-file', [
- 'path' => __DIR__ . '/data/test.png'
- ]);
- $this->assertContains('US_MALE_NAME', $output);
- $this->assertContains('Very likely', $output);
-
- // inspect a file with no results
- $output = $this->runCommand('inspect-file', [
- 'path' => __DIR__ . '/data/harmless.txt'
- ]);
- $this->assertContains('No findings', $output);
- }
-
- public function testInspectString()
- {
- // inspect a string with results
- $output = $this->runCommand('inspect-string', [
- 'string' => 'The name Robert is very common.'
- ]);
- $this->assertContains('US_MALE_NAME', $output);
- $this->assertContains('Very likely', $output);
-
- // inspect a string with no results
- $output = $this->runCommand('inspect-string', [
- 'string' => 'The name Zolo is not very common.'
- ]);
- $this->assertContains('No findings', $output);
- }
-
- public function testListCategories()
- {
- $output = $this->runCommand('list-categories');
- $this->assertContains('Personally identifiable information', $output);
- }
-
- public function testListInfoTypes()
- {
- // list all info types
- $output = $this->runCommand('list-info-types');
- $this->assertContains('US_DEA_NUMBER', $output);
- $this->assertContains('AMERICAN_BANKERS_CUSIP_ID', $output);
-
- // list info types by category
- $output = $this->runCommand('list-info-types', [
- 'category' => 'PII'
- ]);
-
- $this->assertContains('US_DEA_NUMBER', $output);
- $this->assertNotContains('AMERICAN_BANKERS_CUSIP_ID', $output);
- }
-
- public function testRedactString()
- {
- $output = $this->runCommand('redact-string', [
- 'string' => 'The name Robert is very common.'
- ]);
- $this->assertContains('The name xxx is very common', $output);
-
-
- $output = $this->runCommand('redact-string', [
- 'string' => 'The name Zolo is not very common.'
- ]);
- $this->assertContains('The name Zolo is not very common', $output);
- }
-
- private function runCommand($commandName, $args = [])
- {
- $application = require __DIR__ . '/../dlp.php';
- $command = $application->get($commandName);
- $commandTester = new CommandTester($command);
-
- ob_start();
- $commandTester->execute(
- $args,
- ['interactive' => false]);
-
- return ob_get_clean();
- }
-}
diff --git a/dlp/test/quickstartTest.php b/dlp/test/quickstartTest.php
deleted file mode 100644
index 73098570b3..0000000000
--- a/dlp/test/quickstartTest.php
+++ /dev/null
@@ -1,34 +0,0 @@
-markTestSkipped('Set the GOOGLE_APPLICATION_CREDENTIALS ' .
- 'environment variable');
- }
- }
-
- public function testQuickstart()
- {
- // Invoke quickstart.php
- include __DIR__ . '/../quickstart.php';
- $this->expectOutputRegex('/US_MALE_NAME/');
- }
-}
diff --git a/kms/api/README.md b/kms/api/README.md
deleted file mode 100644
index 0bc40720de..0000000000
--- a/kms/api/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# Google Cloud KMS API Samples
-
-## Description
-
-These samples show how to use the [Google Cloud KMS API]
-(https://cloud.google.com/kms/).
-
-## Build and Run
-1. **Enable APIs** - [Enable the KMS API](https://console.cloud.google.com/flows/enableapi?apiid=cloudkms.googleapis.com)
- and create a new project or select an existing project.
-2. **Activate your Credentials** - If you do not already have an active set of credentials, create and download a [JSON Service Account key](https://pantheon.corp.google.com/apis/credentials/serviceaccountkey). Set the environment variable `GOOGLE_APPLICATION_CREDENTIALS` as the path to the downloaded JSON file.
-4. **Clone the repo** and cd into this directory
-
- ```
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/kms/api
-```
-5. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-6. Run `php kms.php`. The following commands are available:
-
- ```sh
- encryption Manage encryption for KMS
- iam Manage IAM for KMS
- key Manage keys for KMS
- keyring Manage keyrings for KMS
- version Manage key versions for KMS
-```
-7. Run `php kms.php COMMAND --help` to print information about the usage of each command.
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
diff --git a/kms/api/composer.json b/kms/api/composer.json
deleted file mode 100644
index 64e23e1221..0000000000
--- a/kms/api/composer.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "require": {
- "google/apiclient": "^2.1",
- "symfony/console": " ^3.0"
- },
- "autoload": {
- "psr-4": { "Google\\Cloud\\Samples\\Kms\\": "src" },
- "files": [
- "src/functions.php"
- ]
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/kms/api/composer.lock b/kms/api/composer.lock
deleted file mode 100644
index a1b01948ed..0000000000
--- a/kms/api/composer.lock
+++ /dev/null
@@ -1,1992 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "8415b41cc5fbf5b7e0cbdaa98bba0863",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/apiclient",
- "version": "v2.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-api-php-client.git",
- "reference": "43996f09df274158fd04fce98e8a82effe5f3717"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-api-php-client/zipball/43996f09df274158fd04fce98e8a82effe5f3717",
- "reference": "43996f09df274158fd04fce98e8a82effe5f3717",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "google/apiclient-services": "^0.11",
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "~5.2|~6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "^1.17",
- "php": ">=5.4",
- "phpseclib/phpseclib": "~0.3.10|~2.0"
- },
- "require-dev": {
- "cache/filesystem-adapter": "^0.3.2",
- "phpunit/phpunit": "~4",
- "squizlabs/php_codesniffer": "~2.3",
- "symfony/css-selector": "~2.1",
- "symfony/dom-crawler": "~2.1"
- },
- "suggest": {
- "cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Google_": "src/"
- },
- "classmap": [
- "src/Google/Service/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Client library for Google APIs",
- "homepage": "http://developers.google.com/api-client-library/php",
- "keywords": [
- "google"
- ],
- "time": "2017-03-22T18:32:04+00:00"
- },
- {
- "name": "google/apiclient-services",
- "version": "v0.11",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-api-php-client-services.git",
- "reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
- "reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Google_Service_": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Client library for Google APIs",
- "homepage": "http://developers.google.com/api-client-library/php",
- "keywords": [
- "google"
- ],
- "time": "2017-03-13T17:40:44+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "phpseclib/phpseclib",
- "version": "2.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/phpseclib/phpseclib.git",
- "reference": "ab8028c93c03cc8d9c824efa75dc94f1db2369bf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/ab8028c93c03cc8d9c824efa75dc94f1db2369bf",
- "reference": "ab8028c93c03cc8d9c824efa75dc94f1db2369bf",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phing/phing": "~2.7",
- "phpunit/phpunit": "~4.0",
- "sami/sami": "~2.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "suggest": {
- "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
- "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
- "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
- "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
- },
- "type": "library",
- "autoload": {
- "files": [
- "phpseclib/bootstrap.php"
- ],
- "psr-4": {
- "phpseclib\\": "phpseclib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jim Wigginton",
- "email": "terrafrost@php.net",
- "role": "Lead Developer"
- },
- {
- "name": "Patrick Monnerat",
- "email": "pm@datasphere.ch",
- "role": "Developer"
- },
- {
- "name": "Andreas Fischer",
- "email": "bantu@phpbb.com",
- "role": "Developer"
- },
- {
- "name": "Hans-Jürgen Petrich",
- "email": "petrich@tronic-media.com",
- "role": "Developer"
- },
- {
- "name": "Graham Campbell",
- "email": "graham@alt-three.com",
- "role": "Developer"
- }
- ],
- "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
- "homepage": "http://phpseclib.sourceforge.net/",
- "keywords": [
- "BigInteger",
- "aes",
- "asn.1",
- "asn1",
- "blowfish",
- "crypto",
- "cryptography",
- "encryption",
- "rsa",
- "security",
- "sftp",
- "signature",
- "signing",
- "ssh",
- "twofish",
- "x.509",
- "x509"
- ],
- "time": "2016-10-04T00:57:04+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "c30243cc51f726812be3551316b109a2f5deaf8d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/c30243cc51f726812be3551316b109a2f5deaf8d",
- "reference": "c30243cc51f726812be3551316b109a2f5deaf8d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-04-04T14:33:42+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/56f613406446a4a0a031475cfd0a01751de22659",
- "reference": "56f613406446a4a0a031475cfd0a01751de22659",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-28T21:38:24+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
- "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2016-11-14T01:06:16+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/kms/api/kms.php b/kms/api/kms.php
deleted file mode 100644
index f8c9b8e3b3..0000000000
--- a/kms/api/kms.php
+++ /dev/null
@@ -1,32 +0,0 @@
-add(new EncryptionCommand());
-$application->add(new IamCommand());
-$application->add(new KeyCommand());
-$application->add(new KeyRingCommand());
-$application->add(new VersionCommand());
-$application->run();
diff --git a/kms/api/phpunit.xml.dist b/kms/api/phpunit.xml.dist
deleted file mode 100644
index 8719a22188..0000000000
--- a/kms/api/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
diff --git a/kms/api/src/EncryptionCommand.php b/kms/api/src/EncryptionCommand.php
deleted file mode 100644
index 6a85f11ce5..0000000000
--- a/kms/api/src/EncryptionCommand.php
+++ /dev/null
@@ -1,112 +0,0 @@
-setName('encryption')
- ->setDescription('Manage encryption for KMS')
- ->setHelp(<<%command.name% command uses the KMS API to encrypt and decrypt text in files.
-
-Encrypt the text of a file using the specified CryptoKey:
-
- php %command.full_name% my-keyring my-cryptokey file.txt file.txt.encrypted
-
-Decrypt the text of a file using the specified CryptoKey:
-
- php %command.full_name% my-keyring my-cryptokey file.txt.encrypted file.txt.decrypted --decrypt
-
-EOF
- )
- ->addArgument(
- 'keyring',
- InputArgument::REQUIRED,
- 'The name of the keyring.'
- )
- ->addArgument(
- 'cryptokey',
- InputArgument::REQUIRED,
- 'The name of the cryptokey.'
- )
- ->addArgument(
- 'infile',
- InputArgument::REQUIRED,
- 'The target file.'
- )
- ->addArgument(
- 'outfile',
- InputArgument::REQUIRED,
- 'The file to store the result.'
- )
- ->addOption(
- 'decrypt',
- null,
- InputOption::VALUE_NONE,
- 'Performs the decrypt function instead of encrypt. '
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'location',
- null,
- InputOption::VALUE_REQUIRED,
- 'The location of the cryptokey or keyring.',
- 'global'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $keyRing = $input->getArgument('keyring');
- $cryptoKey = $input->getArgument('cryptokey');
- $infile = $input->getArgument('infile');
- $outfile = $input->getArgument('outfile');
- $location = $input->getOption('location');
- if ($input->getOption('decrypt')) {
- decrypt($projectId, $keyRing, $cryptoKey, $infile, $outfile, $location);
- } else {
- encrypt($projectId, $keyRing, $cryptoKey, $infile, $outfile, $location);
- }
- }
-}
diff --git a/kms/api/src/IamCommand.php b/kms/api/src/IamCommand.php
deleted file mode 100644
index 29cfb88d1a..0000000000
--- a/kms/api/src/IamCommand.php
+++ /dev/null
@@ -1,159 +0,0 @@
-setName('iam')
- ->setDescription('Manage IAM for KMS')
- ->setHelp(<<%command.name% command manages KMS IAM policies.
-
-List the IAM roles for a KeyRing:
-
- php %command.full_name% my-keyring
-
-List the IAM roles for a CryptoKey:
-
- php %command.full_name% my-keyring my-cryptokey
-
-Add a service account to a CryptoKey:
-
- php %command.full_name% my-keyring my-cryptokey \
- --service-account-email=example@my-project.gserviceaccount.com
-
-Add a service account to a CryptoKey for a specific role:
-
- php %command.full_name% my-keyring my-cryptokey \
- --service-account-email=example@my-project.gserviceaccount.com \
- --role=roles/cloudkms.admin
-
-EOF
- )
- ->addArgument(
- 'keyring',
- InputArgument::REQUIRED,
- 'The name of the keyring.'
- )
- ->addArgument(
- 'cryptokey',
- InputArgument::OPTIONAL,
- 'The name of the cryptokey.'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'service-account-email',
- null,
- InputOption::VALUE_REQUIRED,
- 'The service accunt email to add to the policy.'
- )
- ->addOption(
- 'user-email',
- null,
- InputOption::VALUE_REQUIRED,
- 'The user email to add to the policy.'
- )
- ->addOption(
- 'role',
- null,
- InputOption::VALUE_REQUIRED,
- 'The role of the policy.',
- 'roles/cloudkms.cryptoKeyEncrypterDecrypter'
- )
- ->addOption(
- 'location',
- null,
- InputOption::VALUE_REQUIRED,
- 'The location of the cryptokey or keyring.',
- 'global'
- )
- ->addOption(
- 'remove',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will remove the user or service account from the policy'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $keyRing = $input->getArgument('keyring');
- $cryptoKey = $input->getArgument('cryptokey');
- $role = $input->getOption('role');
- $location = $input->getOption('location');
- $userEmail = $input->getOption('user-email');
- $serviceAccountEmail = $input->getOption('service-account-email');
- if ($cryptoKey) {
- if (empty($userEmail) && empty($serviceAccountEmail)) {
- get_cryptokey_policy($projectId, $keyRing, $cryptoKey, $location);
- } else {
- if ($userEmail) {
- $member = 'user:' . $userEmail;
- } else {
- $member = 'serviceAccount:' . $serviceAccountEmail;
- }
- if ($input->getOption('remove')) {
- remove_member_from_cryptokey_policy($projectId, $keyRing, $cryptoKey, $member, $role, $location);
- } else {
- add_member_to_cryptokey_policy($projectId, $keyRing, $cryptoKey, $member, $role, $location);
- }
- }
- } else {
- if (empty($userEmail) && empty($serviceAccountEmail)) {
- get_keyring_policy($projectId, $keyRing, $location);
- } else {
- if ($userEmail) {
- $member = 'user:' . $userEmail;
- } else {
- $member = 'serviceAccount:' . $serviceAccountEmail;
- }
- if ($input->getOption('remove')) {
- remove_member_from_keyring_policy($projectId, $keyRing, $member, $role, $location);
- } else {
- add_member_to_keyring_policy($projectId, $keyRing, $member, $role, $location);
- }
- }
- }
- }
-}
diff --git a/kms/api/src/KeyCommand.php b/kms/api/src/KeyCommand.php
deleted file mode 100644
index 1aa54b5c1a..0000000000
--- a/kms/api/src/KeyCommand.php
+++ /dev/null
@@ -1,109 +0,0 @@
-setName('key')
- ->setDescription('Manage keys for KMS')
- ->setHelp(<<%command.name% command manages KMS keys.
-
-List all CrytoKeys for the supplied KeyRing:
-
- php %command.full_name% my-keyring
-
-Display information about a CrytoKey:
-
- php %command.full_name% my-keyring my-cryptokey
-
-Create a CrytoKey:
-
- php %command.full_name% my-keyring new-cryptokey --create
-
-EOF
- )
- ->addArgument(
- 'keyring',
- InputArgument::REQUIRED,
- 'The name of the keyring.'
- )
- ->addArgument(
- 'cryptokey',
- InputArgument::OPTIONAL,
- 'The name of the cryptokey.'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will create the keyring, cryptokey, or cryptokey version'
- )
- ->addOption(
- 'location',
- null,
- InputOption::VALUE_REQUIRED,
- 'The location of the cryptokey or keyring.',
- 'global'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $keyRing = $input->getArgument('keyring');
- $cryptoKey = $input->getArgument('cryptokey');
- $location = $input->getOption('location');
-
- if ($cryptoKey) {
- if ($input->getOption('create')) {
- create_cryptokey($projectId, $keyRing, $cryptoKey, $location);
- } else {
- get_cryptokey($projectId, $keyRing, $cryptoKey, $location);
- }
- } else {
- list_cryptokeys($projectId, $keyRing, $location);
- }
- }
-}
diff --git a/kms/api/src/KeyRingCommand.php b/kms/api/src/KeyRingCommand.php
deleted file mode 100644
index b9aaab56e6..0000000000
--- a/kms/api/src/KeyRingCommand.php
+++ /dev/null
@@ -1,102 +0,0 @@
-setName('keyring')
- ->setDescription('Manage keyrings for KMS')
- ->setHelp(<<%command.name% command manages KMS keyrings.
-
-List all KeyRings for a project:
-
- php %command.full_name%
-
-Display information about a KeyRing:
-
- php %command.full_name% my-keyring
-
-Create a KeyRing:
-
- php %command.full_name% new-keyring --create
-
-EOF
- )
- ->addArgument(
- 'keyring',
- InputArgument::OPTIONAL,
- 'The name of the keyring.'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will create the keyring, cryptokey, or cryptokey version'
- )
- ->addOption(
- 'location',
- null,
- InputOption::VALUE_REQUIRED,
- 'The location of the cryptokey or keyring.',
- 'global'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $ring = $input->getArgument('keyring');
- $location = $input->getOption('location');
- if ($ring) {
- if ($input->getOption('create')) {
- create_keyring($projectId, $ring, $location);
- } else {
- get_keyring($projectId, $ring, $location);
- }
- } else {
- list_keyrings($projectId, $location);
- }
- }
-}
diff --git a/kms/api/src/KmsCommandTrait.php b/kms/api/src/KmsCommandTrait.php
deleted file mode 100644
index 4d92943973..0000000000
--- a/kms/api/src/KmsCommandTrait.php
+++ /dev/null
@@ -1,47 +0,0 @@
-/dev/null", $output, $return_var);
-
- if (0 === $return_var) {
- return array_pop($output);
- }
-
- throw new Exception('Could not derive a project ID from gcloud. ' .
- 'You must supply a project ID using --project');
- }
-
- private function getKmsClient()
- {
- // Instantiate the client, authenticate, and add scopes.
- $client = new \Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client
- return new \Google_Service_CloudKMS($client);
- }
-}
diff --git a/kms/api/src/VersionCommand.php b/kms/api/src/VersionCommand.php
deleted file mode 100644
index 2d5a2bd3c8..0000000000
--- a/kms/api/src/VersionCommand.php
+++ /dev/null
@@ -1,154 +0,0 @@
-setName('version')
- ->setDescription('Manage key versions for KMS')
- ->setHelp(<<%command.name% command manages KMS key versions.
-
-List all versions of a CryptoKey:
-
- php %command.full_name% my-keyring my-cryptokey
-
-Display information about a specific CryptoKey version:
-
- php %command.full_name% my-keyring my-cryptokey 1
-
-Create a new CryptoKey version:
-
- php %command.full_name% my-keyring my-cryptokey --create
-
-EOF
- )
- ->addArgument(
- 'keyring',
- InputArgument::REQUIRED,
- 'The name of the keyring.'
- )
- ->addArgument(
- 'cryptokey',
- InputArgument::REQUIRED,
- 'The name of the cryptokey.'
- )
- ->addArgument(
- 'version',
- InputArgument::OPTIONAL,
- 'The version of the cryptokey.'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will create the keyring, cryptokey, or cryptokey version'
- )
- ->addOption(
- 'destroy',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will destroy the cryptokey version'
- )
- ->addOption(
- 'disable',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will disable the cryptokey version'
- )
- ->addOption(
- 'enable',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will enable the cryptokey version'
- )
- ->addOption(
- 'restore',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will restore the cryptokey version'
- )
- ->addOption(
- 'set-primary',
- null,
- InputOption::VALUE_NONE,
- 'If supplied, will disable the cryptokey version'
- )
- ->addOption(
- 'location',
- null,
- InputOption::VALUE_REQUIRED,
- 'The location of the cryptokey or keyring.',
- 'global'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $keyRing = $input->getArgument('keyring');
- $cryptoKey = $input->getArgument('cryptokey');
- $cryptoKeyVersion = $input->getArgument('version');
- $location = $input->getOption('location');
- if ($input->getOption('create')) {
- create_cryptokey_version($projectId, $keyRing, $cryptoKey, $location);
- } elseif ($cryptoKeyVersion) {
- if ($input->getOption('destroy')) {
- destroy_cryptokey_version($projectId, $keyRing, $cryptoKey, $cryptoKeyVersion, $location);
- } elseif ($input->getOption('disable')) {
- disable_cryptokey_version($projectId, $keyRing, $cryptoKey, $cryptoKeyVersion, $location);
- } elseif ($input->getOption('restore')) {
- restore_cryptokey_version($projectId, $keyRing, $cryptoKey, $cryptoKeyVersion, $location);
- } elseif ($input->getOption('enable')) {
- enable_cryptokey_version($projectId, $keyRing, $cryptoKey, $cryptoKeyVersion, $location);
- } elseif ($input->getOption('set-primary')) {
- set_cryptokey_primary_version($projectId, $keyRing, $cryptoKey, $cryptoKeyVersion, $location);
- } else {
- get_cryptokey_version($projectId, $keyRing, $cryptoKey, $cryptoKeyVersion, $location);
- }
- } else {
- list_cryptokey_versions($projectId, $keyRing, $cryptoKey, $location);
- }
- }
-}
diff --git a/kms/api/src/functions.php b/kms/api/src/functions.php
deleted file mode 100644
index 876e0e6116..0000000000
--- a/kms/api/src/functions.php
+++ /dev/null
@@ -1,985 +0,0 @@
-useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Get the current IAM policy and add the new account to it.
- $policy = $kms->projects_locations_keyRings_cryptoKeys->getIamPolicy($parent);
- $bindings = $policy->getBindings();
- $bindings[] = new Google_Service_CloudKMS_Binding([
- 'members' => [$member],
- 'role' => $role,
- ]);
- $policy->setBindings($bindings);
-
- // Set the new IAM Policy.
- $request = new Google_Service_CloudKMS_SetIamPolicyRequest(['policy' => $policy]);
- $kms->projects_locations_keyRings_cryptoKeys->setIamPolicy(
- $parent,
- $request
- );
-
- printf('Member %s added to policy for key %s in keyring %s' . PHP_EOL, $member, $key, $ring);
-}
-# [END kms_add_member_to_cryptokey_policy]
-
-# [START kms_add_member_to_keyring_policy]
-/**
- * Add a member to a KeyRing IAM policy.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $member Must be in the format "user:$userEmail" or
- * "serviceAccount:$serviceAccountEmail"
- * @param string $role Must be in the format "roles/$role",
- * "organizations/$organizationId/roles/$role", or "projects/$projectId/roles/$role"
- * @param string $location [optional]
- * @return null
- */
-function add_member_to_keyring_policy($projectId, $ring, $member, $role, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the KeyRing.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s',
- $projectId,
- $location,
- $ring
- );
-
- // Get the current IAM policy and add the new account to it.
- $policy = $kms->projects_locations_keyRings->getIamPolicy($parent);
- $bindings = $policy->getBindings();
- $bindings[] = new Google_Service_CloudKMS_Binding([
- 'members' => [$member],
- 'role' => $role,
- ]);
- $policy->setBindings($bindings);
-
- // Set the new IAM Policy.
- $request = new Google_Service_CloudKMS_SetIamPolicyRequest(['policy' => $policy]);
- $kms->projects_locations_keyRings->setIamPolicy(
- $parent,
- $request
- );
-
- printf('Member %s added to policy for keyring %s' . PHP_EOL, $member, $ring);
-}
-# [END kms_add_member_to_keyring_policy]
-
-# [START kms_create_cryptokey]
-/**
- * Create a CryptoKey.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $location [optional]
- * @return Google_Service_CloudKMS_CryptoKey
- */
-function create_cryptokey($projectId, $ring, $key, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // This will allow the API access to the key for encryption and decryption.
- $purpose = 'ENCRYPT_DECRYPT';
-
- // The resource name of the KeyRing associated with the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s',
- $projectId,
- $location,
- $ring
- );
-
- $cryptoKey = new Google_Service_CloudKMS_CryptoKey();
- $cryptoKey->setPurpose($purpose);
-
- // Create the CryptoKey for your project.
- $newKey = $kms->projects_locations_keyRings_cryptoKeys->create(
- $parent,
- $cryptoKey,
- ['cryptoKeyId' => $key]
- );
-
- printf('Created key %s in keyring %s' . PHP_EOL, $key, $ring);
-}
-# [END kms_create_cryptokey]
-
-# [START kms_create_cryptokey_version]
-/**
- * Create a KeyRing version.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $location [optional]
- * @return null
- */
-function create_cryptokey_version($projectId, $ring, $key, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // This will allow the API access to the key for encryption and decryption.
- $purpose = 'ENCRYPT_DECRYPT';
-
- // The resource name of the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Create the CryptoKey version for your project.
- $cryptoKeyVersion = new Google_Service_CloudKMS_CryptoKeyVersion();
- $newVersion = $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions
- ->create($parent, $cryptoKeyVersion);
-
- $number = substr($newVersion->name, strrpos($newVersion->name, '/') + 1);
- printf('Created version %s for key %s in keyring %s' . PHP_EOL, $number, $key, $ring);
-}
-# [END kms_create_cryptokey_version]
-
-# [START kms_create_keyring]
-/**
- * Create a KeyRing.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $location [optional]
- * @return null
- */
-function create_keyring($projectId, $ring, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the location associated with the KeyRing.
- $parent = sprintf('projects/%s/locations/%s',
- $projectId,
- $location
- );
-
- // Create the KeyRing for your project.
- $keyRing = new Google_Service_CloudKMS_KeyRing();
- $kms->projects_locations_keyRings->create(
- $parent,
- $keyRing,
- ['keyRingId' => $ring]
- );
-
- printf('Created keyring %s' . PHP_EOL, $ring);
-}
-# [END kms_create_keyring]
-
-# [START kms_get_keyring]
-/**
- * Get a KeyRing.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $location [optional]
- * @return null
- */
-function get_keyring($projectId, $ring, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s',
- $projectId,
- $location,
- $ring
- );
-
- // Get the KeyRing and print it.
- $keyRing = $kms->projects_locations_keyRings->get($parent);
- printf("Name: %s\nCreate Time: %s\n",
- $keyRing->getName(),
- $keyRing->getCreateTime()
- );
-}
-# [END kms_get_keyring]
-
-# [START kms_list_keyrings]
-/**
- * List the KeyRings for a project and location.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $location [optional]
- * @return null
- */
-function list_keyrings($projectId, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s',
- $projectId,
- $location
- );
-
- // Get the CryptoKey versions and print them.
- $rings = $kms->projects_locations_keyRings
- ->listProjectsLocationsKeyRings($parent);
- foreach ($rings as $keyRing) {
- printf("Name: %s\nCreate Time: %s\n",
- $keyRing->getName(),
- $keyRing->getCreateTime()
- );
- }
-}
-# [END kms_list_keyrings]
-
-# [START kms_get_cryptokey]
-/**
- * Get a CryptoKey.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $location [optional]
- * @return null
- */
-function get_cryptokey($projectId, $ring, $key, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Get the CryptoKey and print it.
- $cryptoKey = $kms->projects_locations_keyRings_cryptoKeys
- ->get($parent);
- printf("Name: %s\nCreate Time: %s\nPurpose: %s\nPrimary Version: %s\n",
- $cryptoKey->getName(),
- $cryptoKey->getCreateTime(),
- $cryptoKey->getPurpose(),
- $cryptoKey->getPrimary()->getName()
- );
-}
-# [END kms_get_cryptokey]
-
-# [START kms_list_cryptokeys]
-/**
- * List the CryptoKeys for a KeyRing.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $location [optional]
- * @return null
- */
-function list_cryptokeys($projectId, $ring, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s',
- $projectId,
- $location,
- $ring
- );
-
- // Get the CryptoKey versions and print them.
- $keys = $kms->projects_locations_keyRings_cryptoKeys
- ->listProjectsLocationsKeyRingsCryptoKeys($parent);
- foreach ($keys as $cryptoKey) {
- printf("Name: %s\nCreate Time: %s\nPurpose: %s\nPrimary Version: %s\n\n",
- $cryptoKey->getName(),
- $cryptoKey->getCreateTime(),
- $cryptoKey->getPurpose(),
- $cryptoKey->getPrimary()->getName()
- );
- }
-}
-# [END kms_list_cryptokey_versions]
-
-# [START kms_get_cryptokey_version]
-/**
- * Get the version for a CryptoKey.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param int $version
- * @param string $location [optional]
- * @return null
- */
-function get_cryptokey_version($projectId, $ring, $key, $version, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the cryptokey version.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s/cryptoKeyVersions/%s',
- $projectId,
- $location,
- $ring,
- $key,
- $version
- );
-
- // Get the CryptoKey version and print it.
- $cryptoKeyVersion = $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions
- ->get($parent);
- printf("Name: %s\nCreate Time: %s\nState: %s\n",
- $cryptoKeyVersion->getName(),
- $cryptoKeyVersion->getCreateTime(),
- $cryptoKeyVersion->getState()
- );
-}
-# [END kms_get_cryptokey_version]
-
-# [START kms_list_cryptokey_versions]
-/**
- * List the versions for a CryptoKey.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $location [optional]
- * @return null
- */
-function list_cryptokey_versions($projectId, $ring, $key, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Get the CryptoKey versions and print them.
- $versions = $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions
- ->listProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions($parent);
- foreach ($versions as $cryptoKeyVersion) {
- printf("Name: %s\nCreate Time: %s\nState: %s\n\n",
- $cryptoKeyVersion->getName(),
- $cryptoKeyVersion->getCreateTime(),
- $cryptoKeyVersion->getState()
- );
- }
-}
-# [END kms_list_cryptokey_versions]
-
-# [START kms_encrypt]
-/**
- * Encrypt a text file.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $infile The path to a text file.
- * @param string $outfile The path to write the encrypted file.
- * @param string $location [optional]
- * @return null
- */
-function encrypt($projectId, $ring, $key, $infile, $outfile, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the cryptokey.
- $name = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Use the KMS API to encrypt the text.
- $encoded = base64_encode(file_get_contents($infile));
- $request = new Google_Service_CloudKMS_EncryptRequest();
- $request->setPlaintext($encoded);
- $response = $kms->projects_locations_keyRings_cryptoKeys->encrypt(
- $name,
- $request
- );
-
- // Write the encrypted text to a file.
- file_put_contents($outfile, $response['ciphertext']);
- printf('Saved encrypted text to %s' . PHP_EOL, $outfile);
-}
-# [END kms_encrypt]
-
-# [START kms_decrypt]
-/**
- * Decrypt a text file.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $infile The path to an encrypted file.
- * @param string $outfile The path to write the decrypted file.
- * @param string $location [optional]
- * @return null
- */
-function decrypt($projectId, $ring, $key, $infile, $outfile, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the cryptokey.
- $name = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Use the KMS API to decrypt the text.
- $ciphertext = file_get_contents($infile);
- $request = new Google_Service_CloudKMS_DecryptRequest();
- $request->setCiphertext($ciphertext);
- $response = $kms->projects_locations_keyRings_cryptoKeys->decrypt(
- $name,
- $request
- );
-
- // Write the decrypted text to a file.
- $plaintext = base64_decode($response['plaintext']);
- file_put_contents($outfile, $plaintext);
- printf('Saved decrypted text to %s' . PHP_EOL, $outfile);
-}
-# [END kms_decrypt]
-
-# [START kms_destroy_cryptokey_version]
-/**
- * Destroy a CryptoKey version.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $version
- * @param string $location [optional]
- * @return Google_Service_CloudKMS_CryptoKeyVersion
- */
-function destroy_cryptokey_version($projectId, $ring, $key, $version, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey version.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s/cryptoKeyVersions/%s',
- $projectId,
- $location,
- $ring,
- $key,
- $version
- );
-
- // Destroy the CryptoKey version.
- $request = new Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest();
- $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions->destroy(
- $parent,
- $request
- );
-
- printf('Destroyed version %s for key %s in keyring %s' . PHP_EOL, $version, $key, $ring);
-}
-# [END kms_destroy_cryptokey_version]
-
-# [START kms_restore_cryptokey_version]
-/**
- * Restore a CryptoKey version.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $version
- * @param string $location [optional]
- * @return Google_Service_CloudKMS_CryptoKeyVersion
- */
-function restore_cryptokey_version($projectId, $ring, $key, $version, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey version.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s/cryptoKeyVersions/%s',
- $projectId,
- $location,
- $ring,
- $key,
- $version
- );
-
- // Restore the CryptoKey version.
- $request = new Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest();
- $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions->restore(
- $parent,
- $request
- );
-
- printf('Restored version %s for key %s in keyring %s' . PHP_EOL, $version, $key, $ring);
-}
-# [END kms_restore_cryptokey_version]
-
-# [START kms_disable_cryptokey_version]
-/**
- * Disable a CryptoKey version.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param int $version
- * @param string $location [optional]
- * @return null
- */
-function disable_cryptokey_version($projectId, $ring, $key, $version, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the KeyRing associated with the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s/cryptoKeyVersions/%s',
- $projectId,
- $location,
- $ring,
- $key,
- $version
- );
-
- // Disable the CryptoKey version.
- $cryptoKeyVersion = $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions
- ->get($parent);
- $cryptoKeyVersion->setState('DISABLED');
-
- $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions->patch(
- $parent,
- $cryptoKeyVersion,
- ['updateMask' => 'state']
- );
-
- printf('Disabled version %s for key %s in keyring %s' . PHP_EOL, $version, $key, $ring);
-}
-# [END kms_disable_cryptokey_version]
-
-# [START kms_enable_cryptokey_version]
-/**
- * Enable a CryptoKey version.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param int $version
- * @param string $location [optional]
- * @return null
- */
-function enable_cryptokey_version($projectId, $ring, $key, $version, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the KeyRing associated with the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s/cryptoKeyVersions/%s',
- $projectId,
- $location,
- $ring,
- $key,
- $version
- );
-
- // Enable the CryptoKey version.
- $cryptoKeyVersion = $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions
- ->get($parent);
- $cryptoKeyVersion->setState('ENABLED');
-
- $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions->patch(
- $parent,
- $cryptoKeyVersion,
- ['updateMask' => 'state']
- );
-
- printf('Enabled version %s for key %s in keyring %s' . PHP_EOL, $version, $key, $ring);
-}
-# [END kms_enable_cryptokey_version]
-
-# [START kms_get_cryptokey_policy]
-/**
- * Get the IAM policy for a CryptoKey.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $location [optional]
- * @return null
- */
-function get_cryptokey_policy($projectId, $ring, $key, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Get the current IAM policy and print it.
- $policy = $kms->projects_locations_keyRings_cryptoKeys->getIamPolicy($parent);
- foreach ($policy->getBindings() as $binding) {
- printf("Role: %s\nMembers:\n%s\n",
- $binding->getRole(),
- implode("\n", $binding->getMembers())
- );
- }
-}
-# [END kms_get_cryptokey_policy]
-
-# [START kms_get_keyring_policy]
-/**
- * Get the IAM policy for a KeyRing.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $location [optional]
- * @return null
- */
-function get_keyring_policy($projectId, $ring, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the location associated with the key rings.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s',
- $projectId,
- $location,
- $ring
- );
-
- // Get the current IAM policy and print it.
- $policy = $kms->projects_locations_keyRings->getIamPolicy($parent);
- foreach ($policy->getBindings() as $binding) {
- printf("Role: %s\nMembers:\n%s\n",
- $binding->getRole(),
- implode("\n", $binding->getMembers())
- );
- }
-}
-# [END kms_get_keyring_policy]
-
-# [START kms_remove_member_from_cryptokey_policy]
-/**
- * Remove a member from a CryptoKey IAM policy.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param string $member Must be in the format "user:$userEmail" or
- * "serviceAccount:$serviceAccountEmail"
- * @param string $role Must be in the format "roles/$role",
- * "organizations/$organizationId/roles/$role", or "projects/$projectId/roles/$role"
- * @param string $location [optional]
- * @return null
- */
-function remove_member_from_cryptokey_policy($projectId, $ring, $key, $member, $role, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the KeyRing associated with the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Get the current IAM policy and remove the member from it.
- $policy = $kms->projects_locations_keyRings_cryptoKeys->getIamPolicy($parent);
- foreach ($policy->getBindings() as $binding) {
- if ($binding->getRole() == $role) {
- $members = $binding->getMembers();
- if (false !== $i = array_search($member, $members)) {
- unset($members[$i]);
- $binding->setMembers($members);
- break;
- }
- }
- }
-
- // Set the new IAM Policy.
- $request = new Google_Service_CloudKMS_SetIamPolicyRequest(['policy' => $policy]);
- $kms->projects_locations_keyRings_cryptoKeys->setIamPolicy(
- $parent,
- $request
- );
-
- printf('Member %s removed from policy for key %s in keyring %s' . PHP_EOL,
- $member,
- $key,
- $ring);
-}
-# [END kms_remove_member_from_cryptokey_policy]
-
-# [START kms_remove_member_from_keyring_policy]
-/**
- * Remove a member from a KeyRing IAM policy.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $member Must be in the format "user:$userEmail" or
- * "serviceAccount:$serviceAccountEmail"
- * @param string $role Must be in the format "roles/$role",
- * "organizations/$organizationId/roles/$role", or "projects/$projectId/roles/$role"
- * @param string $location [optional]
- * @return null
- */
-function remove_member_from_keyring_policy($projectId, $ring, $member, $role, $location = 'global')
-{
- // Instantiate the client, authenticate using Application Default Credentials,
- // and add the scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the location associated with the KeyRing.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s',
- $projectId,
- $location,
- $ring
- );
-
- // Get the current IAM policy and remove the member from it.
- $policy = $kms->projects_locations_keyRings->getIamPolicy($parent);
- foreach ($policy->getBindings() as $binding) {
- if ($binding->getRole() == $role) {
- $members = $binding->getMembers();
- if (false !== $i = array_search($member, $members)) {
- unset($members[$i]);
- $binding->setMembers($members);
- break;
- }
- }
- }
-
- // Set the new IAM Policy.
- $request = new Google_Service_CloudKMS_SetIamPolicyRequest(['policy' => $policy]);
- $kms->projects_locations_keyRings->setIamPolicy(
- $parent,
- $request
- );
-
- printf('Member %s removed from policy for keyring %s' . PHP_EOL,
- $member,
- $ring);
-}
-# [END kms_remove_member_from_keyring_policy]
-
-# [START kms_set_cryptokey_primary_version]
-/**
- * Set a CryptoKey version as primary.
- *
- * @param string $projectId
- * @param string $ring
- * @param string $key
- * @param int $version
- * @param string $location [optional]
- * @return null
- */
-function set_cryptokey_primary_version($projectId, $ring, $key, $version, $location = 'global')
-{
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
-
- // Create the Cloud KMS client.
- $kms = new Google_Service_CloudKMS($client);
-
- // The resource name of the KeyRing associated with the CryptoKey.
- $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',
- $projectId,
- $location,
- $ring,
- $key
- );
-
- // Update the CryptoKey primary version.
- $request = new Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest();
- $request->setCryptoKeyVersionId($version);
- $cryptoKey = $kms->projects_locations_keyRings_cryptoKeys->updatePrimaryVersion(
- $parent,
- $request
- );
-
- printf('Set %s as primary version for key %s in keyring %s' . PHP_EOL, $version, $key, $ring);
-}
-# [END kms_set_cryptokey_primary_version]
diff --git a/kms/api/test/EncryptionCommandTest.php b/kms/api/test/EncryptionCommandTest.php
deleted file mode 100644
index e232c4ceb3..0000000000
--- a/kms/api/test/EncryptionCommandTest.php
+++ /dev/null
@@ -1,124 +0,0 @@
-markTestSkipped('Set the GOOGLE_PROJECT_ID environment variable');
- }
- if (!$ring = getenv('GOOGLE_KMS_KEYRING')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_KEYRING environment variable');
- }
- if (!$key = getenv('GOOGLE_KMS_CRYPTOKEY')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_CRYPTOKEY environment variable');
- }
-
- $this->projectId = $projectId;
- $this->ring = $ring;
- $this->key = $key;
-
- $application = new Application();
- $application->add(new EncryptionCommand());
- $this->commandTester = new CommandTester($application->get('encryption'));
- }
-
- public function testEncrypt()
- {
- $infile = __DIR__ . '/data/plaintext.txt';
- $outfile = sys_get_temp_dir() . '/plaintext.txt.encrypted';
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- 'infile' => $infile,
- 'outfile' => $outfile,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->assertTrue(file_exists($outfile));
-
- // assert the text matches
- $parent = sprintf(
- 'projects/%s/locations/global/keyRings/%s/cryptoKeys/%s',
- $this->projectId,
- $this->ring,
- $this->key
- );
- // Instantiate the client, authenticate, and add scopes.
- $client = new Google_Client();
- $client->useApplicationDefaultCredentials();
- $client->addScope('https://www.googleapis.com/auth/cloud-platform');
- $kms = new Google_Service_CloudKMS($client);
- // create the decrypt request
- $request = new Google_Service_CloudKMS_DecryptRequest([
- 'ciphertext' => file_get_contents($outfile)]
- );
- $response = $kms->projects_locations_keyRings_cryptoKeys->decrypt(
- $parent,
- $request
- );
- $this->assertEquals(
- file_get_contents(__DIR__ . '/data/plaintext.txt'),
- base64_decode($response['plaintext'])
- );
-
- $this->expectOutputString(sprintf('Saved encrypted text to %s' . PHP_EOL, $outfile));
- }
-
- public function testDecrypt()
- {
- $infile = __DIR__ . '/data/plaintext.txt.encrypted';
- $outfile = sys_get_temp_dir() . '/plaintext.txt.decrypted';
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- 'infile' => $infile,
- 'outfile' => $outfile,
- '--decrypt' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
- $this->assertTrue(file_exists($outfile));
- $this->assertEquals(
- file_get_contents(__DIR__ . '/data/plaintext.txt'),
- file_get_contents($outfile)
- );
-
- $this->expectOutputString(sprintf('Saved decrypted text to %s' . PHP_EOL, $outfile));
- }
-}
diff --git a/kms/api/test/IamCommandTest.php b/kms/api/test/IamCommandTest.php
deleted file mode 100644
index 1f62b2f12c..0000000000
--- a/kms/api/test/IamCommandTest.php
+++ /dev/null
@@ -1,226 +0,0 @@
-markTestSkipped('Set the GOOGLE_PROJECT_ID environment variable');
- }
- if (!$ring = getenv('GOOGLE_KMS_KEYRING')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_KEYRING environment variable');
- }
- if (!$key = getenv('GOOGLE_KMS_CRYPTOKEY')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_CRYPTOKEY environment variable');
- }
-
- $this->projectId = $projectId;
- $this->ring = $ring;
- $this->key = $key;
-
- $application = new Application();
- $application->add(new IamCommand());
- $this->commandTester = new CommandTester($application->get('iam'));
- }
-
- public function testAddUserToKeyRing()
- {
- $userEmail = 'betterbrent@google.com';
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- '--user-email' => $userEmail,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Member user:%s added to policy for keyring %s' . PHP_EOL,
- $userEmail,
- $this->ring));
- }
-
- /**
- * @depends testAddUserToKeyRing
- */
- public function testRemoveUserFromKeyRing()
- {
- $userEmail = 'betterbrent@google.com';
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- '--user-email' => $userEmail,
- '--remove' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Member user:%s removed from policy for keyring %s' . PHP_EOL,
- $userEmail,
- $this->ring));
- }
-
- public function testAddUserToCryptoKey()
- {
- $userEmail = 'betterbrent@google.com';
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- '--user-email' => $userEmail,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Member user:%s added to policy for key %s in keyring %s' . PHP_EOL,
- $userEmail,
- $this->key,
- $this->ring));
- }
-
- /**
- * @depends testAddUserToCryptoKey
- */
- public function testRemoveUserFromCryptoKey()
- {
- $userEmail = 'betterbrent@google.com';
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- '--user-email' => $userEmail,
- '--remove' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Member user:%s removed from policy for key %s in keyring %s' . PHP_EOL,
- $userEmail,
- $this->key,
- $this->ring));
- }
-
- public function testAddServiceAccountToCryptoKey()
- {
- if (!$serviceAccountEmail = getenv('GOOGLE_KMS_SERVICEACCOUNTEMAIL')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_SERVICEACCOUNTEMAIL environment variable');
- }
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- '--service-account-email' => $serviceAccountEmail,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Member serviceAccount:%s added to policy for key %s in keyring %s' . PHP_EOL,
- $serviceAccountEmail,
- $this->key,
- $this->ring));
- }
-
- /**
- * @depends testAddServiceAccountToCryptoKey
- */
- public function testRemoveServiceAccountFromCryptoKey()
- {
- if (!$serviceAccountEmail = getenv('GOOGLE_KMS_SERVICEACCOUNTEMAIL')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_SERVICEACCOUNTEMAIL environment variable');
- }
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- '--service-account-email' => $serviceAccountEmail,
- '--remove' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Member serviceAccount:%s removed from policy for key %s in keyring %s' . PHP_EOL,
- $serviceAccountEmail,
- $this->key,
- $this->ring));
- }
-
- public function testAddServiceAccountToKeyRing()
- {
- if (!$serviceAccountEmail = getenv('GOOGLE_KMS_SERVICEACCOUNTEMAIL')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_SERVICEACCOUNTEMAIL environment variable');
- }
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- '--service-account-email' => $serviceAccountEmail,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Member serviceAccount:%s added to policy for keyring %s' . PHP_EOL,
- $serviceAccountEmail,
- $this->ring));
- }
-
- /**
- * @depends testAddServiceAccountToKeyRing
- */
- public function testRemoveServiceAccountFromKeyRing()
- {
- if (!$serviceAccountEmail = getenv('GOOGLE_KMS_SERVICEACCOUNTEMAIL')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_SERVICEACCOUNTEMAIL environment variable');
- }
-
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- '--service-account-email' => $serviceAccountEmail,
- '--remove' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Member serviceAccount:%s removed from policy for keyring %s' . PHP_EOL,
- $serviceAccountEmail,
- $this->ring));
- }
-}
diff --git a/kms/api/test/KeyCommandTest.php b/kms/api/test/KeyCommandTest.php
deleted file mode 100644
index 4e31332995..0000000000
--- a/kms/api/test/KeyCommandTest.php
+++ /dev/null
@@ -1,103 +0,0 @@
-markTestSkipped('Set the GOOGLE_PROJECT_ID environment variable');
- }
- if (!$ring = getenv('GOOGLE_KMS_KEYRING')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_KEYRING environment variable');
- }
- $this->projectId = $projectId;
- $this->ring = $ring;
- $application = new Application();
- $application->add(new KeyCommand());
- $this->commandTester = new CommandTester($application->get('key'));
- }
-
- public function testListCryptoKeys()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Name: /');
- $this->expectOutputRegex('/Create Time: /');
- $this->expectOutputRegex('/Purpose: /');
- $this->expectOutputRegex('/Primary Version: /');
- }
-
- public function testCreateCryptoKey()
- {
- if (!$this->ring) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_KEYRING environment variable');
- }
-
- self::$key = 'test-crypto-key-' . time();
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => self::$key,
- '--create' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Created key %s in keyring %s' . PHP_EOL,
- self::$key,
- $this->ring
- ));
- }
-
- /**
- * @depends testCreateCryptoKey
- */
- public function testGetCryptoKey()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => self::$key,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex(sprintf('/Name: %s/', self::$key));
- $this->expectOutputRegex('/Create Time: /');
- $this->expectOutputRegex('/Purpose: /');
- $this->expectOutputRegex('/Primary Version: /');
- }
-}
diff --git a/kms/api/test/KeyRingCommandTest.php b/kms/api/test/KeyRingCommandTest.php
deleted file mode 100644
index 0e02a76c86..0000000000
--- a/kms/api/test/KeyRingCommandTest.php
+++ /dev/null
@@ -1,85 +0,0 @@
-markTestSkipped('Set the GOOGLE_PROJECT_ID environment variable');
- }
-
- $this->projectId = $projectId;
- $application = new Application();
- $application->add(new KeyRingCommand());
- $this->commandTester = new CommandTester($application->get('keyring'));
- }
-
- public function testListKeyRings()
- {
- $this->commandTester->execute(
- [
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Name: /');
- $this->expectOutputRegex('/Create Time: /');
- }
-
- public function testCreateKeyRing()
- {
- self::$ring = 'test-key-ring-' . time();
- $this->commandTester->execute(
- [
- 'keyring' => self::$ring,
- '--create' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Created keyring %s' . PHP_EOL, self::$ring));
- }
-
- /**
- * @depends testCreateKeyRing
- */
- public function testGetKeyRing()
- {
- $this->commandTester->execute(
- [
- 'keyring' => self::$ring,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex(sprintf('/Name: %s/', self::$ring));
- $this->expectOutputRegex('/Create Time: /');
- }
-}
diff --git a/kms/api/test/VersionCommandTest.php b/kms/api/test/VersionCommandTest.php
deleted file mode 100644
index bb6ff56f70..0000000000
--- a/kms/api/test/VersionCommandTest.php
+++ /dev/null
@@ -1,223 +0,0 @@
-markTestSkipped('Set the GOOGLE_PROJECT_ID environment variable');
- }
- if (!$ring = getenv('GOOGLE_KMS_KEYRING')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_KEYRING environment variable');
- }
- if (!$key = getenv('GOOGLE_KMS_CRYPTOKEY_ALTERNATE')) {
- return $this->markTestSkipped('Set the GOOGLE_KMS_CRYPTOKEY_ALTERNATE environment variable');
- }
-
- $this->projectId = $projectId;
- $this->ring = $ring;
- $this->key = $key;
-
- $application = new Application();
- $application->add(new VersionCommand());
- $this->commandTester = new CommandTester($application->get('version'));
- }
-
- public function testListCryptoKeyVersions()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Name: /');
- $this->expectOutputRegex('/Create Time: /');
- $this->expectOutputRegex('/State: /');
- }
-
- public function testCreateCryptoKeyVersion()
- {
- ob_start();
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- '--create' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
- $output = ob_get_clean();
-
- $regex = sprintf('/Created version (\d+) for key %s in keyring %s/' . PHP_EOL,
- $this->key,
- $this->ring);
- $this->assertEquals(1, preg_match($regex, $output, $matches));
- self::$version = $matches[1];
- }
-
- /**
- * @depends testCreateCryptoKeyVersion
- */
- public function testGetCryptoKeyVersions()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- 'version' => self::$version,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Name: /');
- $this->expectOutputRegex('/Create Time: /');
- $this->expectOutputRegex('/State: /');
- }
-
- /**
- * @depends testCreateCryptoKeyVersion
- */
- public function testDisableCryptoKeyVersion()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- 'version' => self::$version,
- '--disable' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Disabled version %s for key %s in keyring %s' . PHP_EOL,
- self::$version,
- $this->key,
- $this->ring
- ));
- }
-
- /**
- * @depends testDisableCryptoKeyVersion
- */
- public function testEnableCryptoKeyVersion()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- 'version' => self::$version,
- '--enable' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Enabled version %s for key %s in keyring %s' . PHP_EOL,
- self::$version,
- $this->key,
- $this->ring
- ));
- }
-
- /**
- * @depends testCreateCryptoKeyVersion
- */
- public function testDestroyCryptoKeyVersion()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- 'version' => self::$version,
- '--destroy' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Destroyed version %s for key %s in keyring %s' . PHP_EOL,
- self::$version,
- $this->key,
- $this->ring
- ));
- }
-
- /**
- * @depends testDestroyCryptoKeyVersion
- */
- public function testRestoreCryptoKeyVersion()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- 'version' => self::$version,
- '--restore' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Restored version %s for key %s in keyring %s' . PHP_EOL,
- self::$version,
- $this->key,
- $this->ring
- ));
- }
-
- /**
- * @depends testCreateCryptoKeyVersion
- */
- public function testSetPrimaryCryptoKeyVersion()
- {
- $this->commandTester->execute(
- [
- 'keyring' => $this->ring,
- 'cryptokey' => $this->key,
- 'version' => self::$version,
- '--set-primary' => true,
- '--project' => $this->projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputString(sprintf('Set %s as primary version for key %s in keyring %s' . PHP_EOL,
- self::$version,
- $this->key,
- $this->ring
- ));
- }
-}
diff --git a/kms/api/test/data/plaintext.txt b/kms/api/test/data/plaintext.txt
deleted file mode 100644
index 4fcded1010..0000000000
--- a/kms/api/test/data/plaintext.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-So if you're lost and on your own
-You can never surrender
-And if your path won't lead you home
-You can never surrender
diff --git a/kms/api/test/data/plaintext.txt.encrypted b/kms/api/test/data/plaintext.txt.encrypted
deleted file mode 100644
index 6ddecde065..0000000000
--- a/kms/api/test/data/plaintext.txt.encrypted
+++ /dev/null
@@ -1 +0,0 @@
-CiQAsrGSxUXU7OjpYggtHeygRu0YEg7hz13cOBnprND50qM7/NwSoAEA94Kd5hLVtl1G+Nn8LgzE+2RiN9kKG6xw0YsCM08x9hesoEM3obpEY66+o44hfIQaKG9uklcrPXhlpNUEG76q3GJlU6RCG5ZNBQALHey0P/N0eR1xjOJccN3Ww146nY+yKd+87irtBerhlCqoSiiKoz2tM+iObmU4Qq7lxtV0ZuLIqIk+OCexveR7of4zUJ8JC+rL5+aGACV36kh0FwIX
\ No newline at end of file
diff --git a/kms/quickstart/composer.json b/kms/quickstart/composer.json
deleted file mode 100644
index dc7652ad00..0000000000
--- a/kms/quickstart/composer.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "require": {
- "google/apiclient": "^2.1"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/kms/quickstart/composer.lock b/kms/quickstart/composer.lock
deleted file mode 100644
index e69e6dee5b..0000000000
--- a/kms/quickstart/composer.lock
+++ /dev/null
@@ -1,1813 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "85984c5e88b71d71b69c9a3465d9875f",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/apiclient",
- "version": "v2.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-api-php-client.git",
- "reference": "43996f09df274158fd04fce98e8a82effe5f3717"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-api-php-client/zipball/43996f09df274158fd04fce98e8a82effe5f3717",
- "reference": "43996f09df274158fd04fce98e8a82effe5f3717",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "google/apiclient-services": "^0.11",
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "~5.2|~6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "^1.17",
- "php": ">=5.4",
- "phpseclib/phpseclib": "~0.3.10|~2.0"
- },
- "require-dev": {
- "cache/filesystem-adapter": "^0.3.2",
- "phpunit/phpunit": "~4",
- "squizlabs/php_codesniffer": "~2.3",
- "symfony/css-selector": "~2.1",
- "symfony/dom-crawler": "~2.1"
- },
- "suggest": {
- "cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Google_": "src/"
- },
- "classmap": [
- "src/Google/Service/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Client library for Google APIs",
- "homepage": "http://developers.google.com/api-client-library/php",
- "keywords": [
- "google"
- ],
- "time": "2017-03-22T18:32:04+00:00"
- },
- {
- "name": "google/apiclient-services",
- "version": "v0.11",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-api-php-client-services.git",
- "reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
- "reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Google_Service_": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Client library for Google APIs",
- "homepage": "http://developers.google.com/api-client-library/php",
- "keywords": [
- "google"
- ],
- "time": "2017-03-13T17:40:44+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "phpseclib/phpseclib",
- "version": "2.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/phpseclib/phpseclib.git",
- "reference": "ab8028c93c03cc8d9c824efa75dc94f1db2369bf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/ab8028c93c03cc8d9c824efa75dc94f1db2369bf",
- "reference": "ab8028c93c03cc8d9c824efa75dc94f1db2369bf",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phing/phing": "~2.7",
- "phpunit/phpunit": "~4.0",
- "sami/sami": "~2.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "suggest": {
- "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
- "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
- "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
- "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
- },
- "type": "library",
- "autoload": {
- "files": [
- "phpseclib/bootstrap.php"
- ],
- "psr-4": {
- "phpseclib\\": "phpseclib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jim Wigginton",
- "email": "terrafrost@php.net",
- "role": "Lead Developer"
- },
- {
- "name": "Patrick Monnerat",
- "email": "pm@datasphere.ch",
- "role": "Developer"
- },
- {
- "name": "Andreas Fischer",
- "email": "bantu@phpbb.com",
- "role": "Developer"
- },
- {
- "name": "Hans-Jürgen Petrich",
- "email": "petrich@tronic-media.com",
- "role": "Developer"
- },
- {
- "name": "Graham Campbell",
- "email": "graham@alt-three.com",
- "role": "Developer"
- }
- ],
- "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
- "homepage": "http://phpseclib.sourceforge.net/",
- "keywords": [
- "BigInteger",
- "aes",
- "asn.1",
- "asn1",
- "blowfish",
- "crypto",
- "cryptography",
- "encryption",
- "rsa",
- "security",
- "sftp",
- "signature",
- "signing",
- "ssh",
- "twofish",
- "x.509",
- "x509"
- ],
- "time": "2016-10-04T00:57:04+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/kms/quickstart/phpunit.xml.dist b/kms/quickstart/phpunit.xml.dist
deleted file mode 100644
index 466227d825..0000000000
--- a/kms/quickstart/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- quickstart.php
-
-
-
diff --git a/kms/quickstart/quickstart.php b/kms/quickstart/quickstart.php
deleted file mode 100644
index 90eae4ae71..0000000000
--- a/kms/quickstart/quickstart.php
+++ /dev/null
@@ -1,58 +0,0 @@
-useApplicationDefaultCredentials();
-
-// Set the required scopes to access the Key Management Service API
-$client->setScopes(array(
- 'https://www.googleapis.com/auth/cloud-platform'
-));
-
-// Instantiate the Key Management Service API
-$kms = new Google_Service_CloudKMS($client);
-
-// list all key rings for your project
-$keyRings = $kms->projects_locations_keyRings->listProjectsLocationsKeyRings(
- $projectId,
- array('parent' => $parent)
-);
-
-// Print the key rings
-echo 'Key Rings: ' . PHP_EOL;
-foreach ($keyRings as $keyRing) {
- echo $keyRing->name . PHP_EOL;
-}
-# [END kms_quickstart]
-return $keyRings;
diff --git a/kms/quickstart/test/quickstartTest.php b/kms/quickstart/test/quickstartTest.php
deleted file mode 100644
index 774a66374c..0000000000
--- a/kms/quickstart/test/quickstartTest.php
+++ /dev/null
@@ -1,45 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
-
- $file = sys_get_temp_dir() . '/keymanagement_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', '__DIR__'],
- [$projectId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
- ob_start();
- $keyRings = include $file;
- $output = ob_get_clean();
-
- // Make sure it looks correct
- $this->assertInstanceOf('Google_Service_CloudKMS_ListKeyRingsResponse', $keyRings);
- $this->assertTrue(count($keyRings) > 0);
- $this->assertNotNull($keyRings[0]->name);
- $this->assertContains($keyRings[0]->name, $output);
- }
-}
diff --git a/language/api/README.md b/language/api/README.md
deleted file mode 100644
index 797c5a0926..0000000000
--- a/language/api/README.md
+++ /dev/null
@@ -1,209 +0,0 @@
-# Google Cloud Natural Language API Samples
-
-These samples show how to use the [Google Cloud Natural Language API][language-api]
-to analyze text.
-
-This repository contains samples that use the [Google Cloud
-Library for PHP][google-cloud-php] to make REST calls as well as
-contains samples using the more-efficient (though sometimes more
-complex) [GRPC][grpc] API. The GRPC API also allows streaming requests.
-
-[language-api]: http://cloud.google.com/natural-language
-[google-cloud-php]: https://googlecloudplatform.github.io/google-cloud-php/
-[grpc]: http://grpc.io
-
-
-## Setup
-
-### Authentication
-
-Authentication is typically done through [Application Default Credentials][adc]
-which means you do not have to change the code to authenticate as long as
-your environment has credentials. You have a few options for setting up
-authentication:
-
-1. When running locally, use the [Google Cloud SDK][google-cloud-sdk]
-
- gcloud auth application-default login
-
-1. When running on App Engine or Compute Engine, credentials are already
- set-up. However, you may need to configure your Compute Engine instance
- with [additional scopes][additional_scopes].
-
-1. You can create a [Service Account key file][service_account_key_file]. This file can be used to
- authenticate to Google Cloud Platform services from any environment. To use
- the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
- the path to the key file, for example:
-
- export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
-
-[adc]: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
-[additional_scopes]: https://cloud.google.com/compute/docs/authentication#using
-[service_account_key_file]: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
-
-## Install Dependencies
-
-1. [Enable the Cloud Natural Language API](https://console.cloud.google.com/flows/enableapi?apiid=language.googleapis.com).
-
-1. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-
-1. Create a service account at the
-[Service account section in the Cloud Console](https://console.cloud.google.com/iam-admin/serviceaccounts/)
-
-1. Download the json key file of the service account.
-
-1. Set `GOOGLE_APPLICATION_CREDENTIALS` environment variable pointing to that file.
-
-## Samples
-
-To run the Natural Language Samples:
-
- $ php language.php
- Cloud Natural Language
-
- Usage:
- command [options] [arguments]
-
- Options:
- -h, --help Display this help message
- -q, --quiet Do not output any message
- -V, --version Display this application version
- --ansi Force ANSI output
- --no-ansi Disable ANSI output
- -n, --no-interaction Do not ask any interactive question
- -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
-
- Available commands:
- all Analyze syntax, sentiment and entities in text.
- entities Analyze entities in text.
- help Displays help for a command
- list Lists commands
- sentiment Analyze sentiment in text.
- syntax Analyze syntax in text.
-
-### Run Analyze Entities
-
-To run the Analyze Entities sample:
-
- $ php language.php entities 'I know the way to San Jose. Do You?'
- entities:
- -
- name: way
- type: OTHER
- metadata: { }
- salience: 0.6970506
- mentions:
- -
- text:
- content: way
- beginOffset: 11
- type: COMMON
- -
- name: 'San Jose'
- type: LOCATION
- metadata:
- mid: /m/0f04v
- wikipedia_url: 'http://en.wikipedia.org/wiki/San_Jose,_California'
- salience: 0.30294943
- mentions:
- -
- text:
- content: 'San Jose'
- beginOffset: 18
- type: PROPER
- language: en
-
-### Run Analyze Sentiment
-
-To run the Analyze Sentiment sample:
-
- $ php language.php sentiment 'I know the way to San Jose. Do you?'
- documentSentiment:
- magnitude: 0.3
- score: 0.3
- language: en
- sentences:
- -
- text:
- content: 'I know the way to San Jose'
- beginOffset: 0
- sentiment:
- magnitude: 0.3
- score: 0.3
- -
- text:
- content: 'Do you?'
- beginOffset: 28
- sentiment:
- magnitude: 0.1
- score: -0.1
-
-### Run Analyze Syntax
-
-To run the Analyze Syntax sample:
-
- $ php language.php syntax 'I know the way to San Jose. Do you?'
- sentences:
- -
- text:
- content: 'I know the way to San Jose.'
- beginOffset: 0
- -
- text:
- content: 'Do you?'
- beginOffset: 28
- tokens:
- -
- text:
- content: I
- beginOffset: 0
- partOfSpeech:
- tag: PRON
- aspect: ASPECT_UNKNOWN
- case: NOMINATIVE
- form: FORM_UNKNOWN
- gender: GENDER_UNKNOWN
- mood: MOOD_UNKNOWN
- number: SINGULAR
- person: FIRST
- proper: PROPER_UNKNOWN
- reciprocity: RECIPROCITY_UNKNOWN
- tense: TENSE_UNKNOWN
- voice: VOICE_UNKNOWN
- dependencyEdge:
- headTokenIndex: 1
- label: NSUBJ
- lemma: I
- score: 0.3
- ...
- language: en
- entities: { }
-
-## The client library
-
-This sample uses the [Google Cloud Client Library for PHP][google-cloud-php].
-You can read the documentation for more details on API usage and use GitHub
-to [browse the source][google-cloud-php-source] and [report issues][google-cloud-php-issues].
-
-## Troubleshooting
-
-If you get the following error, set the environment variable `GCLOUD_PROJECT` to your project ID:
-
-```
-[Google\Cloud\Core\Exception\GoogleException]
-No project ID was provided, and we were unable to detect a default project ID.
-```
-
-If you have not set a timezone you may get an error from php. This can be resolved by:
-
- 1. Finding where the php.ini is stored by running php -i | grep 'Configuration File'
- 1. Finding out your timezone from the list on this page: http://php.net/manual/en/timezones.php
- 1. Editing the php.ini file (or creating one if it doesn't exist)
- 1. Adding the timezone to the php.ini file e.g., adding the following line: date.timezone = "America/Los_Angeles"
-
-[google-cloud-php]: https://googlecloudplatform.github.io/google-cloud-php
-[google-cloud-php-source]: https://github.com/GoogleCloudPlatform/google-cloud-php
-[google-cloud-php-issues]: https://github.com/GoogleCloudPlatform/google-cloud-php/issues
-[google-cloud-sdk]: https://cloud.google.com/sdk/
diff --git a/language/api/composer.json b/language/api/composer.json
deleted file mode 100644
index 649ab0c767..0000000000
--- a/language/api/composer.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "require": {
- "google/cloud-language": "^0.4",
- "symfony/console": "^3.0",
- "google/cloud-storage": "^1.0",
- "google/gax": "^0.21.2",
- "google/proto-client": "^0.22.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Samples\\Language\\": "src/"
- },
- "files": [
- "src/analyze_all.php",
- "src/analyze_all_from_file.php",
- "src/analyze_entities.php",
- "src/analyze_entities_from_file.php",
- "src/analyze_sentiment.php",
- "src/analyze_sentiment_from_file.php",
- "src/analyze_syntax.php",
- "src/analyze_syntax_from_file.php",
- "src/analyze_entity_sentiment.php",
- "src/analyze_entity_sentiment_from_file.php"
- ]
- }
-}
diff --git a/language/api/composer.lock b/language/api/composer.lock
deleted file mode 100644
index 9b7fa340f3..0000000000
--- a/language/api/composer.lock
+++ /dev/null
@@ -1,2159 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "a2007804cb057547667f37a092dcbe3b",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v5.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/9984a4d3a32ae7673d6971ea00bae9d0a1abba0e",
- "reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": " 4.8.35"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2017-06-27T22:17:23+00:00"
- },
- {
- "name": "google/auth",
- "version": "v1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "db8e3022a308cb0e988026d38e67b91a42b41622"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/db8e3022a308cb0e988026d38e67b91a42b41622",
- "reference": "db8e3022a308cb0e988026d38e67b91a42b41622",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0",
- "guzzlehttp/guzzle": "~5.3.1|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2017-07-31T16:34:40+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "b8250068469ebd067872c8d774fbc6ad7e74e5c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/b8250068469ebd067872c8d774fbc6ad7e74e5c5",
- "reference": "b8250068469ebd067872c8d774fbc6ad7e74e5c5",
- "shasum": ""
- },
- "require": {
- "google/auth": "~0.9|^1.0",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "bin": [
- "bin/google-cloud-batch"
- ],
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-08-02T20:02:30+00:00"
- },
- {
- "name": "google/cloud-language",
- "version": "v0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-language.git",
- "reference": "161d47a8a65687900273e04e4649cb1018ef9454"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-language/zipball/161d47a8a65687900273e04e4649cb1018ef9454",
- "reference": "161d47a8a65687900273e04e4649cb1018ef9454",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/cloud-storage": "Analyze documents stored in Google Cloud Storage",
- "google/gax": "Required to support gRPC",
- "google/proto-client": "Required to support gRPC"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-language",
- "target": "GoogleCloudPlatform/google-cloud-php-language.git",
- "path": "src/Language",
- "entry": "LanguageClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Language\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Natural Language Client for PHP",
- "time": "2017-06-30T22:46:26+00:00"
- },
- {
- "name": "google/cloud-storage",
- "version": "v1.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-storage.git",
- "reference": "b1adf92a54c6c72a19809ae0ab767f317035eb19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-storage/zipball/b1adf92a54c6c72a19809ae0ab767f317035eb19",
- "reference": "b1adf92a54c6c72a19809ae0ab767f317035eb19",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "phpseclib/phpseclib": "May be used in place of OpenSSL for creating signed Cloud Storage URLs. Please require version ^2."
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-storage",
- "target": "GoogleCloudPlatform/google-cloud-php-storage.git",
- "path": "src/Storage",
- "entry": "StorageClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Storage\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Storage Client for PHP",
- "time": "2017-07-12T18:33:11+00:00"
- },
- {
- "name": "google/gax",
- "version": "0.21.2",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/gax-php.git",
- "reference": "74e33a8c8532d27e80018d48b133d1caacf151fc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/gax-php/zipball/74e33a8c8532d27e80018d48b133d1caacf151fc",
- "reference": "74e33a8c8532d27e80018d48b133d1caacf151fc",
- "shasum": ""
- },
- "require": {
- "google/auth": "~0.9|^1.0",
- "google/protobuf": "^3.3.2",
- "grpc/grpc": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "4.8.*",
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\GAX\\": "src/",
- "Google\\GAX\\UnitTests\\": "tests/",
- "Google\\": "src/generated/Google/",
- "GPBMetadata\\": "src/generated/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Google API Extensions for PHP",
- "homepage": "https://github.com/googleapis/gax-php",
- "keywords": [
- "google"
- ],
- "time": "2017-07-17T20:12:04+00:00"
- },
- {
- "name": "google/proto-client",
- "version": "0.22.0",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/proto-client-php.git",
- "reference": "a0b9515c8321c03a8e43293c41f76e1a7418570a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/proto-client-php/zipball/a0b9515c8321c03a8e43293c41f76e1a7418570a",
- "reference": "a0b9515c8321c03a8e43293c41f76e1a7418570a",
- "shasum": ""
- },
- "require": {
- "google/protobuf": "^3.3.2",
- "php": ">=5.5"
- },
- "require-dev": {
- "google/gax": ">=0.20.0",
- "phpunit/phpunit": "4.8.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\": "src/Google/",
- "GPBMetadata\\": "src/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Generated proto and gRPC classes for Google Cloud Platform in PHP",
- "homepage": "https://github.com/googleapis/proto-client-php",
- "keywords": [
- "google"
- ],
- "time": "2017-07-28T16:22:59+00:00"
- },
- {
- "name": "google/protobuf",
- "version": "v3.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/google/protobuf.git",
- "reference": "80a37e0782d2d702d52234b62dd4b9ec74fd2c95"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/protobuf/zipball/80a37e0782d2d702d52234b62dd4b9ec74fd2c95",
- "reference": "80a37e0782d2d702d52234b62dd4b9ec74fd2c95",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": ">=4.8.0"
- },
- "suggest": {
- "ext-bcmath": "Need to support JSON deserialization"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Protobuf\\": "php/src/Google/Protobuf",
- "GPBMetadata\\Google\\Protobuf\\": "php/src/GPBMetadata/Google/Protobuf"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "proto library for PHP",
- "homepage": "https://developers.google.com/protocol-buffers/",
- "keywords": [
- "proto"
- ],
- "time": "2017-08-15T23:39:12+00:00"
- },
- {
- "name": "grpc/grpc",
- "version": "v1.4.6",
- "source": {
- "type": "git",
- "url": "https://github.com/grpc/grpc.git",
- "reference": "d006cbc2edcc9d5d33ed229162adb6cfcaf327e6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grpc/grpc/zipball/d006cbc2edcc9d5d33ed229162adb6cfcaf327e6",
- "reference": "d006cbc2edcc9d5d33ed229162adb6cfcaf327e6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "google/auth": "v0.9"
- },
- "suggest": {
- "ext-protobuf": "For better performance, install the protobuf C extension.",
- "google/protobuf": "To get started using grpc quickly, install the native protobuf library."
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Grpc\\": "src/php/lib/Grpc/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "gRPC library for PHP",
- "homepage": "http://grpc.io/",
- "keywords": [
- "rpc"
- ],
- "time": "2017-08-17T01:17:06+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0 || ^5.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-06-22T18:50:49+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.23.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "^5.3|^6.0"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-06-19T01:22:40+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "9e5fdd5c47147aa5adf7f760002ee591ed37b9ca"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/9e5fdd5c47147aa5adf7f760002ee591ed37b9ca",
- "reference": "9e5fdd5c47147aa5adf7f760002ee591ed37b9ca",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-06-14T03:57:53+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "b0878233cb5c4391347e5495089c7af11b8e6201"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/b0878233cb5c4391347e5495089c7af11b8e6201",
- "reference": "b0878233cb5c4391347e5495089c7af11b8e6201",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-29T21:27:59+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/7c13ae8ce1e2adbbd574fc39de7be498e1284e13",
- "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-28T15:27:31+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7c8fae0ac1d216eb54349e6a8baa57d515fe8803",
- "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.5-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-14T15:44:48+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "4aada1f93c72c35e22fb1383b47fee43b8f1d157"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/4aada1f93c72c35e22fb1383b47fee43b8f1d157",
- "reference": "4aada1f93c72c35e22fb1383b47fee43b8f1d157",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.3.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-08-08T06:39:58+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "fb3933512008d8162b3cdf9e18dba9309b7c3773"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/fb3933512008d8162b3cdf9e18dba9309b7c3773",
- "reference": "fb3933512008d8162b3cdf9e18dba9309b7c3773",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-06-03T08:32:36+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/ddc23324e6cfe066f3dd34a37ff494fa80b617ed",
- "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-23T12:43:26+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/language/api/language.php b/language/api/language.php
deleted file mode 100644
index da1e88e150..0000000000
--- a/language/api/language.php
+++ /dev/null
@@ -1,274 +0,0 @@
-add((new Command('all'))
- ->setDefinition($inputDefinition)
- ->setDescription('Analyze syntax, sentiment and entities in text.')
- ->setHelp(<<%command.name% command analyzes text using the Google Cloud Natural Language API.
-
- php %command.full_name% Text to analyze.
-
- php %command.full_name% gs://my_bucket/file_with_text.txt
-
-Example:
- php %command.full_name% "Barack Obama lives in Washington D.C."
-Name: Barack Obama
-Type: PERSON
-Salience: 0.676553
-Wikipedia URL: https://en.wikipedia.org/wiki/Barack_Obama
-Knowledge Graph MID: /m/02mjmr
-Mentions:
- Begin Offset: 0
- Content: Barack Obama
- Mention Type: PROPER
-
-
-Name: Washington D.C.
-Type: LOCATION
-Salience: 0.323447
-Wikipedia URL: https://en.wikipedia.org/wiki/Washington,_D.C.
-Knowledge Graph MID: /m/0rh6k
-Mentions:
- Begin Offset: 22
- Content: Washington D.C.
- Mention Type: PROPER
-...
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $content = implode(' ', (array) $input->getArgument('content'));
- // Regex to match a Cloud Storage path as the first argument
- // e.g "gs://my-bucket/file_with_text.txt"
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $content, $matches)) {
- analyze_all_from_file($matches[1], $matches[2], $projectId);
- } else {
- analyze_all($content, $projectId);
- }
- })
-);
-
-// Analyze Entities command
-$application->add((new Command('entities'))
- ->setDefinition($inputDefinition)
- ->setDescription('Analyze entities in text.')
- ->setHelp(<<%command.name% command analyzes text using the Google Cloud Natural Language API.
-
- php %command.full_name% Text to analyze.
-
- php %command.full_name% gs://my_bucket/file_with_text.txt
-
-Example:
- php %command.full_name% "Barack Obama lives in Washington D.C."
-Name: Barack Obama
-Type: PERSON
-Salience: 0.676553
-Wikipedia URL: https://en.wikipedia.org/wiki/Barack_Obama
-Knowledge Graph MID: /m/02mjmr
-Mentions:
- Begin Offset: 0
- Content: Barack Obama
- Mention Type: PROPER
-
-
-Name: Washington D.C.
-Type: LOCATION
-Salience: 0.323447
-Wikipedia URL: https://en.wikipedia.org/wiki/Washington,_D.C.
-Knowledge Graph MID: /m/0rh6k
-Mentions:
- Begin Offset: 22
- Content: Washington D.C.
- Mention Type: PROPER
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $content = implode(' ', (array) $input->getArgument('content'));
- // Regex to match a Cloud Storage path as the first argument
- // e.g "gs://my-bucket/file_with_text.txt"
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $content, $matches)) {
- analyze_entities_from_file($matches[1], $matches[2], $projectId);
- } else {
- analyze_entities($content, $projectId);
- }
- })
-);
-
-// Analyze Sentiment command
-$application->add((new Command('sentiment'))
- ->setDefinition($inputDefinition)
- ->setDescription('Analyze sentiment in text.')
- ->setHelp(<<%command.name% command analyzes text using the Google Cloud Natural Language API.
-
- php %command.full_name% Text to analyze.
-
- php %command.full_name% gs://my_bucket/file_with_text.txt
-
-Example:
- php %command.full_name% "I like burgers. I dislike fish."
-Document Sentiment:
- Magnitude: 1.3
- Score: 0
-
-Sentence: I like burgers.
-Sentence Sentiment:
- Magnitude: 0.6
- Score: 0.6
-
-Sentence: I dislike fish.
-Sentence Sentiment:
- Magnitude: 0.6
- Score: -0.6
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $content = implode(' ', (array) $input->getArgument('content'));
- // Regex to match a Cloud Storage path as the first argument
- // e.g "gs://my-bucket/file_with_text.txt"
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $content, $matches)) {
- analyze_sentiment_from_file($matches[1], $matches[2], $projectId);
- } else {
- analyze_sentiment($content, $projectId);
- }
- })
-);
-
-// Analyze Syntax command
-$application->add((new Command('syntax'))
- ->setDefinition($inputDefinition)
- ->setDescription('Analyze syntax in text.')
- ->setHelp(<<%command.name% command analyzes text using the Google Cloud Natural Language API.
-
- php %command.full_name% Text to analyze.
-
- php %command.full_name% gs://my_bucket/file_with_text.txt
-
-Example:
- php %command.full_name% "Barack Obama lives in Washington D.C."
-Token text: Barack
-Token part of speech: NOUN
-
-Token text: Obama
-Token part of speech: NOUN
-
-Token text: lives
-Token part of speech: VERB
-
-Token text: in
-Token part of speech: ADP
-
-Token text: Washington
-Token part of speech: NOUN
-
-Token text: D.C.
-Token part of speech: NOUN
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $content = implode(' ', (array) $input->getArgument('content'));
- // Regex to match a Cloud Storage path as the first argument
- // e.g "gs://my-bucket/file_with_text.txt"
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $content, $matches)) {
- analyze_syntax_from_file($matches[1], $matches[2], $projectId);
- } else {
- analyze_syntax($content, $projectId);
- }
- })
-);
-
-// Analyze Entity Sentiment command
-$application->add((new Command('entity-sentiment'))
- ->setDefinition($inputDefinition)
- ->setDescription('Analyze entity sentiment in text.')
- ->setHelp(<<%command.name% command analyzes text using the Google Cloud Natural Language API.
-
- php %command.full_name% Text to analyze.
-
- php %command.full_name% gs://my_bucket/file_with_text.txt
-
-Example:
- php %command.full_name% "New York is great. New York is good."
-Entity Name: New York
-Entity Type: LOCATION
-Entity Salience: 1
-Entity Magnitude: 1.7999999523163
-Entity Score: 0
-
-Mentions:
- Begin Offset: 0
- Content: New York
- Mention Type: PROPER
- Mention Magnitude: 0.89999997615814
- Mention Score: 0.89999997615814
-
- Begin Offset: 17
- Content: New York
- Mention Type: PROPER
- Mention Magnitude: 0.80000001192093
- Mention Score: -0.80000001192093
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $content = implode(' ', (array) $input->getArgument('content'));
- // Regex to match a Cloud Storage path as the first argument
- // e.g "gs://my-bucket/file_with_text.txt"
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $content, $matches)) {
- analyze_entity_sentiment_from_file($content, $projectId);
- } else {
- analyze_entity_sentiment($content, $projectId);
- }
- })
-);
-
-// for testing
-if (getenv('PHPUNIT_TESTS') === '1') {
- return $application;
-}
-
-$application->run();
diff --git a/language/api/phpunit.xml.dist b/language/api/phpunit.xml.dist
deleted file mode 100644
index 97f918c255..0000000000
--- a/language/api/phpunit.xml.dist
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
-
-
-
diff --git a/language/api/src/analyze_all.php b/language/api/src/analyze_all.php
deleted file mode 100644
index 37f2c0f352..0000000000
--- a/language/api/src/analyze_all.php
+++ /dev/null
@@ -1,96 +0,0 @@
- $projectId,
- ]);
-
- // Call the annotateText function
- $annotation = $language->annotateText($text, [
- 'features' => ['entities', 'syntax', 'sentiment']
- ]);
-
- // Print out information about each entity
- $entities = $annotation->entities();
- foreach ($entities as $entity) {
- printf('Name: %s' . PHP_EOL, $entity['name']);
- printf('Type: %s' . PHP_EOL, $entity['type']);
- printf('Salience: %s' . PHP_EOL, $entity['salience']);
- if (array_key_exists('wikipedia_url', $entity['metadata'])) {
- printf('Wikipedia URL: %s' . PHP_EOL, $entity['metadata']['wikipedia_url']);
- }
- if (array_key_exists('mid', $entity['metadata'])) {
- printf('Knowledge Graph MID: %s' . PHP_EOL, $entity['metadata']['mid']);
- }
- printf('Mentions:' . PHP_EOL);
- foreach ($entity['mentions'] as $mention) {
- printf(' Begin Offset: %s' . PHP_EOL, $mention['text']['beginOffset']);
- printf(' Content: %s' . PHP_EOL, $mention['text']['content']);
- printf(' Mention Type: %s' . PHP_EOL, $mention['type']);
- printf(PHP_EOL);
- }
- printf(PHP_EOL);
- }
-
- // Print document and sentence sentiment information
- $sentiment = $annotation->sentiment();
- printf('Document Sentiment:' . PHP_EOL);
- printf(' Magnitude: %s' . PHP_EOL, $sentiment['magnitude']);
- printf(' Score: %s' . PHP_EOL, $sentiment['score']);
- printf(PHP_EOL);
- foreach ($annotation->sentences() as $sentence) {
- printf('Sentence: %s' . PHP_EOL, $sentence['text']['content']);
- printf('Sentence Sentiment:' . PHP_EOL);
- printf(' Magnitude: %s' . PHP_EOL, $sentence['sentiment']['magnitude']);
- printf(' Score: %s' . PHP_EOL, $sentence['sentiment']['score']);
- printf(PHP_EOL);
- }
-
- // Print syntax information. See https://cloud.google.com/natural-language/docs/reference/rest/v1/Token
- // to learn about more information you can extract from Token objects.
- $tokens = $annotation->tokens();
- foreach ($tokens as $token) {
- printf('Token text: %s' . PHP_EOL, $token['text']['content']);
- printf('Token part of speech: %s' . PHP_EOL, $token['partOfSpeech']['tag']);
- printf(PHP_EOL);
- }
-}
-# [END analyze_all]
diff --git a/language/api/src/analyze_all_from_file.php b/language/api/src/analyze_all_from_file.php
deleted file mode 100644
index f18d37d4af..0000000000
--- a/language/api/src/analyze_all_from_file.php
+++ /dev/null
@@ -1,103 +0,0 @@
-bucket($bucketName);
- $storageObject = $bucket->object($objectName);
-
- // Create the Natural Language client
- $language = new LanguageClient([
- 'projectId' => $projectId,
- ]);
-
- // Call the annotateText function
- $annotation = $language->annotateText($storageObject, [
- 'features' => ['entities', 'syntax', 'sentiment']
- ]);
-
- // Print out information about each entity
- $entities = $annotation->entities();
- foreach ($entities as $entity) {
- printf('Name: %s' . PHP_EOL, $entity['name']);
- printf('Type: %s' . PHP_EOL, $entity['type']);
- printf('Salience: %s' . PHP_EOL, $entity['salience']);
- if (array_key_exists('wikipedia_url', $entity['metadata'])) {
- printf('Wikipedia URL: %s' . PHP_EOL, $entity['metadata']['wikipedia_url']);
- }
- if (array_key_exists('mid', $entity['metadata'])) {
- printf('Knowledge Graph MID: %s' . PHP_EOL, $entity['metadata']['mid']);
- }
- printf('Mentions:' . PHP_EOL);
- foreach ($entity['mentions'] as $mention) {
- printf(' Begin Offset: %s' . PHP_EOL, $mention['text']['beginOffset']);
- printf(' Content: %s' . PHP_EOL, $mention['text']['content']);
- printf(' Mention Type: %s' . PHP_EOL, $mention['type']);
- printf(PHP_EOL);
- }
- printf(PHP_EOL);
- }
-
- // Print document and sentence sentiment information
- $sentiment = $annotation->sentiment();
- printf('Document Sentiment:' . PHP_EOL);
- printf(' Magnitude: %s' . PHP_EOL, $sentiment['magnitude']);
- printf(' Score: %s' . PHP_EOL, $sentiment['score']);
- printf(PHP_EOL);
- foreach ($annotation->sentences() as $sentence) {
- printf('Sentence: %s' . PHP_EOL, $sentence['text']['content']);
- printf('Sentence Sentiment:' . PHP_EOL);
- printf(' Magnitude: %s' . PHP_EOL, $sentence['sentiment']['magnitude']);
- printf(' Score: %s' . PHP_EOL, $sentence['sentiment']['score']);
- printf(PHP_EOL);
- }
-
- // Print syntax information. See https://cloud.google.com/natural-language/docs/reference/rest/v1/Token
- // to learn about more information you can extract from Token objects.
- $tokens = $annotation->tokens();
- foreach ($tokens as $token) {
- printf('Token text: %s' . PHP_EOL, $token['text']['content']);
- printf('Token part of speech: %s' . PHP_EOL, $token['partOfSpeech']['tag']);
- printf(PHP_EOL);
- }
-}
-# [END analyze_all_from_file]
diff --git a/language/api/src/analyze_entities.php b/language/api/src/analyze_entities.php
deleted file mode 100644
index 4d25ba5e1e..0000000000
--- a/language/api/src/analyze_entities.php
+++ /dev/null
@@ -1,64 +0,0 @@
- $projectId,
- ]);
-
- // Call the analyzeEntities function
- $annotation = $language->analyzeEntities($text);
-
- // Print out information about each entity
- $entities = $annotation->entities();
- foreach ($entities as $entity) {
- printf('Name: %s' . PHP_EOL, $entity['name']);
- printf('Type: %s' . PHP_EOL, $entity['type']);
- printf('Salience: %s' . PHP_EOL, $entity['salience']);
- if (array_key_exists('wikipedia_url', $entity['metadata'])) {
- printf('Wikipedia URL: %s' . PHP_EOL, $entity['metadata']['wikipedia_url']);
- }
- if (array_key_exists('mid', $entity['metadata'])) {
- printf('Knowledge Graph MID: %s' . PHP_EOL, $entity['metadata']['mid']);
- }
- printf(PHP_EOL);
- }
-}
-# [END analyze_entities]
diff --git a/language/api/src/analyze_entities_from_file.php b/language/api/src/analyze_entities_from_file.php
deleted file mode 100644
index 26334fee7e..0000000000
--- a/language/api/src/analyze_entities_from_file.php
+++ /dev/null
@@ -1,71 +0,0 @@
-bucket($bucketName);
- $storageObject = $bucket->object($objectName);
-
- // Create the Natural Language client
- $language = new LanguageClient([
- 'projectId' => $projectId,
- ]);
-
- // Call the analyzeEntities function
- $annotation = $language->analyzeEntities($storageObject);
-
- // Print out information about each entity
- $entities = $annotation->entities();
- foreach ($entities as $entity) {
- printf('Name: %s' . PHP_EOL, $entity['name']);
- printf('Type: %s' . PHP_EOL, $entity['type']);
- printf('Salience: %s' . PHP_EOL, $entity['salience']);
- if (array_key_exists('wikipedia_url', $entity['metadata'])) {
- printf('Wikipedia URL: %s' . PHP_EOL, $entity['metadata']['wikipedia_url']);
- }
- if (array_key_exists('mid', $entity['metadata'])) {
- printf('Knowledge Graph MID: %s' . PHP_EOL, $entity['metadata']['mid']);
- }
- printf(PHP_EOL);
- }
-}
-# [END analyze_entities_from_file]
diff --git a/language/api/src/analyze_entity_sentiment.php b/language/api/src/analyze_entity_sentiment.php
deleted file mode 100644
index b88c60d287..0000000000
--- a/language/api/src/analyze_entity_sentiment.php
+++ /dev/null
@@ -1,71 +0,0 @@
- $projectId,
- ]);
- $document = new Document();
- $document->setType(Document_Type::PLAIN_TEXT);
- $document->setContent($text);
- $encodingType = EncodingType::UTF16;
-
- // Call the analyzeEntitySentiment function
- $response = $language->analyzeEntitySentiment($document, $encodingType);
- $entities = $response->getEntities();
-
- $entity_types = array('UNKNOWN', 'PERSON', 'LOCATION', 'ORGANIZATION', 'EVENT',
- 'WORK_OF_ART', 'CONSUMER_GOOD', 'OTHER');
-
- // Print out information about each entity
- foreach ($entities as $entity) {
- printf('Entity Name: %s' . PHP_EOL, $entity->getName());
- printf('Entity Type: %s' . PHP_EOL, $entity_types[$entity->getType()]);
- printf('Entity Salience: %s' . PHP_EOL, $entity->getSalience());
- printf('Entity Magnitude: %s' . PHP_EOL, $entity->getSentiment()->getMagnitude());
- printf('Entity Score: %s' . PHP_EOL, $entity->getSentiment()->getScore());
- printf(PHP_EOL);
- }
-}
-# [END analyze_entity_sentiment]
diff --git a/language/api/src/analyze_entity_sentiment_from_file.php b/language/api/src/analyze_entity_sentiment_from_file.php
deleted file mode 100644
index 93156be1bc..0000000000
--- a/language/api/src/analyze_entity_sentiment_from_file.php
+++ /dev/null
@@ -1,71 +0,0 @@
- $projectId,
- ]);
- $document = new Document();
- $document->setType(Document_Type::PLAIN_TEXT);
- $document->setGcsContentUri($cloud_storage_uri);
- $encodingType = EncodingType::UTF16;
-
- // Call the analyzeEntitySentiment function
- $response = $language->analyzeEntitySentiment($document, $encodingType);
- $entities = $response->getEntities();
-
- $entity_types = array('UNKNOWN', 'PERSON', 'LOCATION', 'ORGANIZATION', 'EVENT',
- 'WORK_OF_ART', 'CONSUMER_GOOD', 'OTHER');
-
- // Print out information about each entity
- foreach ($entities as $entity) {
- printf('Entity Name: %s' . PHP_EOL, $entity->getName());
- printf('Entity Type: %s' . PHP_EOL, $entity_types[$entity->getType()]);
- printf('Entity Salience: %s' . PHP_EOL, $entity->getSalience());
- printf('Entity Magnitude: %s' . PHP_EOL, $entity->getSentiment()->getMagnitude());
- printf('Entity Score: %s' . PHP_EOL, $entity->getSentiment()->getScore());
- printf(PHP_EOL);
- }
-}
-# [END analyze_entity_sentiment_from_file]
diff --git a/language/api/src/analyze_sentiment.php b/language/api/src/analyze_sentiment.php
deleted file mode 100644
index 457392ee87..0000000000
--- a/language/api/src/analyze_sentiment.php
+++ /dev/null
@@ -1,63 +0,0 @@
- $projectId,
- ]);
-
- // Call the analyzeSentiment function
- $annotation = $language->analyzeSentiment($text);
-
- // Print document and sentence sentiment information
- $sentiment = $annotation->sentiment();
- printf('Document Sentiment:' . PHP_EOL);
- printf(' Magnitude: %s' . PHP_EOL, $sentiment['magnitude']);
- printf(' Score: %s' . PHP_EOL, $sentiment['score']);
- printf(PHP_EOL);
- foreach ($annotation->sentences() as $sentence) {
- printf('Sentence: %s' . PHP_EOL, $sentence['text']['content']);
- printf('Sentence Sentiment:' . PHP_EOL);
- printf(' Magnitude: %s' . PHP_EOL, $sentence['sentiment']['magnitude']);
- printf(' Score: %s' . PHP_EOL, $sentence['sentiment']['score']);
- printf(PHP_EOL);
- }
-}
-# [END analyze_sentiment]
diff --git a/language/api/src/analyze_sentiment_from_file.php b/language/api/src/analyze_sentiment_from_file.php
deleted file mode 100644
index e53c72b57d..0000000000
--- a/language/api/src/analyze_sentiment_from_file.php
+++ /dev/null
@@ -1,70 +0,0 @@
-bucket($bucketName);
- $storageObject = $bucket->object($objectName);
-
- // Create the Natural Language client
- $language = new LanguageClient([
- 'projectId' => $projectId,
- ]);
-
- // Call the analyzeSentiment function
- $annotation = $language->analyzeSentiment($storageObject);
-
- // Print document and sentence sentiment information
- $sentiment = $annotation->sentiment();
- printf('Document Sentiment:' . PHP_EOL);
- printf(' Magnitude: %s' . PHP_EOL, $sentiment['magnitude']);
- printf(' Score: %s' . PHP_EOL, $sentiment['score']);
- printf(PHP_EOL);
- foreach ($annotation->sentences() as $sentence) {
- printf('Sentence: %s' . PHP_EOL, $sentence['text']['content']);
- printf('Sentence Sentiment:' . PHP_EOL);
- printf(' Magnitude: %s' . PHP_EOL, $sentence['sentiment']['magnitude']);
- printf(' Score: %s' . PHP_EOL, $sentence['sentiment']['score']);
- printf(PHP_EOL);
- }
-}
-# [END analyze_sentiment_from_file]
diff --git a/language/api/src/analyze_syntax.php b/language/api/src/analyze_syntax.php
deleted file mode 100644
index 5162e1c967..0000000000
--- a/language/api/src/analyze_syntax.php
+++ /dev/null
@@ -1,58 +0,0 @@
- $projectId,
- ]);
-
- // Call the analyzeSyntax function
- $annotation = $language->analyzeSyntax($text);
-
- // Print syntax information. See https://cloud.google.com/natural-language/docs/reference/rest/v1/Token
- // to learn about more information you can extract from Token objects.
- $tokens = $annotation->tokens();
- foreach ($tokens as $token) {
- printf('Token text: %s' . PHP_EOL, $token['text']['content']);
- printf('Token part of speech: %s' . PHP_EOL, $token['partOfSpeech']['tag']);
- printf(PHP_EOL);
- }
-}
-# [END analyze_syntax]
diff --git a/language/api/src/analyze_syntax_from_file.php b/language/api/src/analyze_syntax_from_file.php
deleted file mode 100644
index 0c315f052f..0000000000
--- a/language/api/src/analyze_syntax_from_file.php
+++ /dev/null
@@ -1,65 +0,0 @@
-bucket($bucketName);
- $storageObject = $bucket->object($objectName);
-
- // Create the Natural Language client
- $language = new LanguageClient([
- 'projectId' => $projectId,
- ]);
-
- // Call the analyzeSyntax function
- $annotation = $language->analyzeSyntax($storageObject);
-
- // Print syntax information. See https://cloud.google.com/natural-language/docs/reference/rest/v1/Token
- // to learn about more information you can extract from Token objects.
- $tokens = $annotation->tokens();
- foreach ($tokens as $token) {
- printf('Token text: %s' . PHP_EOL, $token['text']['content']);
- printf('Token part of speech: %s' . PHP_EOL, $token['partOfSpeech']['tag']);
- printf(PHP_EOL);
- }
-}
-# [END analyze_syntax_from_file]
diff --git a/language/api/test/languageTest.php b/language/api/test/languageTest.php
deleted file mode 100644
index d66ed510f8..0000000000
--- a/language/api/test/languageTest.php
+++ /dev/null
@@ -1,243 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- }
-
- public function testAll()
- {
- $output = $this->runCommand('all', 'Barack Obama lives in Washington D.C.');
- $this->assertContains('Name: Barack Obama', $output);
- $this->assertContains('Type: PERSON', $output);
- $this->assertContains('Salience:', $output);
- $this->assertContains('Wikipedia URL: https://en.wikipedia.org/wiki/Barack_Obama', $output);
- $this->assertContains('Knowledge Graph MID:', $output);
- $this->assertContains('Name: Washington D.C.', $output);
- $this->assertContains('Wikipedia URL: https://en.wikipedia.org/wiki/Washington,_D.C.', $output);
- $this->assertContains('Document Sentiment:', $output);
- $this->assertContains('Magnitude:', $output);
- $this->assertContains('Score:', $output);
- $this->assertContains('Sentence: Barack Obama lives in Washington D.C.', $output);
- $this->assertContains('Sentence Sentiment:', $output);
- $this->assertContains(' Magnitude:', $output);
- $this->assertContains(' Score:', $output);
- $this->assertContains('Token text: Barack', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: Obama', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: lives', $output);
- $this->assertContains('Token part of speech: VERB', $output);
- $this->assertContains('Token text: in', $output);
- $this->assertContains('Token part of speech: ADP', $output);
- $this->assertContains('Token text: Washington', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: D.C.', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- }
-
- public function testAllFromStorageObject()
- {
- if (!$gcsFile = getenv('GOOGLE_LANGUAGE_GCS_FILE')) {
- $this->markTestSkipped('No GCS file.');
- }
- $output = $this->runCommand('all', $gcsFile);
- $this->assertContains('Name: Barack Obama', $output);
- $this->assertContains('Type: PERSON', $output);
- $this->assertContains('Salience:', $output);
- $this->assertContains('Wikipedia URL: https://en.wikipedia.org/wiki/Barack_Obama', $output);
- $this->assertContains('Knowledge Graph MID:', $output);
- $this->assertContains('Name: Washington D.C.', $output);
- $this->assertContains('Wikipedia URL: https://en.wikipedia.org/wiki/Washington,_D.C.', $output);
- $this->assertContains('Document Sentiment:', $output);
- $this->assertContains('Magnitude:', $output);
- $this->assertContains('Score:', $output);
- $this->assertContains('Sentence: Barack Obama lives in Washington D.C.', $output);
- $this->assertContains('Sentence Sentiment:', $output);
- $this->assertContains(' Magnitude:', $output);
- $this->assertContains(' Score:', $output);
- $this->assertContains('Token text: Barack', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: Obama', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: lives', $output);
- $this->assertContains('Token part of speech: VERB', $output);
- $this->assertContains('Token text: in', $output);
- $this->assertContains('Token part of speech: ADP', $output);
- $this->assertContains('Token text: Washington', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: D.C.', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- }
-
- public function testEntities()
- {
- $output = $this->runCommand('entities', 'Barack Obama lives in Washington D.C.');
- $this->assertContains('Name: Barack Obama', $output);
- $this->assertContains('Type: PERSON', $output);
- $this->assertContains('Salience:', $output);
- $this->assertContains('Wikipedia URL: https://en.wikipedia.org/wiki/Barack_Obama', $output);
- $this->assertContains('Knowledge Graph MID:', $output);
- $this->assertContains('Name: Washington D.C.', $output);
- $this->assertContains('Wikipedia URL: https://en.wikipedia.org/wiki/Washington,_D.C.', $output);
- }
-
-
- public function testEntitiesFromStorageObject()
- {
- if (!$gcsFile = getenv('GOOGLE_LANGUAGE_GCS_FILE')) {
- $this->markTestSkipped('No GCS file.');
- }
- $output = $this->runCommand('entities', $gcsFile);
- $this->assertContains('Name: Barack Obama', $output);
- $this->assertContains('Type: PERSON', $output);
- $this->assertContains('Salience:', $output);
- $this->assertContains('Wikipedia URL: https://en.wikipedia.org/wiki/Barack_Obama', $output);
- $this->assertContains('Knowledge Graph MID:', $output);
- $this->assertContains('Name: Washington D.C.', $output);
- $this->assertContains('Wikipedia URL: https://en.wikipedia.org/wiki/Washington,_D.C.', $output);
- }
-
- public function testSentiment()
- {
- $output = $this->runCommand('sentiment', 'Barack Obama lives in Washington D.C.');
- $this->assertContains('Document Sentiment:', $output);
- $this->assertContains('Magnitude:', $output);
- $this->assertContains('Score:', $output);
- $this->assertContains('Sentence: Barack Obama lives in Washington D.C.', $output);
- $this->assertContains('Sentence Sentiment:', $output);
- $this->assertContains(' Magnitude:', $output);
- $this->assertContains(' Score:', $output);
- }
-
-
- public function testSentimentFromStorageObject()
- {
- if (!$gcsFile = getenv('GOOGLE_LANGUAGE_GCS_FILE')) {
- $this->markTestSkipped('No GCS file.');
- }
- $output = $this->runCommand('sentiment', $gcsFile);
- $this->assertContains('Document Sentiment:', $output);
- $this->assertContains('Magnitude:', $output);
- $this->assertContains('Score:', $output);
- $this->assertContains('Sentence: Barack Obama lives in Washington D.C.', $output);
- $this->assertContains('Sentence Sentiment:', $output);
- $this->assertContains(' Magnitude:', $output);
- $this->assertContains(' Score:', $output);
- }
-
- public function testSyntax()
- {
- $output = $this->runCommand('syntax', 'Barack Obama lives in Washington D.C.');
- $this->assertContains('Token text: Barack', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: Obama', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: lives', $output);
- $this->assertContains('Token part of speech: VERB', $output);
- $this->assertContains('Token text: in', $output);
- $this->assertContains('Token part of speech: ADP', $output);
- $this->assertContains('Token text: Washington', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: D.C.', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- }
-
- public function testSyntaxFromStorageObject()
- {
- if (!$gcsFile = getenv('GOOGLE_LANGUAGE_GCS_FILE')) {
- $this->markTestSkipped('No GCS file.');
- }
- $output = $this->runCommand('syntax', $gcsFile);
- $this->assertContains('Token text: Barack', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: Obama', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: lives', $output);
- $this->assertContains('Token part of speech: VERB', $output);
- $this->assertContains('Token text: in', $output);
- $this->assertContains('Token part of speech: ADP', $output);
- $this->assertContains('Token text: Washington', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- $this->assertContains('Token text: D.C.', $output);
- $this->assertContains('Token part of speech: NOUN', $output);
- }
-
- public function testEntitySentiment()
- {
- $output = $this->runCommand('entity-sentiment', 'Barack Obama lives in Washington D.C.');
- $this->assertContains('Entity Name: Barack Obama', $output);
- $this->assertContains('Entity Type: PERSON', $output);
- $this->assertContains('Entity Salience:', $output);
- $this->assertContains('Entity Magnitude:', $output);
- $this->assertContains('Entity Score:', $output);
- $this->assertContains('Entity Name: Washington D.C.', $output);
- $this->assertContains('Entity Type: LOCATION', $output);
- }
-
- public function testEntitySentimentFromStorageObject()
- {
- if (!$gcsFile = getenv('GOOGLE_LANGUAGE_GCS_FILE')) {
- $this->markTestSkipped('No GCS file.');
- }
- $output = $this->runCommand('entity-sentiment', $gcsFile);
- $this->assertContains('Entity Name: Barack Obama', $output);
- $this->assertContains('Entity Type: PERSON', $output);
- $this->assertContains('Entity Salience:', $output);
- $this->assertContains('Entity Magnitude:', $output);
- $this->assertContains('Entity Score:', $output);
- $this->assertContains('Entity Name: Washington D.C.', $output);
- $this->assertContains('Entity Type: LOCATION', $output);
- }
-
- private function runCommand($commandName, $content)
- {
- $application = require __DIR__ . '/../language.php';
- $command = $application->get($commandName);
- $commandTester = new CommandTester($command);
-
- ob_start();
- $commandTester->execute([
- 'content' => $content,
- ], [
- 'interactive' => false
- ]);
- return ob_get_clean();
- }
-}
diff --git a/language/quickstart/composer.json b/language/quickstart/composer.json
deleted file mode 100644
index 89ddb7e58a..0000000000
--- a/language/quickstart/composer.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "require": {
- "php": ">=5.4",
- "google/cloud-language": "^0.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/language/quickstart/composer.lock b/language/quickstart/composer.lock
deleted file mode 100644
index d2031e422d..0000000000
--- a/language/quickstart/composer.lock
+++ /dev/null
@@ -1,1761 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "bb8ac5185f7f1be83304e09bac78d1c9",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "google/cloud-language",
- "version": "v0.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-language.git",
- "reference": "fad04db6b01e72f81c85a06d3c59f39e098eeb2b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-language/zipball/fad04db6b01e72f81c85a06d3c59f39e098eeb2b",
- "reference": "fad04db6b01e72f81c85a06d3c59f39e098eeb2b",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/cloud-storage": "Analyze documents stored in Google Cloud Storage",
- "google/gax": "Required to support gRPC",
- "google/proto-client-php": "Required to support gRPC"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-language",
- "target": "GoogleCloudPlatform/google-cloud-php-language.git",
- "path": "src/Language",
- "entry": "LanguageClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Language\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Natural Language Client for PHP",
- "time": "2017-04-07T21:41:09+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T22:05:06+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/language/quickstart/phpunit.xml.dist b/language/quickstart/phpunit.xml.dist
deleted file mode 100644
index fb6ab29305..0000000000
--- a/language/quickstart/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- quickstart.php
-
-
-
diff --git a/language/quickstart/quickstart.php b/language/quickstart/quickstart.php
deleted file mode 100644
index bf2de1b1c4..0000000000
--- a/language/quickstart/quickstart.php
+++ /dev/null
@@ -1,43 +0,0 @@
- $projectId
-]);
-
-# The text to analyze
-$text = 'Hello, world!';
-
-# Detects the sentiment of the text
-$annotation = $language->analyzeSentiment($text);
-$sentiment = $annotation->sentiment();
-
-echo 'Text: ' . $text . '
-Sentiment: ' . $sentiment['score'] . ', ' . $sentiment['magnitude'];
-# [END language_quickstart]
-return $sentiment;
diff --git a/language/quickstart/test/quickstartTest.php b/language/quickstart/test/quickstartTest.php
deleted file mode 100644
index 27522bad96..0000000000
--- a/language/quickstart/test/quickstartTest.php
+++ /dev/null
@@ -1,59 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
-
- $file = sys_get_temp_dir() . '/language_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', '__DIR__'],
- [$projectId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
-
- ob_start();
- $sentiment = include $file;
- $output = ob_get_clean();
-
- // Make sure it looks correct
- $this->assertTrue(is_array($sentiment));
- $this->assertArrayHasKey('score', $sentiment);
- $this->assertArrayHasKey('magnitude', $sentiment);
- $this->assertInternalType('double', $sentiment['score']);
- $this->assertTrue(0.1 < $sentiment['score']);
- $this->assertTrue($sentiment['score'] < 1.0);
- $this->assertTrue(0.1 < $sentiment['magnitude']);
- $this->assertTrue($sentiment['magnitude'] < 1.0);
-
-
- $expectedPatterns = array(
- '/Text: Hello, world!/',
- '/Sentiment: \\d.\\d+, \\d.\\d+/',
- );
- foreach ($expectedPatterns as $pattern) {
- $this->assertRegExp($pattern, $output);
- }
- }
-}
diff --git a/monitoring/README.md b/monitoring/README.md
deleted file mode 100644
index 16d17f3d65..0000000000
--- a/monitoring/README.md
+++ /dev/null
@@ -1,99 +0,0 @@
-Stackdriver Monitoring PHP Samples
-==================================
-
-This directory contains samples for Stackdriver Monitoring.
-[Stackdriver Monitoring][monitoring] collects metrics, events, and metadata from
-Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes,
-application instrumentation, and a variety of common application components
-including Cassandra, Nginx, Apache Web Server, Elasticsearch and many others.
-
-[monitoring]: https://cloud.google.com/monitoring/docs
-
-## Setup
-
-### Authentication
-
-Authentication is typically done through [Application Default Credentials][adc]
-which means you do not have to change the code to authenticate as long as
-your environment has credentials. You have a few options for setting up
-authentication:
-
-1. When running locally, use the [Google Cloud SDK][google-cloud-sdk]
-
- gcloud auth application-default login
-
-1. When running on App Engine or Compute Engine, credentials are already
- set-up. However, you may need to configure your Compute Engine instance
- with [additional scopes][additional_scopes].
-
-1. You can create a [Service Account key file][service_account_key_file]. This file can be used to
- authenticate to Google Cloud Platform services from any environment. To use
- the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
- the path to the key file, for example:
-
- export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
-
-[adc]: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
-[additional_scopes]: https://cloud.google.com/compute/docs/authentication#using
-[service_account_key_file]: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
-
-## Install Dependencies
-
-1. Ensure the [gRPC PHP Extension][php_grpc] is installed and enabled on your machine.
-1. [Enable the Stackdriver Monitoring API](https://console.cloud.google.com/flows/enableapi?apiid=monitoring.googleapis.com).
-
-1. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-
-1. Create a service account at the
-[Service account section in the Cloud Console](https://console.cloud.google.com/iam-admin/serviceaccounts/)
-
-1. Download the json key file of the service account.
-
-1. Set `GOOGLE_APPLICATION_CREDENTIALS` environment variable pointing to that file.
-
-## Samples
-
-To run the Stackdriver Monitoring Samples:
-
- $ php monitoring.php
-
- Stackdriver Monitoring
-
- Usage:
- command [options] [arguments]
-
- Options:
- -h, --help Display this help message
- -q, --quiet Do not output any message
- -V, --version Display this application version
- --ansi Force ANSI output
- --no-ansi Disable ANSI output
- -n, --no-interaction Do not ask any interactive question
- -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
-
- Available commands:
- create-metric Creates a logging metric.
- delete-metric Deletes a logging metric.
- get-descriptor Gets a logging descriptor.
- help Displays help for a command
- list Lists commands
- list-descriptors Lists logging descriptors.
- read-timeseries-align Aggregates metrics for each timeseries.
- read-timeseries-fields Reads Timeseries fields.
- read-timeseries-reduce Aggregates metrics across multiple timeseries.
- read-timeseries-simple Reads a timeseries.
- write-timeseries Writes a timeseries.
-
-## The client library
-
-This sample uses the [Google Cloud Client Library for PHP][google-cloud-php].
-You can read the documentation for more details on API usage and use GitHub
-to [browse the source][google-cloud-php-source] and [report issues][google-cloud-php-issues].
-
-[php_grpc]: http://cloud.google.com/php/grpc
-[google-cloud-php]: https://googlecloudplatform.github.io/google-cloud-php
-[google-cloud-php-source]: https://github.com/GoogleCloudPlatform/google-cloud-php
-[google-cloud-php-issues]: https://github.com/GoogleCloudPlatform/google-cloud-php/issues
-[google-cloud-sdk]: https://cloud.google.com/sdk/
diff --git a/monitoring/composer.json b/monitoring/composer.json
deleted file mode 100644
index d2a4e014b0..0000000000
--- a/monitoring/composer.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "require": {
- "google/cloud-monitoring": "^0.4",
- "symfony/console": "^3.3"
- },
- "autoload": {
- "files": [
- "src/create_metric.php",
- "src/delete_metric.php",
- "src/get_descriptor.php",
- "src/list_descriptors.php",
- "src/read_timeseries_align.php",
- "src/read_timeseries_fields.php",
- "src/read_timeseries_reduce.php",
- "src/read_timeseries_simple.php",
- "src/write_timeseries.php"
- ]
- },
- "require-dev": {
- "phpunit/phpunit": "^4",
- "google/cloud-tools": "^0.6"
- }
-}
diff --git a/monitoring/composer.lock b/monitoring/composer.lock
deleted file mode 100644
index 1e747437a2..0000000000
--- a/monitoring/composer.lock
+++ /dev/null
@@ -1,2152 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "c8c2ea6ecb321239de558ce69ea15f04",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "db77bd2de0bcc40bf50ebe851e9eed332aeaa4df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/db77bd2de0bcc40bf50ebe851e9eed332aeaa4df",
- "reference": "db77bd2de0bcc40bf50ebe851e9eed332aeaa4df",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3.1|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2017-06-13T18:00:07+00:00"
- },
- {
- "name": "google/cloud-monitoring",
- "version": "v0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-monitoring.git",
- "reference": "e7ed3515b62d77ce163994a57384184fcc971349"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-monitoring/zipball/e7ed3515b62d77ce163994a57384184fcc971349",
- "reference": "e7ed3515b62d77ce163994a57384184fcc971349",
- "shasum": ""
- },
- "require": {
- "ext-grpc": "*",
- "google/gax": "^0.20.1",
- "google/proto-client": "^0.20.1"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-monitoring",
- "target": "GoogleCloudPlatform/google-cloud-php-monitoring.git",
- "path": "src/Monitoring",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Monitoring\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Stackdriver Monitoring Client for PHP",
- "time": "2017-06-30T22:46:26+00:00"
- },
- {
- "name": "google/gax",
- "version": "0.20.1",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/gax-php.git",
- "reference": "b83b64325584688bdae4bb42a8ef8599cb57d0bc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/gax-php/zipball/b83b64325584688bdae4bb42a8ef8599cb57d0bc",
- "reference": "b83b64325584688bdae4bb42a8ef8599cb57d0bc",
- "shasum": ""
- },
- "require": {
- "google/auth": "^1.0",
- "google/protobuf": "^3.3.2",
- "grpc/grpc": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "4.8.*",
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\GAX\\": "src/",
- "Google\\GAX\\UnitTests\\": "tests/",
- "Google\\": "src/generated/Google/",
- "GPBMetadata\\": "src/generated/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Google API Extensions for PHP",
- "homepage": "https://github.com/googleapis/gax-php",
- "keywords": [
- "google"
- ],
- "time": "2017-06-30T16:49:30+00:00"
- },
- {
- "name": "google/proto-client",
- "version": "0.20.1",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/proto-client-php.git",
- "reference": "747f07d7b93dab95cdfb622b04b91bff65fd0cbc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/proto-client-php/zipball/747f07d7b93dab95cdfb622b04b91bff65fd0cbc",
- "reference": "747f07d7b93dab95cdfb622b04b91bff65fd0cbc",
- "shasum": ""
- },
- "require": {
- "google/protobuf": "^3.3.2",
- "php": ">=5.5"
- },
- "require-dev": {
- "google/gax": ">=0.20.0",
- "phpunit/phpunit": "4.8.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\": "src/Google/",
- "GPBMetadata\\": "src/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Generated proto and gRPC classes for Google Cloud Platform in PHP",
- "homepage": "https://github.com/googleapis/proto-client-php",
- "keywords": [
- "google"
- ],
- "time": "2017-06-23T22:59:22+00:00"
- },
- {
- "name": "google/protobuf",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/google/protobuf.git",
- "reference": "5532abc15b97f3489183b266b41844306052a3fa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/protobuf/zipball/5532abc15b97f3489183b266b41844306052a3fa",
- "reference": "5532abc15b97f3489183b266b41844306052a3fa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": ">=4.8.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Protobuf\\Internal\\": "php/src/Google/Protobuf/Internal",
- "GPBMetadata\\Google\\Protobuf\\Internal\\": "php/src/GPBMetadata/Google/Protobuf/Internal"
- },
- "files": [
- "php/src/Google/Protobuf/descriptor.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "proto library for PHP",
- "homepage": "https://developers.google.com/protocol-buffers/",
- "keywords": [
- "proto"
- ],
- "time": "2017-06-21T22:29:32+00:00"
- },
- {
- "name": "grpc/grpc",
- "version": "v1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/grpc/grpc.git",
- "reference": "5cb6a1f86129fc2833de9a27cfe174260934342b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grpc/grpc/zipball/5cb6a1f86129fc2833de9a27cfe174260934342b",
- "reference": "5cb6a1f86129fc2833de9a27cfe174260934342b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "google/auth": "v0.9"
- },
- "suggest": {
- "ext-protobuf": "For better performance, install the protobuf C extension.",
- "google/protobuf": "To get started using grpc quickly, install the native protobuf library."
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Grpc\\": "src/php/lib/Grpc/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "gRPC library for PHP",
- "homepage": "http://grpc.io/",
- "keywords": [
- "rpc"
- ],
- "time": "2017-07-11T21:11:30+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0 || ^5.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-06-22T18:50:49+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/a97e45d98c59510f085fa05225a1acb74dfe0546",
- "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-03T13:19:36+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "63b85a968486d95ff9542228dc2e4247f16f9743"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/63b85a968486d95ff9542228dc2e4247f16f9743",
- "reference": "63b85a968486d95ff9542228dc2e4247f16f9743",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-05T13:02:37+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "google/cloud-tools",
- "version": "v0.6.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/php-tools.git",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/php-tools/zipball/90ecc5e371673078cf0fc71d442fd21415c277c3",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "php": ">=5.5",
- "phpunit/phpunit": "~4|~5",
- "symfony/browser-kit": "~2|~3",
- "symfony/process": "~2|~3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\TestUtils\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "authors": [
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com",
- "homepage": "https://wp.gaeflex.ninja/"
- }
- ],
- "description": "PHP tools for Google Cloud Platform",
- "homepage": "https://github.com/GoogleCloudPlatform/php-tools",
- "keywords": [
- "appengine",
- "gcp",
- "test"
- ],
- "time": "2017-02-23T22:19:51+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "3a4435e79a8401746e8525e98039199d0924b4e5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/3a4435e79a8401746e8525e98039199d0924b4e5",
- "reference": "3a4435e79a8401746e8525e98039199d0924b4e5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/dom-crawler": "~2.8|~3.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-24T09:29:48+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "fc2c588ce376e9fe04a7b8c79e3ec62fe32d95b1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/fc2c588ce376e9fe04a7b8c79e3ec62fe32d95b1",
- "reference": "fc2c588ce376e9fe04a7b8c79e3ec62fe32d95b1",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-25T23:10:31+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "5ab8949b682b1bf9d4511a228b5e045c96758c30"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/5ab8949b682b1bf9d4511a228b5e045c96758c30",
- "reference": "5ab8949b682b1bf9d4511a228b5e045c96758c30",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-03T08:12:02+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "1f93a8d19b8241617f5074a123e282575b821df8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/1f93a8d19b8241617f5074a123e282575b821df8",
- "reference": "1f93a8d19b8241617f5074a123e282575b821df8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-15T12:58:50+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/monitoring/monitoring.php b/monitoring/monitoring.php
deleted file mode 100644
index bfce086a3a..0000000000
--- a/monitoring/monitoring.php
+++ /dev/null
@@ -1,137 +0,0 @@
-add(new Command('create-metric'))
- ->setDefinition($inputDefinition)
- ->setDescription('Creates a logging metric.')
- ->setCode(function ($input, $output) {
- create_metric(
- $input->getArgument('project_id')
- );
- });
-
-$application->add(new Command('delete-metric'))
- ->setDefinition(clone $inputDefinition)
- ->addArgument('metric_id', InputArgument::REQUIRED, 'The metric descriptor id')
- ->setDescription('Deletes a logging metric.')
- ->setCode(function ($input, $output) {
- delete_metric(
- $input->getArgument('project_id'),
- $input->getArgument('metric_id')
- );
- });
-
-$application->add(new Command('get-descriptor'))
- ->setDefinition(clone $inputDefinition)
- ->addArgument('metric_id', InputArgument::REQUIRED, 'The metric descriptor id')
- ->setDescription('Gets a logging descriptor.')
- ->setCode(function ($input, $output) {
- get_descriptor(
- $input->getArgument('project_id'),
- $input->getArgument('metric_id')
- );
- });
-
-$application->add(new Command('list-descriptors'))
- ->setDefinition($inputDefinition)
- ->setDescription('Lists logging descriptors.')
- ->setCode(function ($input, $output) {
- list_descriptors(
- $input->getArgument('project_id')
- );
- });
-
-$application->add(new Command('read-timeseries-align'))
- ->setDefinition(clone $inputDefinition)
- ->addOption('minutes-ago', null, InputOption::VALUE_REQUIRED, 20,
- 'How many minutes in the past to start the time series.')
- ->setDescription('Aggregates metrics for each timeseries.')
- ->setCode(function ($input, $output) {
- read_timeseries_align(
- $input->getArgument('project_id'),
- $input->getOption('minutes-ago')
- );
- });
-
-$application->add(new Command('read-timeseries-fields'))
- ->setDefinition(clone $inputDefinition)
- ->addOption('minutes-ago', null, InputOption::VALUE_REQUIRED, 20,
- 'How many minutes in the past to start the time series.')
- ->setDescription('Reads Timeseries fields.')
- ->setCode(function ($input, $output) {
- read_timeseries_fields(
- $input->getArgument('project_id'),
- $input->getOption('minutes-ago')
- );
- });
-
-$application->add(new Command('read-timeseries-reduce'))
- ->setDefinition(clone $inputDefinition)
- ->addOption('minutes-ago', null, InputOption::VALUE_REQUIRED, 20,
- 'How many minutes in the past to start the time series.')
- ->setDescription('Aggregates metrics across multiple timeseries.')
- ->setCode(function ($input, $output) {
- read_timeseries_reduce(
- $input->getArgument('project_id'),
- $input->getOption('minutes-ago')
- );
- });
-
-$application->add(new Command('read-timeseries-simple'))
- ->setDefinition(clone $inputDefinition)
- ->addOption('minutes-ago', null, InputOption::VALUE_REQUIRED, 20,
- 'How many minutes in the past to start the time series.')
- ->setDescription('Reads a timeseries.')
- ->setCode(function ($input, $output) {
- read_timeseries_simple(
- $input->getArgument('project_id'),
- $input->getOption('minutes-ago')
- );
- });
-
-$application->add(new Command('write-timeseries'))
- ->setDefinition($inputDefinition)
- ->setDescription('Writes a timeseries.')
- ->setCode(function ($input, $output) {
- write_timeseries(
- $input->getArgument('project_id')
- );
- });
-
-// for testing
-if (getenv('PHPUNIT_TESTS') === '1') {
- return $application;
-}
-
-$application->run();
diff --git a/monitoring/phpunit.xml.dist b/monitoring/phpunit.xml.dist
deleted file mode 100644
index 9d297ccb03..0000000000
--- a/monitoring/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- quickstart.php
-
-
-
-
-
-
diff --git a/monitoring/quickstart.php b/monitoring/quickstart.php
deleted file mode 100644
index f911c2fab1..0000000000
--- a/monitoring/quickstart.php
+++ /dev/null
@@ -1,78 +0,0 @@
- $instanceId,
- 'zone' => $zone,
- ];
-
- $m = new Metric();
- $m->setType('custom.googleapis.com/my_metric');
-
- $r = new MonitoredResource();
- $r->setType('gce_instance');
- $r->setLabels($labels);
-
- $value = new TypedValue();
- $value->setDoubleValue(3.14);
-
- $timestamp = new Timestamp();
- $timestamp->setSeconds(time());
-
- $interval = new TimeInterval();
- $interval->setStartTime($timestamp);
- $interval->setEndTime($timestamp);
-
- $point = new Point();
- $point->setValue($value);
- $point->setInterval($interval);
- $points = [$point];
-
- $timeSeries = new TimeSeries();
- $timeSeries->setMetric($m);
- $timeSeries->setResource($r);
- $timeSeries->setPoints($points);
-
- $client->createTimeSeries($formattedProjectName, [$timeSeries]);
- print('Successfully submitted a time series' . PHP_EOL);
-} finally {
- $client->close();
-}
-# [END monitoring_quickstart]
diff --git a/monitoring/src/create_metric.php b/monitoring/src/create_metric.php
deleted file mode 100644
index 0080b8b0c9..0000000000
--- a/monitoring/src/create_metric.php
+++ /dev/null
@@ -1,68 +0,0 @@
- $projectId,
- ]);
-
- $projectName = $metrics->formatProjectName($projectId);
-
- $descriptor = new MetricDescriptor();
- $descriptor->setDescription('Daily sales records from all branch stores.');
- $descriptor->setDisplayName('Daily Sales');
- $descriptor->setType('custom.googleapis.com/stores/daily_sales');
- $descriptor->setMetricKind(MetricDescriptor_MetricKind::GAUGE);
- $descriptor->setValueType(MetricDescriptor_ValueType::DOUBLE);
- $descriptor->setUnit('{USD}');
- $label = new LabelDescriptor();
- $label->setKey('store_id');
- $label->setValueType(LabelDescriptor_ValueType::STRING);
- $label->setDescription('The ID of the store.');
- $labels = [$label];
- $descriptor->setLabels($labels);
-
- $descriptor = $metrics->createMetricDescriptor($projectName, $descriptor);
- printf('Created a metric: ' . $descriptor->getName() . PHP_EOL);
-}
-// [END monitoring_create_metric]
diff --git a/monitoring/src/delete_metric.php b/monitoring/src/delete_metric.php
deleted file mode 100644
index 884d3eee46..0000000000
--- a/monitoring/src/delete_metric.php
+++ /dev/null
@@ -1,50 +0,0 @@
- $projectId,
- ]);
-
- $metricPath = $metrics->formatMetricDescriptorName($projectId, $metricId);
- $ret = $metrics->deleteMetricDescriptor($metricPath);
-
- printf('Deleted a metric: ' . $metricPath . PHP_EOL);
-}
-// [END monitoring_delete_metric]
diff --git a/monitoring/src/get_descriptor.php b/monitoring/src/get_descriptor.php
deleted file mode 100644
index a481e01c5b..0000000000
--- a/monitoring/src/get_descriptor.php
+++ /dev/null
@@ -1,62 +0,0 @@
- $projectId,
- ]);
-
- $metricName = $metrics->formatMetricDescriptorName($projectId, $metricId);
- $descriptor = $metrics->getMetricDescriptor($metricName);
-
- printf('Name: ' . $descriptor->getDisplayName() . PHP_EOL);
- printf('Description: ' . $descriptor->getDescription() . PHP_EOL);
- printf('Type: ' . $descriptor->getType() . PHP_EOL);
- printf('Metric Kind: ' . $descriptor->getMetricKind() . PHP_EOL);
- printf('Value Type: ' . $descriptor->getValueType() . PHP_EOL);
- printf('Unit: ' . $descriptor->getUnit() . PHP_EOL);
- printf('Labels:' . PHP_EOL);
- foreach ($descriptor->getLabels() as $labels) {
- printf(' %s (%s) - %s' . PHP_EOL,
- $labels->getKey(),
- $labels->getValueType(),
- $labels->getDescription());
- }
-}
-// [END monitoring_get_descriptor]
diff --git a/monitoring/src/list_descriptors.php b/monitoring/src/list_descriptors.php
deleted file mode 100644
index 72a606f649..0000000000
--- a/monitoring/src/list_descriptors.php
+++ /dev/null
@@ -1,52 +0,0 @@
- $projectId,
- ]);
-
- $projectName = $metrics->formatProjectName($projectId);
- $descriptors = $metrics->listMetricDescriptors($projectName);
-
- printf('Metric Descriptors:' . PHP_EOL);
- foreach ($descriptors->iterateAllElements() as $descriptor) {
- printf($descriptor->getName() . PHP_EOL);
- }
-}
-// [END monitoring_list_descriptors]
diff --git a/monitoring/src/read_timeseries_align.php b/monitoring/src/read_timeseries_align.php
deleted file mode 100644
index f1efe1a90f..0000000000
--- a/monitoring/src/read_timeseries_align.php
+++ /dev/null
@@ -1,88 +0,0 @@
- $projectId,
- ]);
-
- $projectName = $metrics->formatProjectName($projectId);
- $filter = 'metric.type="compute.googleapis.com/instance/cpu/utilization"';
-
- $startTime = new Timestamp();
- $startTime->setSeconds(time() - (60 * $minutesAgo));
- $endTime = new Timestamp();
- $endTime->setSeconds(time());
-
- $interval = new TimeInterval();
- $interval->setStartTime($startTime);
- $interval->setEndTime($endTime);
-
- $alignmentPeriod = new Duration();
- $alignmentPeriod->setSeconds(600);
- $aggregation = new Aggregation();
- $aggregation->setAlignmentPeriod($alignmentPeriod);
- $aggregation->setPerSeriesAligner(Aggregation_Aligner::ALIGN_MEAN);
-
- $view = ListTimeSeriesRequest_TimeSeriesView::FULL;
-
- $result = $metrics->listTimeSeries(
- $projectName,
- $filter,
- $interval,
- $view,
- ['aggregation' => $aggregation]);
-
- printf('CPU utilization:' . PHP_EOL);
- foreach ($result->iterateAllElements() as $timeSeries) {
- printf($timeSeries->getMetric()->getLabels()['instance_name'] . PHP_EOL);
- printf(' Now: ');
- printf($timeSeries->getPoints()[0]->getValue()->getDoubleValue() . PHP_EOL);
- if (count($timeSeries->getPoints()) > 1) {
- printf(' 10 minutes ago: ');
- printf($timeSeries->getPoints()[1]->getValue()->getDoubleValue() . PHP_EOL);
- }
- }
-}
-// [END monitoring_read_timeseries_align]
diff --git a/monitoring/src/read_timeseries_fields.php b/monitoring/src/read_timeseries_fields.php
deleted file mode 100644
index 19f2c2fc0c..0000000000
--- a/monitoring/src/read_timeseries_fields.php
+++ /dev/null
@@ -1,72 +0,0 @@
- $projectId,
- ]);
-
- $projectName = $metrics->formatProjectName($projectId);
- $filter = 'metric.type="compute.googleapis.com/instance/cpu/utilization"';
-
- $startTime = new Timestamp();
- $startTime->setSeconds(time() - (60 * $minutesAgo));
- $endTime = new Timestamp();
- $endTime->setSeconds(time());
-
- $interval = new TimeInterval();
- $interval->setStartTime($startTime);
- $interval->setEndTime($endTime);
-
- $view = ListTimeSeriesRequest_TimeSeriesView::HEADERS;
-
- $result = $metrics->listTimeSeries(
- $projectName,
- $filter,
- $interval,
- $view);
-
- printf('Found data points for the following instances:' . PHP_EOL);
- foreach ($result->iterateAllElements() as $timeSeries) {
- printf($timeSeries->getMetric()->getLabels()['instance_name'] . PHP_EOL);
- }
-}
-// [END monitoring_read_timeseries_fields]
diff --git a/monitoring/src/read_timeseries_reduce.php b/monitoring/src/read_timeseries_reduce.php
deleted file mode 100644
index 6680fac5a6..0000000000
--- a/monitoring/src/read_timeseries_reduce.php
+++ /dev/null
@@ -1,88 +0,0 @@
- $projectId,
- ]);
-
- $projectName = $metrics->formatProjectName($projectId);
- $filter = 'metric.type="compute.googleapis.com/instance/cpu/utilization"';
-
- $startTime = new Timestamp();
- $startTime->setSeconds(time() - (60 * $minutesAgo));
- $endTime = new Timestamp();
- $endTime->setSeconds(time());
-
- $interval = new TimeInterval();
- $interval->setStartTime($startTime);
- $interval->setEndTime($endTime);
-
- $alignmentPeriod = new Duration();
- $alignmentPeriod->setSeconds(600);
- $aggregation = new Aggregation();
- $aggregation->setAlignmentPeriod($alignmentPeriod);
- $aggregation->setCrossSeriesReducer(Aggregation_Reducer::REDUCE_MEAN);
- $aggregation->setPerSeriesAligner(Aggregation_Aligner::ALIGN_MEAN);
-
- $view = ListTimeSeriesRequest_TimeSeriesView::FULL;
-
- $result = $metrics->listTimeSeries(
- $projectName,
- $filter,
- $interval,
- $view,
- ['aggregation' => $aggregation]);
-
- $reductions = $result->iterateAllElements()->current()->getPoints();
- printf('Average CPU utilization across all GCE instances:' . PHP_EOL);
- printf(' Last 10 minutes: ');
- printf($reductions[0]->getValue()->getDoubleValue() . PHP_EOL);
- if (count($reductions) > 1) {
- printf(' 10-20 minutes ago: ');
- printf($reductions[1]->getValue()->getDoubleValue() . PHP_EOL);
- }
-}
-// [END monitoring_read_timeseries_reduce]
diff --git a/monitoring/src/read_timeseries_simple.php b/monitoring/src/read_timeseries_simple.php
deleted file mode 100644
index bdc94f4c44..0000000000
--- a/monitoring/src/read_timeseries_simple.php
+++ /dev/null
@@ -1,77 +0,0 @@
- $projectId,
- ]);
-
- $projectName = $metrics->formatProjectName($projectId);
- $filter = 'metric.type="compute.googleapis.com/instance/cpu/utilization"';
-
- // Limit results to the last 20 minutes
- $startTime = new Timestamp();
- $startTime->setSeconds(time() - (60 * $minutesAgo));
- $endTime = new Timestamp();
- $endTime->setSeconds(time());
-
- $interval = new TimeInterval();
- $interval->setStartTime($startTime);
- $interval->setEndTime($endTime);
-
- $view = ListTimeSeriesRequest_TimeSeriesView::FULL;
-
- $result = $metrics->listTimeSeries(
- $projectName,
- $filter,
- $interval,
- $view);
-
- printf('CPU utilization:' . PHP_EOL);
- foreach ($result->iterateAllElements() as $timeSeries) {
- $instanceName = $timeSeries->getMetric()->getLabels()['instance_name'];
- printf($instanceName . ':' . PHP_EOL);
- foreach ($timeSeries->getPoints() as $point) {
- printf(' ' . $point->getValue()->getDoubleValue() . PHP_EOL);
- }
- }
-}
-// [END monitoring_read_timeseries_simple]
diff --git a/monitoring/src/write_timeseries.php b/monitoring/src/write_timeseries.php
deleted file mode 100644
index 62103f24e9..0000000000
--- a/monitoring/src/write_timeseries.php
+++ /dev/null
@@ -1,88 +0,0 @@
- $projectId,
- ]);
-
- $projectName = $metrics->formatProjectName($projectId);
- $filter = 'metric.type="compute.googleapis.com/instance/cpu/utilization"';
-
- $endTime = new Timestamp();
- $endTime->setSeconds(time());
- $interval = new TimeInterval();
- $interval->setEndTime($endTime);
-
- $value = new TypedValue();
- $value->setDoubleValue(123.45);
-
- $point = new Point();
- $point->setValue($value);
- $point->setInterval($interval);
- $points = [$point];
-
- $metric = new Metric();
- $metric->setType('custom.googleapis.com/stores/daily_sales');
- $labels = ['store_id' => 'Pittsburg'];
- $metric->setLabels($labels);
-
- $resource = new MonitoredResource();
- $resource->setType('global');
- $labels = ['project_id' => $projectId];
- $resource->setLabels($labels);
-
- $timeSeries = new TimeSeries();
- $timeSeries->setMetric($metric);
- $timeSeries->setResource($resource);
- $timeSeries->setPoints($points);
-
- $result = $metrics->createTimeSeries(
- $projectName,
- [$timeSeries]);
-
- printf('Done writing time series data.' . PHP_EOL);
-}
-// [END monitoring_write_timeseries]
diff --git a/monitoring/test/monitoringTest.php b/monitoring/test/monitoringTest.php
deleted file mode 100644
index f42b8b9b6a..0000000000
--- a/monitoring/test/monitoringTest.php
+++ /dev/null
@@ -1,145 +0,0 @@
-runCommand('create-metric');
- $this->assertContains('Created a metric', $output);
- $this->assertContains(self::$metricId, $output);
-
- // ensure the metric gets created
- $this->runEventuallyConsistentTest(function () {
- $output = $this->runCommand('get-descriptor', [
- 'metric_id' => self::$metricId,
- ]);
- $this->assertContains(self::$metricId, $output);
- }, 10);
- }
-
- /** @depends testCreateMetric */
- public function testGetDescriptor()
- {
- $output = $this->runCommand('get-descriptor', [
- 'metric_id' => self::$metricId,
- ]);
- $this->assertContains(self::$metricId, $output);
- }
-
- /** @depends testGetDescriptor */
- public function testListDescriptors()
- {
- $output = $this->runCommand('list-descriptors');
- $this->assertContains(self::$metricId, $output);
- }
-
- /** @depends testListDescriptors */
- public function testDeleteMetric()
- {
- $output = $this->runCommand('delete-metric', [
- 'metric_id' => self::$metricId,
- ]);
- $this->assertContains('Deleted a metric', $output);
- $this->assertContains(self::$metricId, $output);
- }
-
- public function testWriteTimeseries()
- {
- $output = $this->runCommand('write-timeseries');
- $this->assertContains('Done writing time series data', $output);
- }
-
- /** @depends testWriteTimeseries */
- public function testReadTimeseriesAlign()
- {
- $output = $this->runCommand('read-timeseries-align', [
- '--minutes-ago' => self::$minutesAgo
- ]);
- $this->assertContains('Now', $output);
- }
-
- /** @depends testWriteTimeseries */
- public function testReadTimeseriesFields()
- {
- $output = $this->runCommand('read-timeseries-fields', [
- '--minutes-ago' => self::$minutesAgo
- ]);
- $this->assertContains('Found data points', $output);
- $this->assertGreaterThanOrEqual(2, substr_count($output, "\n"));
- }
-
- /** @depends testWriteTimeseries */
- public function testReadTimeseriesReduce()
- {
- $output = $this->runCommand('read-timeseries-reduce', [
- '--minutes-ago' => self::$minutesAgo
- ]);
- $this->assertContains('Last 10 minutes', $output);
- }
-
- /** @depends testWriteTimeseries */
- public function testReadTimeseriesSimple()
- {
- $output = $this->runCommand('read-timeseries-simple', [
- '--minutes-ago' => self::$minutesAgo
- ]);
- $this->assertContains('CPU utilization:', $output);
- $this->assertGreaterThanOrEqual(2, substr_count($output, "\n"));
- }
-
- private function runCommand($commandName, $args = [])
- {
- $application = require __DIR__ . '/../monitoring.php';
- $command = $application->get($commandName);
- $commandTester = new CommandTester($command);
-
- ob_start();
- try {
- $commandTester->execute(
- ['project_id' => self::$projectId] + $args,
- ['interactive' => false]);
- } catch (\Google\GAX\ApiException $e) {
- // if the command throws an error cast it as a string (as this would be the output)
- $application->renderException($e, $commandTester->getOutput());
- return $commandTester->getDisplay();
- }
- return ob_get_clean();
- }
-}
diff --git a/monitoring/test/quickstartTest.php b/monitoring/test/quickstartTest.php
deleted file mode 100644
index 812101ee08..0000000000
--- a/monitoring/test/quickstartTest.php
+++ /dev/null
@@ -1,42 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
- $file = sys_get_temp_dir() . '/monitoring_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', '__DIR__'],
- [$projectId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
- // Invoke quickstart.php
- ob_start();
- include $file;
- $output = ob_get_contents();
- ob_end_clean();
- $this->assertContains('Successfully submitted a time series', $output);
- }
-}
diff --git a/pubsub/api/README.md b/pubsub/api/README.md
deleted file mode 100644
index 6a23c11558..0000000000
--- a/pubsub/api/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# Google Pub\Sub CLI for PHP
-
-## Description
-
-This simple command-line application demonstrates how to invoke Google Pub\Sub from PHP.
-
-## Build and Run
-1. **Enable APIs** - [Enable the Pub\Sub API](https://console.cloud.google.com/flows/enableapi?apiid=pubsub)
- and create a new project or select an existing project.
-2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click "New Credentials"
- and select "Service Account Key". Create a new service account, use the JSON key type, and
- select "Create". Once downloaded, set the environment variable `GOOGLE_APPLICATION_CREDENTIALS`
- to the path of the JSON key that was downloaded.
-3. **Clone the repo** and cd into this directory
-
- ```sh
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/pubsub/api
-```
-4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-5. Run `php pubsub.php`. The following commands are available:
-
- ```sh
- iam Manage IAM for Pub\Sub
- subscription Manage subscriptions for Pub\Sub
- topic Manage topics for Pub\Sub
-```
-6. Run `php pubsub.php COMMAND --help` to print information about the usage of each command.
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
diff --git a/pubsub/api/composer.json b/pubsub/api/composer.json
deleted file mode 100644
index bb4bff3e68..0000000000
--- a/pubsub/api/composer.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Samples\\PubSub\\": "src"
- },
- "files": [
- "src/functions/create_subscription.php",
- "src/functions/create_topic.php",
- "src/functions/create_push_subscription.php",
- "src/functions/delete_subscription.php",
- "src/functions/delete_topic.php",
- "src/functions/get_subscription_policy.php",
- "src/functions/get_topic_policy.php",
- "src/functions/list_subscriptions.php",
- "src/functions/list_topics.php",
- "src/functions/publish_message.php",
- "src/functions/pull_messages.php",
- "src/functions/set_subscription_policy.php",
- "src/functions/set_topic_policy.php",
- "src/functions/test_subscription_permissions.php",
- "src/functions/test_topic_permissions.php"
- ]
- },
- "require": {
- "php": ">=5.4",
- "google/cloud-pubsub": "^0.5",
- "symfony/console": " ^3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/pubsub/api/composer.lock b/pubsub/api/composer.lock
deleted file mode 100644
index 011c9ec923..0000000000
--- a/pubsub/api/composer.lock
+++ /dev/null
@@ -1,1944 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "c18fbbf5e6916a4b0e0d2376365c28a9",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "google/cloud-pubsub",
- "version": "v0.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-pubsub.git",
- "reference": "5d647b2c3cf571fa3a400603179685a82a6cd076"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-pubsub/zipball/5d647b2c3cf571fa3a400603179685a82a6cd076",
- "reference": "5d647b2c3cf571fa3a400603179685a82a6cd076",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/gax": "Required to support gRPC",
- "google/proto-client-php": "Required to support gRPC"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-pubsub",
- "target": "GoogleCloudPlatform/google-cloud-php-pubsub.git",
- "path": "src/PubSub",
- "entry": "PubSubClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\PubSub\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud PubSub Client for PHP",
- "time": "2017-05-22T16:18:33+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "70d2a29b2911cbdc91a7e268046c395278238b2e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/70d2a29b2911cbdc91a7e268046c395278238b2e",
- "reference": "70d2a29b2911cbdc91a7e268046c395278238b2e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T19:24:58+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/e9c50482841ef696e8fa1470d950a79c8921f45d",
- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-01T21:01:25+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T22:05:06+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/pubsub/api/phpunit.xml.dist b/pubsub/api/phpunit.xml.dist
deleted file mode 100644
index 46b976d9b6..0000000000
--- a/pubsub/api/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
diff --git a/pubsub/api/pubsub.php b/pubsub/api/pubsub.php
deleted file mode 100644
index 763d003745..0000000000
--- a/pubsub/api/pubsub.php
+++ /dev/null
@@ -1,28 +0,0 @@
-add(new SubscriptionCommand());
-$application->add(new TopicCommand());
-$application->add(new IamCommand());
-$application->run();
diff --git a/pubsub/api/src/IamCommand.php b/pubsub/api/src/IamCommand.php
deleted file mode 100644
index c56f43a5a3..0000000000
--- a/pubsub/api/src/IamCommand.php
+++ /dev/null
@@ -1,109 +0,0 @@
-setName('iam')
- ->setDescription('Manage IAM for Pub\Sub')
- ->setHelp(<<%command.name% command manages Pub\Sub IAM policies.
-
- php %command.full_name% --topic my-topic
-
- php %command.full_name% --subscription my-subscription
-
-EOF
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'topic',
- null,
- InputOption::VALUE_REQUIRED,
- 'The topic name. '
- )
- ->addOption(
- 'subscription',
- null,
- InputOption::VALUE_REQUIRED,
- 'The subscription name. '
- )
- ->addOption(
- 'add-user',
- null,
- InputOption::VALUE_REQUIRED,
- 'Create the IAM for the supplied user email. '
- )
- ->addOption(
- 'test',
- null,
- InputOption::VALUE_NONE,
- 'Test the IAM policy. '
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $topicName = $input->getOption('topic');
- $subscriptionName = $input->getOption('subscription');
- if ($topicName) {
- if ($userEmail = $input->getOption('add-user')) {
- set_topic_policy($projectId, $topicName, $userEmail);
- } elseif ($input->getOption('test')) {
- test_topic_permissions($projectId, $topicName);
- } else {
- get_topic_policy($projectId, $topicName);
- }
- } elseif ($subscriptionName) {
- if ($userEmail = $input->getOption('add-user')) {
- set_subscription_policy($projectId, $subscriptionName, $userEmail);
- } elseif ($input->getOption('test')) {
- test_subscription_permissions($projectId, $subscriptionName);
- } else {
- get_subscription_policy($projectId, $subscriptionName);
- }
- } else {
- throw new \Exception('Must provide "--topic", or "--subscription"');
- }
- }
-}
diff --git a/pubsub/api/src/ProjectIdTrait.php b/pubsub/api/src/ProjectIdTrait.php
deleted file mode 100644
index fede85bc4d..0000000000
--- a/pubsub/api/src/ProjectIdTrait.php
+++ /dev/null
@@ -1,36 +0,0 @@
-/dev/null", $output, $return_var);
-
- if (0 === $return_var) {
- return array_pop($output);
- }
-
- throw new \Exception('Could not derive a project ID from gcloud. ' .
- 'You must supply a project ID using --project');
- }
-}
diff --git a/pubsub/api/src/SubscriptionCommand.php b/pubsub/api/src/SubscriptionCommand.php
deleted file mode 100644
index 808f24b7d2..0000000000
--- a/pubsub/api/src/SubscriptionCommand.php
+++ /dev/null
@@ -1,109 +0,0 @@
-setName('subscription')
- ->setDescription('Manage subscriptions for Pub\Sub')
- ->setHelp(<<%command.name% command manages Pub\Sub subscriptions.
-
- php %command.full_name%
-
-EOF
- )
- ->addArgument(
- 'subscription',
- InputArgument::OPTIONAL,
- 'The subscription name'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'Create the subscription. '
- )
- ->addOption(
- 'topic',
- null,
- InputOption::VALUE_REQUIRED,
- 'The topic for the subscription (when using --create). '
- )
- ->addOption(
- 'endpoint',
- null,
- InputOption::VALUE_REQUIRED,
- 'An optional endpoint for push subscriptions.'
- )
- ->addOption(
- 'delete',
- null,
- InputOption::VALUE_NONE,
- 'Delete the subscription. '
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $subscriptionName = $input->getArgument('subscription');
- if (empty($subscriptionName)) {
- list_subscriptions($projectId);
- } elseif ($input->getOption('create')) {
- if (!$topicName = $input->getOption('topic')) {
- throw new \Exception('--topic is required when creating a subscription');
- }
- if ($endpoint = $input->getOption('endpoint')) {
- create_push_subscription($projectId, $topicName, $subscriptionName, $endpoint);
- } else {
- create_subscription($projectId, $topicName, $subscriptionName);
- }
- } elseif ($input->getOption('delete')) {
- delete_subscription($projectId, $subscriptionName);
- } else {
- pull_messages($projectId, $subscriptionName);
- }
- }
-}
diff --git a/pubsub/api/src/TopicCommand.php b/pubsub/api/src/TopicCommand.php
deleted file mode 100644
index ceca3574a0..0000000000
--- a/pubsub/api/src/TopicCommand.php
+++ /dev/null
@@ -1,97 +0,0 @@
-setName('topic')
- ->setDescription('Manage topics for Pub\Sub')
- ->setHelp(<<%command.name% command manages Pub\Sub topics.
-
- php %command.full_name%
-
-EOF
- )
- ->addArgument(
- 'topic',
- InputArgument::OPTIONAL,
- 'The topic name'
- )
- ->addArgument(
- 'message',
- InputArgument::OPTIONAL,
- 'A message to publish to the topic'
- )
- ->addOption(
- 'project',
- null,
- InputOption::VALUE_REQUIRED,
- 'The Google Cloud Platform project name to use for this invocation. ' .
- 'If omitted then the current gcloud project is assumed. '
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'Create the topic. '
- )
- ->addOption(
- 'delete',
- null,
- InputOption::VALUE_NONE,
- 'Delete the topic. '
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if (!$projectId = $input->getOption('project')) {
- $projectId = $this->getProjectIdFromGcloud();
- }
- $topicName = $input->getArgument('topic');
- if (empty($topicName)) {
- list_topics($projectId);
- } elseif ($input->getOption('create')) {
- create_topic($projectId, $topicName);
- } elseif ($input->getOption('delete')) {
- delete_topic($projectId, $topicName);
- } elseif ($message = $input->getArgument('message')) {
- publish_message($projectId, $topicName, $message);
- } else {
- throw new \Exception('Must provide "--create", "--delete" or "message" with topic name');
- }
- }
-}
diff --git a/pubsub/api/src/functions/create_push_subscription.php b/pubsub/api/src/functions/create_push_subscription.php
deleted file mode 100644
index 3f82368241..0000000000
--- a/pubsub/api/src/functions/create_push_subscription.php
+++ /dev/null
@@ -1,48 +0,0 @@
- $projectId,
- ]);
- $topic = $pubsub->topic($topicName);
- $subscription = $topic->subscription($subscriptionName);
- $subscription->create([
- 'endpoint' => $endpoint
- ]);
-}
-# [END create_push_subscription]
diff --git a/pubsub/api/src/functions/create_subscription.php b/pubsub/api/src/functions/create_subscription.php
deleted file mode 100644
index 74dc311f72..0000000000
--- a/pubsub/api/src/functions/create_subscription.php
+++ /dev/null
@@ -1,47 +0,0 @@
- $projectId,
- ]);
- $topic = $pubsub->topic($topicName);
- $subscription = $topic->subscription($subscriptionName);
- $subscription->create();
-
- printf('Subscription created: %s' . PHP_EOL, $subscription->name());
-}
-# [END create_subscription]
diff --git a/pubsub/api/src/functions/create_topic.php b/pubsub/api/src/functions/create_topic.php
deleted file mode 100644
index 250731ba8c..0000000000
--- a/pubsub/api/src/functions/create_topic.php
+++ /dev/null
@@ -1,44 +0,0 @@
- $projectId,
- ]);
- $topic = $pubsub->createTopic($topicName);
-
- printf('Topic created: %s' . PHP_EOL, $topic->name());
-}
-# [END create_topic]
diff --git a/pubsub/api/src/functions/delete_subscription.php b/pubsub/api/src/functions/delete_subscription.php
deleted file mode 100644
index a7ad61492b..0000000000
--- a/pubsub/api/src/functions/delete_subscription.php
+++ /dev/null
@@ -1,45 +0,0 @@
- $projectId,
- ]);
- $subscription = $pubsub->subscription($subscriptionName);
- $subscription->delete();
-
- printf('Subscription deleted: %s' . PHP_EOL, $subscription->name());
-}
-# [END delete_subscription]
diff --git a/pubsub/api/src/functions/delete_topic.php b/pubsub/api/src/functions/delete_topic.php
deleted file mode 100644
index 44a6eec9b8..0000000000
--- a/pubsub/api/src/functions/delete_topic.php
+++ /dev/null
@@ -1,45 +0,0 @@
- $projectId,
- ]);
- $topic = $pubsub->topic($topicName);
- $topic->delete();
-
- printf('Topic deleted: %s' . PHP_EOL, $topic->name());
-}
-# [END delete_topic]
diff --git a/pubsub/api/src/functions/get_subscription_policy.php b/pubsub/api/src/functions/get_subscription_policy.php
deleted file mode 100644
index a0854be983..0000000000
--- a/pubsub/api/src/functions/get_subscription_policy.php
+++ /dev/null
@@ -1,44 +0,0 @@
- $projectId,
- ]);
- $subscription = $pubsub->subscription($subscriptionName);
- $policy = $subscription->iam()->policy();
- print_r($policy);
-}
-# [END get_subscription_policy]
diff --git a/pubsub/api/src/functions/get_topic_policy.php b/pubsub/api/src/functions/get_topic_policy.php
deleted file mode 100644
index cac6754c54..0000000000
--- a/pubsub/api/src/functions/get_topic_policy.php
+++ /dev/null
@@ -1,44 +0,0 @@
- $projectId,
- ]);
- $topic = $pubsub->topic($topicName);
- $policy = $topic->iam()->policy();
- print_r($policy);
-}
-# [END get_topic_policy]
diff --git a/pubsub/api/src/functions/list_subscriptions.php b/pubsub/api/src/functions/list_subscriptions.php
deleted file mode 100644
index 726072d2e8..0000000000
--- a/pubsub/api/src/functions/list_subscriptions.php
+++ /dev/null
@@ -1,43 +0,0 @@
- $projectId,
- ]);
- foreach ($pubsub->subscriptions() as $subscription) {
- printf('Subscription: %s' . PHP_EOL, $subscription->name());
- }
-}
-# [END list_subscriptions]
diff --git a/pubsub/api/src/functions/list_topics.php b/pubsub/api/src/functions/list_topics.php
deleted file mode 100644
index 268408b45f..0000000000
--- a/pubsub/api/src/functions/list_topics.php
+++ /dev/null
@@ -1,43 +0,0 @@
- $projectId,
- ]);
- foreach ($pubsub->topics() as $topic) {
- printf('Topic: %s' . PHP_EOL, $topic->name());
- }
-}
-# [END list_topics]
diff --git a/pubsub/api/src/functions/publish_message.php b/pubsub/api/src/functions/publish_message.php
deleted file mode 100644
index 6454f2700e..0000000000
--- a/pubsub/api/src/functions/publish_message.php
+++ /dev/null
@@ -1,45 +0,0 @@
- $projectId,
- ]);
- $topic = $pubsub->topic($topicName);
- $topic->publish(['data' => $message]);
- print('Message published' . PHP_EOL);
-}
-# [END publish_message]
diff --git a/pubsub/api/src/functions/pubsub_client.php b/pubsub/api/src/functions/pubsub_client.php
deleted file mode 100644
index 9e8718cfe0..0000000000
--- a/pubsub/api/src/functions/pubsub_client.php
+++ /dev/null
@@ -1,42 +0,0 @@
- $projectId,
-]);
-# [END build_service]
-return $pubsub;
diff --git a/pubsub/api/src/functions/pull_messages.php b/pubsub/api/src/functions/pull_messages.php
deleted file mode 100644
index 5a85032819..0000000000
--- a/pubsub/api/src/functions/pull_messages.php
+++ /dev/null
@@ -1,47 +0,0 @@
- $projectId,
- ]);
- $subscription = $pubsub->subscription($subscriptionName);
- foreach ($subscription->pull() as $message) {
- printf('Message: %s' . PHP_EOL, $message->data());
- // Acknowledge the Pub/Sub message has been received, so it will not be pulled multiple times.
- $subscription->acknowledge($message);
- }
-}
-# [END pull_message]
diff --git a/pubsub/api/src/functions/set_subscription_policy.php b/pubsub/api/src/functions/set_subscription_policy.php
deleted file mode 100644
index 1a504c5c73..0000000000
--- a/pubsub/api/src/functions/set_subscription_policy.php
+++ /dev/null
@@ -1,53 +0,0 @@
- $projectId,
- ]);
- $subscription = $pubsub->subscription($subscriptionName);
- $policy = $subscription->iam()->policy();
- $policy['bindings'][] = [
- 'role' => 'roles/pubsub.subscriber',
- 'members' => ['user:' . $userEmail]
- ];
- $subscription->iam()->setPolicy($policy);
-
- printf('User %s added to policy for %s' . PHP_EOL,
- $userEmail,
- $subscriptionName);
-}
-# [END set_subscription_policy]
diff --git a/pubsub/api/src/functions/set_topic_policy.php b/pubsub/api/src/functions/set_topic_policy.php
deleted file mode 100644
index e429118420..0000000000
--- a/pubsub/api/src/functions/set_topic_policy.php
+++ /dev/null
@@ -1,53 +0,0 @@
- $projectId,
- ]);
- $topic = $pubsub->topic($topicName);
- $policy = $topic->iam()->policy();
- $policy['bindings'][] = [
- 'role' => 'roles/pubsub.publisher',
- 'members' => ['user:' . $userEmail]
- ];
- $topic->iam()->setPolicy($policy);
-
- printf('User %s added to policy for %s' . PHP_EOL,
- $userEmail,
- $topicName);
-}
-# [END set_topic_policy]
diff --git a/pubsub/api/src/functions/test_subscription_permissions.php b/pubsub/api/src/functions/test_subscription_permissions.php
deleted file mode 100644
index 3a704dda24..0000000000
--- a/pubsub/api/src/functions/test_subscription_permissions.php
+++ /dev/null
@@ -1,49 +0,0 @@
- $projectId,
- ]);
- $subscription = $pubsub->subscription($subscriptionName);
- $permissions = $subscription->iam()->testPermissions([
- 'pubsub.subscriptions.consume',
- 'pubsub.subscriptions.update'
- ]);
- foreach ($permissions as $permission) {
- printf('Permission: %s' . PHP_EOL, $permission);
- }
-}
-# [END test_subscription_permissions]
diff --git a/pubsub/api/src/functions/test_topic_permissions.php b/pubsub/api/src/functions/test_topic_permissions.php
deleted file mode 100644
index ffb57b8743..0000000000
--- a/pubsub/api/src/functions/test_topic_permissions.php
+++ /dev/null
@@ -1,50 +0,0 @@
- $projectId,
- ]);
- $topic = $pubsub->topic($topicName);
- $permissions = $topic->iam()->testPermissions([
- 'pubsub.topics.attachSubscription',
- 'pubsub.topics.publish',
- 'pubsub.topics.update'
- ]);
- foreach ($permissions as $permission) {
- printf('Permission: %s' . PHP_EOL, $permission);
- }
-}
-# [END test_topic_permissions]
diff --git a/pubsub/api/test/FunctionsTest.php b/pubsub/api/test/FunctionsTest.php
deleted file mode 100644
index 7209752e0c..0000000000
--- a/pubsub/api/test/FunctionsTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-markTestSkipped('No project ID');
- }
-
- $pubsub = require __DIR__ . '/../src/functions/pubsub_client.php';
-
- $this->assertInstanceOf(PubSubClient::class, $pubsub);
- }
-}
diff --git a/pubsub/api/test/IamCommandTest.php b/pubsub/api/test/IamCommandTest.php
deleted file mode 100644
index 0cc1c96477..0000000000
--- a/pubsub/api/test/IamCommandTest.php
+++ /dev/null
@@ -1,199 +0,0 @@
- 0;
- }
-
- public function testSubscriptionPolicy()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$subscription = getenv('GOOGLE_PUBSUB_SUBSCRIPTION')) {
- $this->markTestSkipped('No pubsub subscription name');
- }
-
- $application = new Application();
- $application->add(new IamCommand());
- $commandTester = new CommandTester($application->get('iam'));
- $commandTester->execute(
- [
- '--subscription' => $subscription,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex(sprintf('/etag/', $subscription));
- }
-
- public function testTopicPolicy()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
-
- $application = new Application();
- $application->add(new IamCommand());
- $commandTester = new CommandTester($application->get('iam'));
- $commandTester->execute(
- [
- '--topic' => $topic,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex(sprintf('/etag/', $topic));
- }
-
- public function testCreateSubscriptionPolicy()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$subscription = getenv('GOOGLE_PUBSUB_SUBSCRIPTION')) {
- $this->markTestSkipped('No pubsub subscription name');
- }
- $userEmail = 'betterbrent@google.com';
-
- $application = new Application();
- $application->add(new IamCommand());
- $commandTester = new CommandTester($application->get('iam'));
- $commandTester->execute(
- [
- '--subscription' => $subscription,
- '--add-user' => $userEmail,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex(sprintf('/User %s added to policy for %s/', $userEmail, $subscription));
- }
-
- public function testCreateTopicPolicy()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
- $userEmail = 'betterbrent@google.com';
-
- $application = new Application();
- $application->add(new IamCommand());
- $commandTester = new CommandTester($application->get('iam'));
- $commandTester->execute(
- [
- '--topic' => $topic,
- '--add-user' => $userEmail,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex(sprintf('/User %s added to policy for %s/', $userEmail, $topic));
- }
-
- public function testTestSubscriptionPolicy()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$subscription = getenv('GOOGLE_PUBSUB_SUBSCRIPTION')) {
- $this->markTestSkipped('No pubsub subscription name');
- }
-
- $application = new Application();
- $application->add(new IamCommand());
- $commandTester = new CommandTester($application->get('iam'));
- $commandTester->execute(
- [
- '--subscription' => $subscription,
- '--test' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Permission: pubsub.subscriptions.consume/');
- }
-
- public function testTestTopicPolicy()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
-
- $application = new Application();
- $application->add(new IamCommand());
- $commandTester = new CommandTester($application->get('iam'));
- $commandTester->execute(
- [
- '--topic' => $topic,
- '--test' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Permission: pubsub.topics.attachSubscription/');
- }
-}
diff --git a/pubsub/api/test/SubscriptionCommandTest.php b/pubsub/api/test/SubscriptionCommandTest.php
deleted file mode 100644
index 4c1ddf3e47..0000000000
--- a/pubsub/api/test/SubscriptionCommandTest.php
+++ /dev/null
@@ -1,189 +0,0 @@
- 0;
- }
-
- public function testListSubscriptions()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$subscription = getenv('GOOGLE_PUBSUB_SUBSCRIPTION')) {
- $this->markTestSkipped('No pubsub subscription name');
- }
-
- $application = new Application();
- $application->add(new SubscriptionCommand());
- $commandTester = new CommandTester($application->get('subscription'));
- $commandTester->execute(
- [
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex(sprintf('/%s/', $subscription));
- }
-
- public function testCreateAndDeleteSubscription()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
- $subscription = 'test-subscription-' . rand();
- $application = new Application();
- $application->add(new SubscriptionCommand());
- $commandTester = new CommandTester($application->get('subscription'));
- $commandTester->execute(
- [
- 'subscription' => $subscription,
- '--topic' => $topic,
- '--create' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Subscription created:/');
- $this->expectOutputRegex(sprintf('/%s/', $subscription));
-
- $commandTester->execute(
- [
- 'subscription' => $subscription,
- '--delete' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Subscription deleted:/');
- $this->expectOutputRegex(sprintf('/%s/', $subscription));
- }
-
- public function testCreateAndDeletePushSubscription()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
- $subscription = 'test-subscription-' . rand();
- $application = new Application();
- $application->add(new SubscriptionCommand());
- $commandTester = new CommandTester($application->get('subscription'));
- $commandTester->execute(
- [
- 'subscription' => $subscription,
- '--topic' => $topic,
- '--endpoint' => 'https://example.com/receive_message',
- '--create' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Subscription created:/');
- $this->expectOutputRegex(sprintf('/%s/', $subscription));
-
- $commandTester->execute(
- [
- 'subscription' => $subscription,
- '--delete' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Subscription deleted:/');
- $this->expectOutputRegex(sprintf('/%s/', $subscription));
- }
-
- public function testPullMessages()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
- if (!$subscription = getenv('GOOGLE_PUBSUB_SUBSCRIPTION')) {
- $this->markTestSkipped('No pubsub subscription name');
- }
-
- $application = new Application();
- $application->add(new TopicCommand());
- $application->add(new SubscriptionCommand());
- $commandTester = new CommandTester($application->get('topic'));
- $commandTester->execute(
- [
- 'topic' => $topic,
- 'message' => 'This is a test message',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Message published/');
-
- $application->add(new SubscriptionCommand());
- $commandTester = new CommandTester($application->get('subscription'));
- $commandTester->execute(
- [
- 'subscription' => $subscription,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/This is a test message/');
- }
-}
diff --git a/pubsub/api/test/TopicCommandTest.php b/pubsub/api/test/TopicCommandTest.php
deleted file mode 100644
index 11a24af5a7..0000000000
--- a/pubsub/api/test/TopicCommandTest.php
+++ /dev/null
@@ -1,154 +0,0 @@
- 0;
- }
-
- public function testListTopics()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
-
- $application = new Application();
- $application->add(new TopicCommand());
- $commandTester = new CommandTester($application->get('topic'));
- $commandTester->execute(
- [
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex(sprintf('/%s/', $topic));
- }
-
- /**
- * @expectedException Exception
- * @expectedExceptionMessage Must provide "--create", "--delete" or "message" with topic name
- */
- public function testGetTopicThrowsException()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
-
- $application = new Application();
- $application->add(new TopicCommand());
- $commandTester = new CommandTester($application->get('topic'));
- $commandTester->execute(
- [
- 'topic' => $topic,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
- }
-
- public function testCreateAndDeleteTopic()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- $topic = 'test-topic-' . rand();
- $application = new Application();
- $application->add(new TopicCommand());
- $commandTester = new CommandTester($application->get('topic'));
- $commandTester->execute(
- [
- 'topic' => $topic,
- '--create' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Topic created:/');
- $this->expectOutputRegex(sprintf('/%s/', $topic));
-
- $commandTester->execute(
- [
- 'topic' => $topic,
- '--delete' => true,
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Topic deleted:/');
- $this->expectOutputRegex(sprintf('/%s/', $topic));
- }
-
- public function testTopicMessage()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$projectId = getenv('GOOGLE_PROJECT_ID')) {
- $this->markTestSkipped('No project ID');
- }
- if (!$topic = getenv('GOOGLE_PUBSUB_TOPIC')) {
- $this->markTestSkipped('No pubsub topic name');
- }
-
- $application = new Application();
- $application->add(new TopicCommand());
- $commandTester = new CommandTester($application->get('topic'));
- $commandTester->execute(
- [
- 'topic' => $topic,
- 'message' => 'This is a test message',
- '--project' => $projectId,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex('/Message published/');
- }
-}
diff --git a/pubsub/app/README.md b/pubsub/app/README.md
deleted file mode 100644
index 024a62ac20..0000000000
--- a/pubsub/app/README.md
+++ /dev/null
@@ -1,94 +0,0 @@
-# Google PubSub PHP Sample Application
-
-## Description
-
-Note: The push endpoints don't work with the App Engine's local
-devserver. The push notifications will go to an HTTP URL on the App
-Engine server even when you run this sample locally. So we recommend
-you deploy and run the app on App Engine.
-
-## Register your application
-
-- Go to
- [Google Developers Console](https://console.developers.google.com/project)
- and create a new project. This will automatically enable an App
- Engine application with the same ID as the project.
-
-- Enable the "Google Cloud Pub/Sub" API under "APIs & auth > APIs."
-
-## Prerequisites
-
-- Install [`composer`](https://getcomposer.org)
-- Install the App Engine Python SDK.
- We recommend you install
- [Cloud SDK](https://developers.google.com/cloud/sdk/) rather than
- just installing App Engine SDK.
-- Create the topic "php-example-topic" and create a subscription to that topic
- with the name "php-example-subscription".
- - Use the [pubsub CLI](../cli) or the
- [Developer Console](https://console.developer.google.com)
- - To use Push Subscriptions, register your subscription with the
- endpoint `https://{YOUR_PROJECT_NAME}.appspot.com/receive_message`
-- Install dependencies by running:
-
-```
-$ composer install
-```
-
-## Local Development
-
-- Go to "Credentials" and create a new Service Account.
-- Select "Generate new JSON key", then download a new JSON file.
-- Set the following environment variable:
- - `GOOGLE_APPLICATION_CREDENTIALS`: the file path to the downloaded JSON file.
- - `GOOGLE_PROJECT_ID`: your project ID.
-
-Run the PHP build-in web server with the following command:
-
-```
-$ php -S localhost:8080
-```
-
-Now browse to [localhost:8080](http://localhost:8080) in your browser.
-
-## Deploy to App Engine Standard
-
-- Change `YOUR_PROJECT_ID` in `app.yaml` to your project ID.
-
-Run the following gcloud command to deploy your app:
-
-```
-$ gcloud app deploy
-```
-
-Then access the following URL:
- https://{YOUR_PROJECT_NAME}.appspot.com/
-
-## Deploy to App Engine Flexible
-
-- Change `YOUR_PROJECT_ID` in `app.yaml.flexible` to your project ID.
-
-Run the following gcloud command to deploy your app:
-
-```
-$ gcloud app deploy app.yaml.flexible
-```
-
-Then access the following URL:
- https://{YOUR_PROJECT_NAME}.appspot.com/
-
-## Run using Dev Appserver
-
-```
-$ dev_appserver.py -A your-project-name .
-```
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
-
-
diff --git a/pubsub/app/app.php b/pubsub/app/app.php
deleted file mode 100644
index 86b378d20d..0000000000
--- a/pubsub/app/app.php
+++ /dev/null
@@ -1,116 +0,0 @@
-register(new TwigServiceProvider());
-$app['twig.path'] = [ __DIR__ ];
-
-$app->get('/', function () use ($app) {
- return $app['twig']->render('pubsub.html.twig', [
- 'project_id' => $app['project_id'],
- ]);
-});
-
-$app->get('/fetch_messages', function () use ($app) {
- // get PUSH pubsub messages
- $projectId = $app['project_id'];
- $subscriptionName = $app['subscription'];
- $datastore = $app['datastore'];
- $query = $datastore->query()->kind('PubSubPushMessage');
- $messages = [];
- $pushKeys = [];
- foreach ($datastore->runQuery($query) as $pushMessage) {
- $pushKeys[] = $pushMessage->key();
- $messages[] = $pushMessage['message'];
- }
- // delete PUSH messages
- if ($pushKeys) {
- $datastore->deleteBatch($pushKeys);
- }
- # [START pull]
- // get PULL pubsub messages
- $pubsub = new PubSubClient([
- 'projectId' => $projectId,
- ]);
- $subscription = $pubsub->subscription($subscriptionName);
- $pullMessages = [];
- foreach ($subscription->pull(['returnImmediately' => true]) as $pullMessage) {
- $pullMessages[] = $pullMessage;
- $messages[] = $pullMessage->data();
- }
- // acknowledge PULL messages
- if ($pullMessages) {
- $subscription->acknowledgeBatch($pullMessages);
- }
- # [END pull]
- return new JsonResponse($messages);
-});
-
-$app->post('/receive_message', function () use ($app) {
- # [START receive]
- // pull the message from the post body
- $json = $app['request']->getContent();
- $request = json_decode($json, true);
- if (
- !isset($request['message']['data'])
- || !$message = base64_decode($request['message']['data'])
- ) {
- return new Response('', 400);
- }
- # [END receive]
- // store the push message in datastore
- $datastore = $app['datastore'];
- $message = $datastore->entity('PubSubPushMessage', [
- 'message' => $message
- ]);
- $datastore->insert($message);
- return new Response();
-});
-
-$app->post('/send_message', function () use ($app) {
- $projectId = $app['project_id'];
- $topicName = $app['topic'];
- # [START send]
- if ($message = $app['request']->get('message')) {
- // Publish the pubsub message to the topic
- $pubsub = new PubSubClient([
- 'projectId' => $projectId,
- ]);
- $topic = $pubsub->topic($topicName);
- $response = $topic->publish(['data' => $message]);
- return new Response('', 204);
- }
- # [END send]
- return new Response('', 400);
-});
-
-$app['datastore'] = function () use ($app) {
- return new DatastoreClient([
- 'projectId' => $app['project_id'],
- ]);
-};
-
-return $app;
diff --git a/pubsub/app/app.yaml b/pubsub/app/app.yaml
deleted file mode 100644
index 7a004b4920..0000000000
--- a/pubsub/app/app.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-runtime: php55
-api_version: 1
-threadsafe: true
-
-handlers:
-- url: pubsub.js
- static_file: pubsub.js
-- url: /.*
- script: index.php
-
-env_variables:
- GOOGLE_PROJECT_ID: "YOUR_PROJECT_ID"
diff --git a/pubsub/app/app.yaml.flexible b/pubsub/app/app.yaml.flexible
deleted file mode 100644
index 9c3ea597a8..0000000000
--- a/pubsub/app/app.yaml.flexible
+++ /dev/null
@@ -1,2 +0,0 @@
-runtime: php
-env: flex
diff --git a/pubsub/app/composer.json b/pubsub/app/composer.json
deleted file mode 100644
index d821f56a8f..0000000000
--- a/pubsub/app/composer.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "require": {
- "php": ">=5.4",
- "google/cloud-pubsub": "^0.5",
- "google/cloud-datastore": "^1.0",
- "silex/silex": "~1.3",
- "symfony/twig-bridge": "~2.7|3.0.*",
- "twig/twig": "~1.8|~2.0"
- },
- "require-dev": {
- "google/cloud-tools": "^0.6",
- "paragonie/random_compat": "^2.0",
- "symfony/browser-kit": "~2.7",
- "phpunit/phpunit": " ~4.1"
- }
-}
diff --git a/pubsub/app/composer.lock b/pubsub/app/composer.lock
deleted file mode 100644
index 54c6c69ca7..0000000000
--- a/pubsub/app/composer.lock
+++ /dev/null
@@ -1,2712 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "fa7dc11d8118d544832721e887e21059",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "google/cloud-datastore",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-datastore.git",
- "reference": "f9e11c4582b5f0abca9397864ed0b0b48432c61f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-datastore/zipball/f9e11c4582b5f0abca9397864ed0b0b48432c61f",
- "reference": "f9e11c4582b5f0abca9397864ed0b0b48432c61f",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-datastore",
- "target": "GoogleCloudPlatform/google-cloud-php-datastore.git",
- "path": "src/Datastore",
- "entry": "DatastoreClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Datastore\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Datastore Client for PHP",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "google/cloud-pubsub",
- "version": "v0.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-pubsub.git",
- "reference": "5d647b2c3cf571fa3a400603179685a82a6cd076"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-pubsub/zipball/5d647b2c3cf571fa3a400603179685a82a6cd076",
- "reference": "5d647b2c3cf571fa3a400603179685a82a6cd076",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/gax": "Required to support gRPC",
- "google/proto-client-php": "Required to support gRPC"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-pubsub",
- "target": "GoogleCloudPlatform/google-cloud-php-pubsub.git",
- "path": "src/PubSub",
- "entry": "PubSubClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\PubSub\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud PubSub Client for PHP",
- "time": "2017-05-22T16:18:33+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "pimple/pimple",
- "version": "v1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/silexphp/Pimple.git",
- "reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/silexphp/Pimple/zipball/2019c145fe393923f3441b23f29bbdfaa5c58c4d",
- "reference": "2019c145fe393923f3441b23f29bbdfaa5c58c4d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Pimple": "lib/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- }
- ],
- "description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
- "homepage": "http://pimple.sensiolabs.org/",
- "keywords": [
- "container",
- "dependency injection"
- ],
- "time": "2013-11-22T08:30:29+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- },
- {
- "name": "silex/silex",
- "version": "v1.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/silexphp/Silex.git",
- "reference": "ff8aa6bc2e066e14b07e0c63e9bd9dd1458af136"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/silexphp/Silex/zipball/ff8aa6bc2e066e14b07e0c63e9bd9dd1458af136",
- "reference": "ff8aa6bc2e066e14b07e0c63e9bd9dd1458af136",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "pimple/pimple": "~1.0",
- "symfony/event-dispatcher": "~2.3|3.0.*",
- "symfony/http-foundation": "~2.3|3.0.*",
- "symfony/http-kernel": "~2.3|3.0.*",
- "symfony/routing": "~2.3|3.0.*"
- },
- "require-dev": {
- "doctrine/dbal": "~2.2",
- "monolog/monolog": "^1.4.1",
- "swiftmailer/swiftmailer": "~5",
- "symfony/browser-kit": "~2.3|3.0.*",
- "symfony/config": "~2.3|3.0.*",
- "symfony/css-selector": "~2.3|3.0.*",
- "symfony/debug": "~2.3|3.0.*",
- "symfony/dom-crawler": "~2.3|3.0.*",
- "symfony/finder": "~2.3|3.0.*",
- "symfony/form": "~2.3|3.0.*",
- "symfony/intl": "~2.3|3.0.*",
- "symfony/monolog-bridge": "~2.3|3.0.*",
- "symfony/options-resolver": "~2.3|3.0.*",
- "symfony/phpunit-bridge": "~2.7",
- "symfony/process": "~2.3|3.0.*",
- "symfony/security": "~2.3|3.0.*",
- "symfony/serializer": "~2.3|3.0.*",
- "symfony/translation": "~2.3|3.0.*",
- "symfony/twig-bridge": "~2.3|3.0.*",
- "symfony/validator": "~2.3|3.0.*",
- "twig/twig": "~1.28|~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Silex\\": "src/Silex"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Igor Wiedler",
- "email": "igor@wiedler.ch"
- }
- ],
- "description": "The PHP micro-framework based on the Symfony Components",
- "homepage": "http://silex.sensiolabs.org/",
- "keywords": [
- "microframework"
- ],
- "time": "2017-04-30T16:26:54+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/e9c50482841ef696e8fa1470d950a79c8921f45d",
- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-01T21:01:25+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00",
- "reference": "54da3ff63dec3c9c0e32ec3f95a7d94ef64baa00",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-19T10:44:15+00:00"
- },
- {
- "name": "symfony/http-foundation",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-foundation.git",
- "reference": "49ba00f8ede742169cb6b70abe33243f4d673f82"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49ba00f8ede742169cb6b70abe33243f4d673f82",
- "reference": "49ba00f8ede742169cb6b70abe33243f4d673f82",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.1"
- },
- "require-dev": {
- "symfony/expression-language": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpFoundation\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpFoundation Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-17T13:54:30+00:00"
- },
- {
- "name": "symfony/http-kernel",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/http-kernel.git",
- "reference": "d97ba4425e36e79c794e7d14ff36f00f081b37b3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d97ba4425e36e79c794e7d14ff36f00f081b37b3",
- "reference": "d97ba4425e36e79c794e7d14ff36f00f081b37b3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0",
- "symfony/debug": "~2.8|~3.0",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8.8|~3.0.8|~3.1.2|~3.2"
- },
- "conflict": {
- "symfony/config": "<2.8"
- },
- "require-dev": {
- "symfony/browser-kit": "~2.8|~3.0",
- "symfony/class-loader": "~2.8|~3.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/console": "~2.8|~3.0",
- "symfony/css-selector": "~2.8|~3.0",
- "symfony/dependency-injection": "~2.8|~3.0",
- "symfony/dom-crawler": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/finder": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0",
- "symfony/routing": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0",
- "symfony/templating": "~2.8|~3.0",
- "symfony/translation": "~2.8|~3.0",
- "symfony/var-dumper": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/browser-kit": "",
- "symfony/class-loader": "",
- "symfony/config": "",
- "symfony/console": "",
- "symfony/dependency-injection": "",
- "symfony/finder": "",
- "symfony/var-dumper": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\HttpKernel\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony HttpKernel Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-30T09:10:37+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- },
- {
- "name": "symfony/routing",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/routing.git",
- "reference": "9038984bd9c05ab07280121e9e10f61a7231457b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/9038984bd9c05ab07280121e9e10f61a7231457b",
- "reference": "9038984bd9c05ab07280121e9e10f61a7231457b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "conflict": {
- "symfony/config": "<2.8"
- },
- "require-dev": {
- "doctrine/annotations": "~1.0",
- "doctrine/common": "~2.2",
- "psr/log": "~1.0",
- "symfony/config": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/http-foundation": "~2.8|~3.0",
- "symfony/yaml": "~2.8|~3.0"
- },
- "suggest": {
- "doctrine/annotations": "For using the annotation loader",
- "symfony/config": "For using the all-in-one router or any loader",
- "symfony/dependency-injection": "For loading routes from a service",
- "symfony/expression-language": "For using expression matching",
- "symfony/http-foundation": "For using a Symfony Request object",
- "symfony/yaml": "For using the YAML loader"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Routing\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Routing Component",
- "homepage": "https://symfony.com/",
- "keywords": [
- "router",
- "routing",
- "uri",
- "url"
- ],
- "time": "2016-06-29T05:40:00+00:00"
- },
- {
- "name": "symfony/twig-bridge",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/twig-bridge.git",
- "reference": "34ddcc46f09f6564f03cb61134ee51f3b309aa58"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/34ddcc46f09f6564f03cb61134ee51f3b309aa58",
- "reference": "34ddcc46f09f6564f03cb61134ee51f3b309aa58",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "twig/twig": "~1.23|~2.0"
- },
- "require-dev": {
- "symfony/asset": "~2.8|~3.0",
- "symfony/console": "~2.8|~3.0",
- "symfony/expression-language": "~2.8|~3.0",
- "symfony/finder": "~2.8|~3.0",
- "symfony/form": "~3.0.4",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/polyfill-intl-icu": "~1.0",
- "symfony/routing": "~2.8|~3.0",
- "symfony/security": "~2.8|~3.0",
- "symfony/security-acl": "~2.8|~3.0",
- "symfony/stopwatch": "~2.8|~3.0",
- "symfony/templating": "~2.8|~3.0",
- "symfony/translation": "~2.8|~3.0",
- "symfony/var-dumper": "~2.8.9|~3.0.9|~3.1.3|~3.2",
- "symfony/yaml": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/asset": "For using the AssetExtension",
- "symfony/expression-language": "For using the ExpressionExtension",
- "symfony/finder": "",
- "symfony/form": "For using the FormExtension",
- "symfony/http-kernel": "For using the HttpKernelExtension",
- "symfony/routing": "For using the RoutingExtension",
- "symfony/security": "For using the SecurityExtension",
- "symfony/stopwatch": "For using the StopwatchExtension",
- "symfony/templating": "For using the TwigEngine",
- "symfony/translation": "For using the TranslationExtension",
- "symfony/var-dumper": "For using the DumpExtension",
- "symfony/yaml": "For using the YamlExtension"
- },
- "type": "symfony-bridge",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Bridge\\Twig\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Twig Bridge",
- "homepage": "https://symfony.com/",
- "time": "2016-07-28T11:13:34+00:00"
- },
- {
- "name": "twig/twig",
- "version": "v1.34.3",
- "source": {
- "type": "git",
- "url": "https://github.com/twigphp/Twig.git",
- "reference": "451c6f4197e113e24c1c85bc3fc8c2d77adeff2e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/twigphp/Twig/zipball/451c6f4197e113e24c1c85bc3fc8c2d77adeff2e",
- "reference": "451c6f4197e113e24c1c85bc3fc8c2d77adeff2e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "psr/container": "^1.0",
- "symfony/debug": "~2.7",
- "symfony/phpunit-bridge": "~3.3@dev"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.34-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Twig_": "lib/"
- },
- "psr-4": {
- "Twig\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com",
- "homepage": "http://fabien.potencier.org/",
- "role": "Lead Developer"
- },
- {
- "name": "Armin Ronacher",
- "email": "armin.ronacher@active-4.com",
- "role": "Project Founder"
- },
- {
- "name": "Twig Team",
- "homepage": "http://twig.sensiolabs.org/contributors",
- "role": "Contributors"
- }
- ],
- "description": "Twig, the flexible, fast, and secure template language for PHP",
- "homepage": "http://twig.sensiolabs.org/",
- "keywords": [
- "templating"
- ],
- "time": "2017-06-07T18:45:17+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "google/cloud-tools",
- "version": "v0.6.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/php-tools.git",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/php-tools/zipball/90ecc5e371673078cf0fc71d442fd21415c277c3",
- "reference": "90ecc5e371673078cf0fc71d442fd21415c277c3",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "php": ">=5.5",
- "phpunit/phpunit": "~4|~5",
- "symfony/browser-kit": "~2|~3",
- "symfony/process": "~2|~3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\TestUtils\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "authors": [
- {
- "name": "Takashi Matsuo",
- "email": "tmatsuo@google.com",
- "homepage": "https://wp.gaeflex.ninja/"
- }
- ],
- "description": "PHP tools for Google Cloud Platform",
- "homepage": "https://github.com/GoogleCloudPlatform/php-tools",
- "keywords": [
- "appengine",
- "gcp",
- "test"
- ],
- "time": "2017-02-23T22:19:51+00:00"
- },
- {
- "name": "paragonie/random_compat",
- "version": "v2.0.10",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d",
- "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*|5.*"
- },
- "suggest": {
- "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
- },
- "type": "library",
- "autoload": {
- "files": [
- "lib/random.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com/"
- }
- ],
- "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
- "keywords": [
- "csprng",
- "pseudorandom",
- "random"
- ],
- "time": "2017-03-13T16:27:32+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/browser-kit",
- "version": "v2.8.22",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/browser-kit.git",
- "reference": "4386755566fc8d29bddf89694663b0e96cb01e61"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/4386755566fc8d29bddf89694663b0e96cb01e61",
- "reference": "4386755566fc8d29bddf89694663b0e96cb01e61",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/dom-crawler": "~2.1|~3.0.0"
- },
- "require-dev": {
- "symfony/css-selector": "^2.0.5|~3.0.0",
- "symfony/process": "~2.3.34|^2.7.6|~3.0.0"
- },
- "suggest": {
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.8-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\BrowserKit\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony BrowserKit Component",
- "homepage": "https://symfony.com/",
- "time": "2017-04-12T14:07:15+00:00"
- },
- {
- "name": "symfony/dom-crawler",
- "version": "v3.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/dom-crawler.git",
- "reference": "dff8fecf1f56990d88058e3a1885c2a5f1b8e970"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/dff8fecf1f56990d88058e3a1885c2a5f1b8e970",
- "reference": "dff8fecf1f56990d88058e3a1885c2a5f1b8e970",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "require-dev": {
- "symfony/css-selector": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/css-selector": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\DomCrawler\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony DomCrawler Component",
- "homepage": "https://symfony.com/",
- "time": "2016-07-30T07:22:48+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "8e30690c67aafb6c7992d6d8eb0d707807dd3eaf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/8e30690c67aafb6c7992d6d8eb0d707807dd3eaf",
- "reference": "8e30690c67aafb6c7992d6d8eb0d707807dd3eaf",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Process Component",
- "homepage": "https://symfony.com/",
- "time": "2017-05-22T12:32:03+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T22:05:06+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/pubsub/app/index.php b/pubsub/app/index.php
deleted file mode 100644
index 28e39d2371..0000000000
--- a/pubsub/app/index.php
+++ /dev/null
@@ -1,31 +0,0 @@
-run();
diff --git a/pubsub/app/phpunit.xml.dist b/pubsub/app/phpunit.xml.dist
deleted file mode 100644
index 7123ce295a..0000000000
--- a/pubsub/app/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- app.php
-
-
-
diff --git a/pubsub/app/pubsub.html.twig b/pubsub/app/pubsub.html.twig
deleted file mode 100644
index 4a546f8510..0000000000
--- a/pubsub/app/pubsub.html.twig
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
- Hello Cloud Pub/Sub
-
-
-
- Hello Cloud Pub/Sub!
-
- Project: {{ project_id }}
-
-
- Send message
-
- Stop auto update
-
-
- Start auto update
-
- {{ "{{ PubsubController.errorNotice }}" }}
-
- Messages:
-
-
-
-
-
diff --git a/pubsub/app/pubsub.js b/pubsub/app/pubsub.js
deleted file mode 100644
index 78eb7cd0d5..0000000000
--- a/pubsub/app/pubsub.js
+++ /dev/null
@@ -1,91 +0,0 @@
-
-'use strict';
-
-var pubsub = pubsub || angular.module('pubsub', []);
-
-/**
- * PubsubController.
- *
- * @NgInject
- */
-pubsub.PubsubController = function($http, $log, $timeout) {
- this.promise = null;
- this.logger = $log;
- this.http = $http;
- this.isAutoUpdating = true;
- this.failCount = 0;
- this.hasAttemptedToCreateTopicAndSubscription = false;
- this.messages = [];
- this.fetchMessages();
-};
-
-pubsub.PubsubController.MAX_FAILURE_COUNT = 3;
-
-pubsub.PubsubController.TIMEOUT_MULTIPLIER = 1000;
-
-/**
- * Toggles the auto update flag.
- */
-pubsub.PubsubController.prototype.toggleAutoUpdate = function() {
- this.isAutoUpdating = !this.isAutoUpdating;
- if (this.isAutoUpdating) {
- this.logger.info('Start fetching.');
- this.fetchMessages();
- }
-};
-
-/**
- * Sends a message
- *
- * @param {string} message
- */
-pubsub.PubsubController.prototype.sendMessage = function(message) {
- var self = this;
- self.http({
- method: 'POST',
- url: '/send_message',
- data: 'message=' + encodeURIComponent(message),
- headers: {'Content-Type': 'application/x-www-form-urlencoded'}
- }).success(function(data, status) {
- self.message = null;
- }).error(function(data, status) {
- self.logger.error('Failed to send the message. Status: ' + status + '.');
- if (!self.hasAttemptedToCreateTopicAndSubscription) {
- // Try to create the topic and subscription once.
- self.hasAttemptedToCreateTopicAndSubscription = true;
- self.logger.info('Trying to create the topic and subscription...');
- self.http({
- method: 'POST',
- url: '/create_topic_and_subscription'
- }).success(function(data, status) {
- // Try one more time to send the message.
- self.sendMessage(message);
- }).error(function(data, status) {
- self.logger.error('Failed to create the topic and subscription. ' +
- 'Status: ' + status + '.');
- });
- }
- });
-};
-
-/**
- * Continuously fetches messages from the server.
- */
-pubsub.PubsubController.prototype.fetchMessages = function() {
- if (!this.isAutoUpdating) {
- return;
- }
- var self = this;
- self.http.get('/fetch_messages')
- .success(function(data, status) {
- self.messages.push.apply(self.messages, data);
- self.failCount = 0;
- self.fetchMessages();
- })
- .error(function(data, status) {
- self.logger.error('Failed to receive the messages. Status: ' +
- status + '.');
- self.failCount += 1;
- self.fetchMessages();
- });
-};
diff --git a/pubsub/app/sample_message.json b/pubsub/app/sample_message.json
deleted file mode 100644
index 8fe62d23fb..0000000000
--- a/pubsub/app/sample_message.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "message": {
- "data": "SGVsbG8sIFdvcmxkIQ=="
- }
-}
diff --git a/pubsub/app/test/DeployAppEngineFlexTest.php b/pubsub/app/test/DeployAppEngineFlexTest.php
deleted file mode 100644
index ae6121c567..0000000000
--- a/pubsub/app/test/DeployAppEngineFlexTest.php
+++ /dev/null
@@ -1,63 +0,0 @@
-setDir($tmpDir);
- chdir($tmpDir);
- }
-
- public function testIndex()
- {
- // Access the modules app top page.
- $resp = $this->client->get('/');
- $this->assertEquals('200', $resp->getStatusCode(),
- 'top page status code');
- }
-
- public function testSendMessage()
- {
- $resp = $this->client->request('POST', '/send_message', [
- 'form_params' => [
- 'message' => 'Good day!'
- ]
- ]);
-
- $this->assertEquals('204', $resp->getStatusCode(),
- '/send_message status code');
- }
-
- public function testReceiveMessage()
- {
- $resp = $this->client->request('POST', '/receive_message', [
- 'body' => json_encode(['message' => ['data' => 'Bye.']]),
- ]
- );
- $this->assertEquals('200', $resp->getStatusCode(),
- '/receive_message status code');
- }
-}
diff --git a/pubsub/app/test/appTest.php b/pubsub/app/test/appTest.php
deleted file mode 100644
index f20cac1dde..0000000000
--- a/pubsub/app/test/appTest.php
+++ /dev/null
@@ -1,95 +0,0 @@
-markTestSkipped('credentials not found');
- }
- if (empty($app['topic']) || empty($app['subscription'])) {
- $this->markTestSkipped('topic or subscription not set');
- }
-
- // prevent HTML error exceptions
- unset($app['exception_handler']);
-
- return $app;
- }
-
- public function testInitialPage()
- {
- // create the application
- $client = $this->createClient();
-
- // make the request
- $crawler = $client->request('GET', '/');
-
- // test the response
- $this->assertTrue($client->getResponse()->isOk());
- }
-
- public function testFetchMessages()
- {
- // create the application
- $app = $this->createApplication();
- $client = new Client($app);
-
- // make the request
- $crawler = $client->request('GET', '/fetch_messages');
-
- // test the response
- $response = $client->getResponse();
- $this->assertTrue($response->isOk());
- $this->assertInstanceOf('Symfony\Component\HttpFoundation\JsonResponse', $response);
- $this->assertTrue(is_array(json_decode($response->getContent())));
- }
-
- public function testSendMessage()
- { // create the application
- $app = $this->createApplication();
- $client = new Client($app);
-
- // make the request
- $crawler = $client->request('POST', '/send_message', ['message' => 'foo']);
-
- // test the response
- $response = $client->getResponse();
- $this->assertEquals(204, $response->getStatusCode());
- }
-}
diff --git a/pubsub/app/test/bootstrap.php b/pubsub/app/test/bootstrap.php
deleted file mode 100644
index de064f4954..0000000000
--- a/pubsub/app/test/bootstrap.php
+++ /dev/null
@@ -1,18 +0,0 @@
-=5.4",
- "google/cloud-pubsub": "^0.5"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/pubsub/quickstart/composer.lock b/pubsub/quickstart/composer.lock
deleted file mode 100644
index cda7878d28..0000000000
--- a/pubsub/quickstart/composer.lock
+++ /dev/null
@@ -1,1760 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "2f6fc235b61eb520d33ce75c89fd8e7f",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "google/cloud-pubsub",
- "version": "v0.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-pubsub.git",
- "reference": "5d647b2c3cf571fa3a400603179685a82a6cd076"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-pubsub/zipball/5d647b2c3cf571fa3a400603179685a82a6cd076",
- "reference": "5d647b2c3cf571fa3a400603179685a82a6cd076",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/gax": "Required to support gRPC",
- "google/proto-client-php": "Required to support gRPC"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-pubsub",
- "target": "GoogleCloudPlatform/google-cloud-php-pubsub.git",
- "path": "src/PubSub",
- "entry": "PubSubClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\PubSub\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud PubSub Client for PHP",
- "time": "2017-05-22T16:18:33+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T22:05:06+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/pubsub/quickstart/phpunit.xml.dist b/pubsub/quickstart/phpunit.xml.dist
deleted file mode 100644
index e051d0c180..0000000000
--- a/pubsub/quickstart/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- quickstart.php
-
-
-
diff --git a/pubsub/quickstart/quickstart.php b/pubsub/quickstart/quickstart.php
deleted file mode 100644
index 5f4152a21e..0000000000
--- a/pubsub/quickstart/quickstart.php
+++ /dev/null
@@ -1,41 +0,0 @@
- $projectId
-]);
-
-# The name for the new topic
-$topicName = 'my-new-topic';
-
-# Creates the new topic
-$topic = $pubsub->createTopic($topicName);
-
-echo 'Topic ' . $topic->name() . ' created.';
-# [END pubsub_quickstart]
-return $topic;
diff --git a/pubsub/quickstart/test/quickstartTest.php b/pubsub/quickstart/test/quickstartTest.php
deleted file mode 100644
index fd5b06a0e7..0000000000
--- a/pubsub/quickstart/test/quickstartTest.php
+++ /dev/null
@@ -1,51 +0,0 @@
-markTestSkipped('GOOGLE_APPLICATION_CREDENTIALS must be set.');
- }
-
- $topicName = 'my-new-topic-' . time();
- $file = sys_get_temp_dir() . '/pubsub_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['my-new-topic', 'YOUR_PROJECT_ID', '__DIR__'],
- [$topicName, $projectId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
- $this->topic = include $file;
-
- // Make sure it looks correct
- $this->assertInstanceOf('Google\Cloud\PubSub\Topic', $this->topic);
- $this->assertContains($topicName, $this->topic->name());
- }
-
- public function tearDown()
- {
- if ($this->topic) {
- $this->topic->delete();
- }
- }
-}
diff --git a/speech/README.md b/speech/README.md
deleted file mode 100644
index 150a0958d1..0000000000
--- a/speech/README.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# Google Cloud Speech API Samples
-
-These samples show how to use the [Google Cloud Speech API][speech-api]
-to transcribe audio files, as well as live audio from your computer's
-microphone.
-
-This repository contains samples that use the [Google Cloud
-Library for PHP][google-cloud-php] to make REST calls as well as
-contains samples using the more-efficient (though sometimes more
-complex) [GRPC][grpc] API. The GRPC API also allows streaming requests.
-
-## Installation
-
-Install the dependencies for this library via [composer](https://getcomposer.org)
-
- $ cd /path/to/php-docs-samples/speech
- $ composer install
-
-Configure your project using [Application Default Credentials][adc]
-
- $ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
-
-## Usage
-
-To run the Speech Samples:
-
- $ php speech.php
-
- Cloud Speech
-
- Usage:
- command [options] [arguments]
-
- Options:
- -h, --help Display this help message
- -q, --quiet Do not output any message
- -V, --version Display this application version
- --ansi Force ANSI output
- --no-ansi Disable ANSI output
- -n, --no-interaction Do not ask any interactive question
- -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
-
- Available commands:
- help Displays help for a command
- list Lists commands
- transcribe Transcribe an audio file using Google Cloud Speech API
- transcribe-async Transcribe an audio file asynchronously using Google Cloud Speech API
- transcribe-async-gcs Transcribe audio asynchronously from a Storage Object using Google Cloud Speech API
- transcribe-async-words Transcribe an audio file asynchronously and print word time offsets using Google Cloud Speech API
- transcribe-gcs Transcribe audio from a Storage Object using Google Cloud Speech API
- transcribe-stream Transcribe a stream of audio using Google Cloud Speech API
- transcribe-words Transcribe an audio file and print word time offsets using Google Cloud Speech API
-
-Once you have a speech sample in the proper format, send it through the speech
-API using the transcribe command:
-
-```sh
-php speech.php transcribe test/data/audio32KHz.raw --encoding LINEAR16 --sample-rate 32000
-php speech.php transcribe-async test/data/audio32KHz.flac --encoding FLAC --sample-rate 32000
-php speech.php transcribe-words test/data/audio32KHz.flac --encoding FLAC --sample-rate 32000
-
-```
-## Troubleshooting
-
-If you get the following error, set the environment variable `GCLOUD_PROJECT` to your project ID:
-
-```
-[Google\Cloud\Core\Exception\GoogleException]
-No project ID was provided, and we were unable to detect a default project ID.
-```
-
-If you have not set a timezone you may get an error from php. This can be resolved by:
-
- 1. Finding where the php.ini is stored by running php -i | grep 'Configuration File'
- 1. Finding out your timezone from the list on this page: http://php.net/manual/en/timezones.php
- 1. Editing the php.ini file (or creating one if it doesn't exist)
- 1. Adding the timezone to the php.ini file e.g., adding the following line: date.timezone = "America/Los_Angeles"
-
-[speech-api]: http://cloud.google.com/speech
-[google-cloud-php]: https://googlecloudplatform.github.io/google-cloud-php/
-[choose-encoding]: https://cloud.google.com/speech/docs/best-practices#choosing_an_audio_encoding
-[sox]: http://sox.sourceforge.net/
-[grpc]: http://grpc.io
-[adc]: https://developers.google.com/identity/protocols/application-default-credentials
diff --git a/speech/composer.json b/speech/composer.json
deleted file mode 100644
index 94cfc96238..0000000000
--- a/speech/composer.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "require": {
- "google/cloud-speech": "^0.6",
- "google/cloud-storage": "^1.1.3",
- "symfony/console": "^3.0",
- "google/gax": "^0.21.2",
- "google/proto-client": "^0.22.0"
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Samples\\Speech\\": "src/"
- },
- "files": [
- "src/streaming_recognize.php",
- "src/transcribe_async.php",
- "src/transcribe_async_gcs.php",
- "src/transcribe_async_words.php",
- "src/transcribe_sync.php",
- "src/transcribe_sync_gcs.php",
- "src/transcribe_sync_words.php"
- ]
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/speech/composer.lock b/speech/composer.lock
deleted file mode 100644
index 0e2ee01947..0000000000
--- a/speech/composer.lock
+++ /dev/null
@@ -1,2159 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "b5bf738087fd27c6b516ee2b03768ad0",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v5.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/9984a4d3a32ae7673d6971ea00bae9d0a1abba0e",
- "reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": " 4.8.35"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2017-06-27T22:17:23+00:00"
- },
- {
- "name": "google/auth",
- "version": "v1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "db8e3022a308cb0e988026d38e67b91a42b41622"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/db8e3022a308cb0e988026d38e67b91a42b41622",
- "reference": "db8e3022a308cb0e988026d38e67b91a42b41622",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0",
- "guzzlehttp/guzzle": "~5.3.1|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2017-07-31T16:34:40+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "30fe5b3b2613cb467ab18363165e290427b2ee3b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/30fe5b3b2613cb467ab18363165e290427b2ee3b",
- "reference": "30fe5b3b2613cb467ab18363165e290427b2ee3b",
- "shasum": ""
- },
- "require": {
- "google/auth": "~0.9|^1.0",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "bin": [
- "bin/google-cloud-batch"
- ],
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-07-18T00:02:56+00:00"
- },
- {
- "name": "google/cloud-speech",
- "version": "v0.6.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-speech.git",
- "reference": "833936be37a911040b8d5d30e7c1595c13170fc9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-speech/zipball/833936be37a911040b8d5d30e7c1595c13170fc9",
- "reference": "833936be37a911040b8d5d30e7c1595c13170fc9",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/cloud-storage": "Run operations on files stored in Google Cloud Storage",
- "google/gax": "Required to support gRPC",
- "google/proto-client": "Required to support gRPC"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-speech",
- "target": "GoogleCloudPlatform/google-cloud-php-speech.git",
- "path": "src/Speech",
- "entry": "SpeechClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Speech\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Speech Client for PHP",
- "time": "2017-07-12T00:04:55+00:00"
- },
- {
- "name": "google/cloud-storage",
- "version": "v1.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-storage.git",
- "reference": "b1adf92a54c6c72a19809ae0ab767f317035eb19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-storage/zipball/b1adf92a54c6c72a19809ae0ab767f317035eb19",
- "reference": "b1adf92a54c6c72a19809ae0ab767f317035eb19",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "phpseclib/phpseclib": "May be used in place of OpenSSL for creating signed Cloud Storage URLs. Please require version ^2."
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-storage",
- "target": "GoogleCloudPlatform/google-cloud-php-storage.git",
- "path": "src/Storage",
- "entry": "StorageClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Storage\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Storage Client for PHP",
- "time": "2017-07-12T18:33:11+00:00"
- },
- {
- "name": "google/gax",
- "version": "0.21.2",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/gax-php.git",
- "reference": "74e33a8c8532d27e80018d48b133d1caacf151fc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/gax-php/zipball/74e33a8c8532d27e80018d48b133d1caacf151fc",
- "reference": "74e33a8c8532d27e80018d48b133d1caacf151fc",
- "shasum": ""
- },
- "require": {
- "google/auth": "~0.9|^1.0",
- "google/protobuf": "^3.3.2",
- "grpc/grpc": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "4.8.*",
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\GAX\\": "src/",
- "Google\\GAX\\UnitTests\\": "tests/",
- "Google\\": "src/generated/Google/",
- "GPBMetadata\\": "src/generated/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Google API Extensions for PHP",
- "homepage": "https://github.com/googleapis/gax-php",
- "keywords": [
- "google"
- ],
- "time": "2017-07-17T20:12:04+00:00"
- },
- {
- "name": "google/proto-client",
- "version": "0.22.0",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/proto-client-php.git",
- "reference": "a0b9515c8321c03a8e43293c41f76e1a7418570a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/proto-client-php/zipball/a0b9515c8321c03a8e43293c41f76e1a7418570a",
- "reference": "a0b9515c8321c03a8e43293c41f76e1a7418570a",
- "shasum": ""
- },
- "require": {
- "google/protobuf": "^3.3.2",
- "php": ">=5.5"
- },
- "require-dev": {
- "google/gax": ">=0.20.0",
- "phpunit/phpunit": "4.8.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\": "src/Google/",
- "GPBMetadata\\": "src/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Generated proto and gRPC classes for Google Cloud Platform in PHP",
- "homepage": "https://github.com/googleapis/proto-client-php",
- "keywords": [
- "google"
- ],
- "time": "2017-07-28T16:22:59+00:00"
- },
- {
- "name": "google/protobuf",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/google/protobuf.git",
- "reference": "5532abc15b97f3489183b266b41844306052a3fa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/protobuf/zipball/5532abc15b97f3489183b266b41844306052a3fa",
- "reference": "5532abc15b97f3489183b266b41844306052a3fa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": ">=4.8.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Protobuf\\Internal\\": "php/src/Google/Protobuf/Internal",
- "GPBMetadata\\Google\\Protobuf\\Internal\\": "php/src/GPBMetadata/Google/Protobuf/Internal"
- },
- "files": [
- "php/src/Google/Protobuf/descriptor.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "proto library for PHP",
- "homepage": "https://developers.google.com/protocol-buffers/",
- "keywords": [
- "proto"
- ],
- "time": "2017-06-21T22:29:32+00:00"
- },
- {
- "name": "grpc/grpc",
- "version": "v1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/grpc/grpc.git",
- "reference": "5cb6a1f86129fc2833de9a27cfe174260934342b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grpc/grpc/zipball/5cb6a1f86129fc2833de9a27cfe174260934342b",
- "reference": "5cb6a1f86129fc2833de9a27cfe174260934342b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "google/auth": "v0.9"
- },
- "suggest": {
- "ext-protobuf": "For better performance, install the protobuf C extension.",
- "google/protobuf": "To get started using grpc quickly, install the native protobuf library."
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Grpc\\": "src/php/lib/Grpc/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "gRPC library for PHP",
- "homepage": "http://grpc.io/",
- "keywords": [
- "rpc"
- ],
- "time": "2017-07-11T21:11:30+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0 || ^5.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-06-22T18:50:49+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.23.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "^5.3|^6.0"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-06-19T01:22:40+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "9e5fdd5c47147aa5adf7f760002ee591ed37b9ca"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/9e5fdd5c47147aa5adf7f760002ee591ed37b9ca",
- "reference": "9e5fdd5c47147aa5adf7f760002ee591ed37b9ca",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-06-14T03:57:53+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "b0878233cb5c4391347e5495089c7af11b8e6201"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/b0878233cb5c4391347e5495089c7af11b8e6201",
- "reference": "b0878233cb5c4391347e5495089c7af11b8e6201",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-29T21:27:59+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/7c13ae8ce1e2adbbd574fc39de7be498e1284e13",
- "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-28T15:27:31+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "46f7e8bb075036c92695b15a1ddb6971c751e585"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/46f7e8bb075036c92695b15a1ddb6971c751e585",
- "reference": "46f7e8bb075036c92695b15a1ddb6971c751e585",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-07-15T11:38:20+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/ddc23324e6cfe066f3dd34a37ff494fa80b617ed",
- "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-23T12:43:26+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/speech/phpunit.xml.dist b/speech/phpunit.xml.dist
deleted file mode 100644
index b50fcef72e..0000000000
--- a/speech/phpunit.xml.dist
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
- quickstart.php
-
-
-
-
-
-
diff --git a/speech/quickstart.php b/speech/quickstart.php
deleted file mode 100644
index a4d702cfba..0000000000
--- a/speech/quickstart.php
+++ /dev/null
@@ -1,51 +0,0 @@
- $projectId,
- 'languageCode' => 'en-US',
-]);
-
-# The name of the audio file to transcribe
-$fileName = __DIR__ . '/resources/audio.raw';
-
-# The audio file's encoding and sample rate
-$options = [
- 'encoding' => 'LINEAR16',
- 'sampleRateHertz' => 16000,
-];
-
-# Detects speech in the audio file
-$results = $speech->recognize(fopen($fileName, 'r'), $options);
-
-foreach ($results[0]->alternatives() as $alternative) {
- echo 'Transcription: ' . $alternative['transcript'] . PHP_EOL;
-}
-
-# [END speech_quickstart]
-return $results;
diff --git a/speech/resources/audio.raw b/speech/resources/audio.raw
deleted file mode 100644
index 5ebf79d3c9..0000000000
Binary files a/speech/resources/audio.raw and /dev/null differ
diff --git a/speech/speech.php b/speech/speech.php
deleted file mode 100644
index 870de0db56..0000000000
--- a/speech/speech.php
+++ /dev/null
@@ -1,203 +0,0 @@
-add(new Command('transcribe'))
- ->setDefinition($inputDefinition)
- ->setDescription('Transcribe an audio file using Google Cloud Speech API')
- ->setHelp(<<%command.name% command transcribes audio from a file using the
-Google Cloud Speech API.
-
-php %command.full_name% audio_file.wav
-
-EOF
- )
- ->setCode(function (InputInterface $input, OutputInterface $output) {
- $audioFile = $input->getArgument('audio-file');
- $languageCode = $input->getOption('language-code');
- transcribe_sync($audioFile, $languageCode, [
- 'encoding' => $input->getOption('encoding'),
- 'sampleRateHertz' => $input->getOption('sample-rate'),
- ]);
- });
-
-$application->add(new Command('transcribe-gcs'))
- ->setDefinition($inputDefinition)
- ->setDescription('Transcribe audio from a Storage Object using Google Cloud Speech API')
- ->setHelp(<<%command.name% command transcribes audio from a Cloud Storage
-Object using the Google Cloud Speech API.
-
-php %command.full_name% gs://my-bucket/audio_file.wav
-
-EOF
- )
- ->setCode(function (InputInterface $input, OutputInterface $output) {
- $audioFile = $input->getArgument('audio-file');
- $languageCode = $input->getOption('language-code');
- if (!preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $audioFile, $matches)) {
- throw new \Exception('Invalid file name. Must be gs://[bucket]/[audiofile]');
- }
- list($bucketName, $objectName) = array_slice($matches, 1);
- transcribe_sync_gcs($bucketName, $objectName, $languageCode, [
- 'encoding' => $input->getOption('encoding'),
- 'sampleRateHertz' => $input->getOption('sample-rate'),
- ]);
- });
-
-$application->add(new Command('transcribe-words'))
- ->setDefinition($inputDefinition)
- ->setDescription('Transcribe an audio file and print word time offsets using Google Cloud Speech API')
- ->setHelp(<<%command.name% command transcribes audio from a file using the
-Google Cloud Speech API and prints word time offsets.
-
-php %command.full_name% audio_file.wav
-
-EOF
- )
- ->setCode(function (InputInterface $input, OutputInterface $output) {
- $audioFile = $input->getArgument('audio-file');
- $languageCode = $input->getOption('language-code');
- transcribe_sync_words($audioFile, $languageCode, [
- 'encoding' => $input->getOption('encoding'),
- 'sampleRateHertz' => $input->getOption('sample-rate'),
- ]);
- });
-
-$application->add(new Command('transcribe-async'))
- ->setDefinition($inputDefinition)
- ->setDescription('Transcribe an audio file asynchronously using Google Cloud Speech API')
- ->setHelp(<<%command.name% command transcribes audio from a file using the
-Google Cloud Speech API asynchronously.
-
-php %command.full_name% audio_file.wav
-
-EOF
- )
- ->setCode(function (InputInterface $input, OutputInterface $output) {
- $audioFile = $input->getArgument('audio-file');
- $languageCode = $input->getOption('language-code');
- transcribe_async($audioFile, $languageCode, [
- 'encoding' => $input->getOption('encoding'),
- 'sampleRateHertz' => $input->getOption('sample-rate'),
- ]);
- });
-
-$application->add(new Command('transcribe-async-gcs'))
- ->setDefinition($inputDefinition)
- ->setDescription('Transcribe audio asynchronously from a Storage Object using Google Cloud Speech API')
- ->setHelp(<<%command.name% command transcribes audio from a Cloud Storage
-object asynchronously using the Google Cloud Speech API.
-
-php %command.full_name% gs://my-bucket/audio_file.wav
-
-EOF
- )
- ->setCode(function (InputInterface $input, OutputInterface $output) {
- $audioFile = $input->getArgument('audio-file');
- $languageCode = $input->getOption('language-code');
- if (!preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $audioFile, $matches)) {
- throw new \Exception('Invalid file name. Must be gs://[bucket]/[audiofile]');
- }
- list($bucketName, $objectName) = array_slice($matches, 1);
- transcribe_async_gcs($bucketName, $objectName, $languageCode, [
- 'encoding' => $input->getOption('encoding'),
- 'sampleRateHertz' => $input->getOption('sample-rate'),
- ]);
- });
-
-$application->add(new Command('transcribe-async-words'))
- ->setDefinition($inputDefinition)
- ->setDescription('Transcribe an audio file asynchronously and print word time offsets using Google Cloud Speech API')
- ->setHelp(<<%command.name% command transcribes audio from a file using the
-Google Cloud Speech API asynchronously and prints word time offsets.
-
-php %command.full_name% audio_file.wav
-
-EOF
- )
- ->setCode(function (InputInterface $input, OutputInterface $output) {
- $audioFile = $input->getArgument('audio-file');
- $languageCode = $input->getOption('language-code');
- transcribe_async_words($audioFile, $languageCode, [
- 'encoding' => $input->getOption('encoding'),
- 'sampleRateHertz' => $input->getOption('sample-rate'),
- ]);
- });
-
-$application->add(new Command('transcribe-stream'))
- ->setDefinition($inputDefinition)
- ->setDescription('Transcribe a stream of audio using Google Cloud Speech API')
- ->setHelp(<<%command.name% command transcribes audio from a stream using
-the Google Cloud Speech API.
-
-php %command.full_name% audio_file.wav
-
-EOF
- )
- ->setCode(function (InputInterface $input, OutputInterface $output) {
- streaming_recognize(
- $input->getArgument('audio-file'),
- $input->getOption('language-code'),
- $input->getOption('encoding'),
- $input->getOption('sample-rate')
- );
- });
-
-// for testing
-if (getenv('PHPUNIT_TESTS') === '1') {
- return $application;
-}
-
-$application->run();
diff --git a/speech/src/base64_encode_audio.php b/speech/src/base64_encode_audio.php
deleted file mode 100644
index 5359e92385..0000000000
--- a/speech/src/base64_encode_audio.php
+++ /dev/null
@@ -1,32 +0,0 @@
-setLanguageCode($languageCode);
- $config->setSampleRateHertz($sampleRateHertz);
- // encoding must be an enum, convert from string
- $encodingEnum = constant(RecognitionConfig_AudioEncoding::class . '::' . $encoding);
- $config->setEncoding($encodingEnum);
-
- $strmConfig = new StreamingRecognitionConfig();
- $strmConfig->setConfig($config);
-
- $strmReq = new StreamingRecognizeRequest();
- $strmReq->setStreamingConfig($strmConfig);
-
- $strm = $speechClient->streamingRecognize();
- $strm->write($strmReq);
-
- $strmReq = new StreamingRecognizeRequest();
- $f = fopen($audioFile, "rb");
- $fsize = filesize($audioFile);
- $bytes = fread($f, $fsize);
- $strmReq->setAudioContent($bytes);
- $strm->write($strmReq);
-
- foreach ($strm->closeWriteAndReadAll() as $response) {
- foreach ($response->getResults() as $result) {
- foreach ($result->getAlternatives() as $alt) {
- printf("Transcription: %s\n", $alt->getTranscript());
- }
- }
- }
- } finally {
- $speechClient->close();
- }
-}
-# [END streaming_recognize]
diff --git a/speech/src/transcribe_async.php b/speech/src/transcribe_async.php
deleted file mode 100644
index 0d9d4c5d0f..0000000000
--- a/speech/src/transcribe_async.php
+++ /dev/null
@@ -1,77 +0,0 @@
- $languageCode,
- ]);
-
- // Create the asyncronous recognize operation
- $operation = $speech->beginRecognizeOperation(
- fopen($audioFile, 'r'),
- $options
- );
-
- // Wait for the operation to complete
- $backoff = new ExponentialBackoff(10);
- $backoff->execute(function () use ($operation) {
- print('Waiting for operation to complete' . PHP_EOL);
- $operation->reload();
- if (!$operation->isComplete()) {
- throw new Exception('Job has not yet completed', 500);
- }
- });
-
- // Print the results
- if ($operation->isComplete()) {
- $alternatives = $operation->results()[0]->alternatives();
- foreach ($alternatives as $alternative) {
- printf('Transcript: %s' . PHP_EOL, $alternative['transcript']);
- printf('Confidence: %s' . PHP_EOL, $alternative['confidence']);
- }
- }
-}
-# [END transcribe_async]
diff --git a/speech/src/transcribe_async_gcs.php b/speech/src/transcribe_async_gcs.php
deleted file mode 100644
index 6152d20375..0000000000
--- a/speech/src/transcribe_async_gcs.php
+++ /dev/null
@@ -1,83 +0,0 @@
- $languageCode,
- ]);
-
- // Fetch the storage object
- $storage = new StorageClient();
- $object = $storage->bucket($bucketName)->object($objectName);
-
- // Create the asyncronous recognize operation
- $operation = $speech->beginRecognizeOperation(
- $object,
- $options
- );
-
- // Wait for the operation to complete
- $backoff = new ExponentialBackoff(10);
- $backoff->execute(function () use ($operation) {
- print('Waiting for operation to complete' . PHP_EOL);
- $operation->reload();
- if (!$operation->isComplete()) {
- throw new Exception('Job has not yet completed', 500);
- }
- });
-
- // Print the results
- if ($operation->isComplete()) {
- $alternatives = $operation->results()[0]->alternatives();
- foreach ($alternatives as $alternative) {
- printf('Transcript: %s' . PHP_EOL, $alternative['transcript']);
- printf('Confidence: %s' . PHP_EOL, $alternative['confidence']);
- }
- }
-}
-# [END transcribe_async_gcs]
diff --git a/speech/src/transcribe_async_words.php b/speech/src/transcribe_async_words.php
deleted file mode 100644
index b4ed267e1a..0000000000
--- a/speech/src/transcribe_async_words.php
+++ /dev/null
@@ -1,86 +0,0 @@
- $languageCode,
- ]);
-
- // When true, time offsets for every word will be included in the response.
- $options['enableWordTimeOffsets'] = true;
-
- // Create the asyncronous recognize operation
- $operation = $speech->beginRecognizeOperation(
- fopen($audioFile, 'r'),
- $options
- );
-
- // Wait for the operation to complete
- $backoff = new ExponentialBackoff(10);
- $backoff->execute(function () use ($operation) {
- print('Waiting for operation to complete' . PHP_EOL);
- $operation->reload();
- if (!$operation->isComplete()) {
- throw new Exception('Job has not yet completed', 500);
- }
- });
-
- // Print the results
- if ($operation->isComplete()) {
- $alternatives = $operation->results()[0]->alternatives();
- foreach ($alternatives as $alternative) {
- printf('Transcript: %s' . PHP_EOL, $alternative['transcript']);
- printf('Confidence: %s' . PHP_EOL, $alternative['confidence']);
- foreach ($alternative['words'] as $wordInfo) {
- printf(' Word: %s (start: %s, end: %s)' . PHP_EOL,
- $wordInfo['word'],
- $wordInfo['startTime'],
- $wordInfo['endTime']);
- }
- }
- }
-}
-# [END transcribe_async_words]
diff --git a/speech/src/transcribe_sync.php b/speech/src/transcribe_sync.php
deleted file mode 100644
index 7ededea6cc..0000000000
--- a/speech/src/transcribe_sync.php
+++ /dev/null
@@ -1,63 +0,0 @@
- $languageCode,
- ]);
-
- // Make the API call
- $results = $speech->recognize(
- fopen($audioFile, 'r'),
- $options
- );
-
- // Print the results
- $alternatives = $results[0]->alternatives();
- foreach ($alternatives as $alternative) {
- printf('Transcript: %s' . PHP_EOL, $alternative['transcript']);
- printf('Confidence: %s' . PHP_EOL, $alternative['confidence']);
- }
-}
-# [END transcribe_sync]
diff --git a/speech/src/transcribe_sync_gcs.php b/speech/src/transcribe_sync_gcs.php
deleted file mode 100644
index 0a49281e38..0000000000
--- a/speech/src/transcribe_sync_gcs.php
+++ /dev/null
@@ -1,68 +0,0 @@
- $languageCode,
- ]);
-
- // Fetch the storage object
- $storage = new StorageClient();
- $object = $storage->bucket($bucketName)->object($objectName);
-
- // Make the API call
- $results = $speech->recognize(
- $object,
- $options
- );
-
- // Print the results
- $alternatives = $results[0]->alternatives();
- foreach ($alternatives as $alternative) {
- printf('Transcript: %s' . PHP_EOL, $alternative['transcript']);
- printf('Confidence: %s' . PHP_EOL, $alternative['confidence']);
- }
-}
-# [END transcribe_sync_gcs]
diff --git a/speech/src/transcribe_sync_words.php b/speech/src/transcribe_sync_words.php
deleted file mode 100644
index 0c0a8c5450..0000000000
--- a/speech/src/transcribe_sync_words.php
+++ /dev/null
@@ -1,72 +0,0 @@
- $languageCode,
- ]);
-
- // When true, time offsets for every word will be included in the response.
- $options['enableWordTimeOffsets'] = true;
-
- // Make the API call
- $results = $speech->recognize(
- fopen($audioFile, 'r'),
- $options
- );
-
- // Print the results
- $alternatives = $results[0]->alternatives();
- foreach ($alternatives as $alternative) {
- printf('Transcript: %s' . PHP_EOL, $alternative['transcript']);
- printf('Confidence: %s' . PHP_EOL, $alternative['confidence']);
- foreach ($alternative['words'] as $wordInfo) {
- printf(' Word: %s (start: %s, end: %s)' . PHP_EOL,
- $wordInfo['word'],
- $wordInfo['startTime'],
- $wordInfo['endTime']);
- }
- }
-}
-# [END transcribe_sync_words]
diff --git a/speech/test/data/audio32KHz.flac b/speech/test/data/audio32KHz.flac
deleted file mode 100644
index 7bad2e624b..0000000000
Binary files a/speech/test/data/audio32KHz.flac and /dev/null differ
diff --git a/speech/test/data/audio32KHz.raw b/speech/test/data/audio32KHz.raw
deleted file mode 100644
index 6b52fc326f..0000000000
Binary files a/speech/test/data/audio32KHz.raw and /dev/null differ
diff --git a/speech/test/quickstartTest.php b/speech/test/quickstartTest.php
deleted file mode 100644
index 1593f22412..0000000000
--- a/speech/test/quickstartTest.php
+++ /dev/null
@@ -1,55 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
-
- $file = sys_get_temp_dir() . '/speech_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', '__DIR__'],
- [$projectId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
- $results = include $file;
-
- // Make sure it looks correct
- $this->assertTrue(is_array($results));
- $this->assertEquals(1, count($results));
- $alternatives = $results[0]->alternatives();
- $this->assertTrue(is_array($alternatives));
- $this->assertEquals(1, count($alternatives));
- $this->assertArrayHasKey('transcript', $alternatives[0]);
- $this->assertArrayHasKey('confidence', $alternatives[0]);
- $this->assertEquals('how old is the Brooklyn Bridge', $alternatives[0]['transcript']);
- $this->assertTrue($alternatives[0]['confidence'] > .9);
-
- $expectedOutput = <<expectOutputString($expectedOutput);
- }
-}
diff --git a/speech/test/speechTest.php b/speech/test/speechTest.php
deleted file mode 100644
index 804d70e856..0000000000
--- a/speech/test/speechTest.php
+++ /dev/null
@@ -1,94 +0,0 @@
- 0;
- }
-
- public function testBase64Audio()
- {
- $audioFile = __DIR__ . '/data/audio32KHz.raw';
-
- $base64Audio = require __DIR__ . '/../src/base64_encode_audio.php';
-
- $audioFileResource = fopen($audioFile, 'r');
- $this->assertEquals(base64_decode($base64Audio), stream_get_contents($audioFileResource));
- }
-
- /** @dataProvider provideTranscribe */
- public function testTranscribe($command, $audioFile, $encoding, $sampleRate)
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!self::$bucketName && in_array($command, ['transcribe-gcs', 'transcribe-async-gcs'])) {
- $this->markTestSkipped('You must set the GOOGLE_BUCKET_NAME environment variable.');
- }
- $output = $this->runCommand($command, [
- 'audio-file' => $audioFile,
- '--encoding' => $encoding,
- '--sample-rate' => $sampleRate,
- ]);
-
- $this->assertContains('how old is the Brooklyn Bridge', $output);
-
- // Check for the word time offsets
- if (in_array($command, ['transcribe-words', 'transcribe-async-words'])) {
- $this->assertRegexp('/start: .*s, end: .*s/', $output);
- }
- }
-
- public function provideTranscribe()
- {
- self::$bucketName = getenv('GOOGLE_BUCKET_NAME');
- return [
- ['transcribe', __DIR__ . '/data/audio32KHz.raw', 'LINEAR16', '32000'],
- ['transcribe', __DIR__ . '/data/audio32KHz.flac', 'FLAC', '32000'],
- ['transcribe-gcs', 'gs://' . self::$bucketName . '/audio32KHz.raw', 'LINEAR16', '32000'],
- ['transcribe-async-gcs', 'gs://' . self::$bucketName . '/audio32KHz.raw', 'LINEAR16', '32000'],
- ['transcribe-words', __DIR__ . '/data/audio32KHz.flac', 'FLAC', '32000'],
- ['transcribe-async-words', __DIR__ . '/data/audio32KHz.raw', 'LINEAR16', '32000'],
- ['transcribe-stream', __DIR__ . '/data/audio32KHz.raw', 'LINEAR16', '32000'],
- ];
- }
-
- private function runCommand($commandName, $args = [])
- {
- $application = require __DIR__ . '/../speech.php';
- $command = $application->get($commandName);
- $commandTester = new CommandTester($command);
-
- ob_start();
- $commandTester->execute(
- $args,
- ['interactive' => false]);
-
- return ob_get_clean();
- }
-}
diff --git a/storage/api/README.md b/storage/api/README.md
deleted file mode 100644
index 8ba52a5c69..0000000000
--- a/storage/api/README.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Google Cloud Storage PHP Sample Application
-
-## Description
-
-This simple command-line application demonstrates how to invoke Google Cloud Storage from PHP.
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
-
-## Build and Run
-1. **Enable APIs** - [Enable the Storage API](https://console.cloud.google.com/flows/enableapi?apiid=storage_api)
- and create a new project or select an existing project.
-2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click "New Credentials"
- and select "Service Account Key". Create a new service account, use the JSON key type, and
- select "Create". Once downloaded, set the environment variable `GOOGLE_APPLICATION_CREDENTIALS`
- to the path of the JSON key that was downloaded.
-3. **Clone the repo** and cd into this directory
-
- ```sh
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/storage/cli
- ```
-4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-5. Run `php storage.php`. The following commands are available:
-
- ```sh
- bucket-acl Manage the ACL for Cloud Storage buckets.
- bucket-default-acl Manage the default ACL for Cloud Storage buckets.
- buckets Manage Cloud Storage buckets
- encryption Upload and download Cloud Storage objects with encryption
- object-acl Manage the ACL for Cloud Storage objects
- objects Manage Cloud Storage objects
- ```
-6. Run `php storage.php COMMAND --help` to print information about the usage of each command.
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
diff --git a/storage/api/composer.json b/storage/api/composer.json
deleted file mode 100644
index 0b84e7d126..0000000000
--- a/storage/api/composer.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "require": {
- "google/cloud-storage": "^1.0",
- "paragonie/random_compat": "^2.0",
- "symfony/console": " ^3.0"
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Samples\\Storage\\": "src/"
- },
- "files": [
- "src/functions/add_bucket_acl.php",
- "src/functions/add_bucket_default_acl.php",
- "src/functions/add_bucket_iam_member.php",
- "src/functions/add_object_acl.php",
- "src/functions/copy_object.php",
- "src/functions/create_bucket.php",
- "src/functions/delete_bucket.php",
- "src/functions/delete_bucket_acl.php",
- "src/functions/delete_bucket_default_acl.php",
- "src/functions/delete_object.php",
- "src/functions/delete_object_acl.php",
- "src/functions/download_encrypted_object.php",
- "src/functions/download_object.php",
- "src/functions/object_metadata.php",
- "src/functions/generate_encryption_key.php",
- "src/functions/get_bucket_acl.php",
- "src/functions/get_bucket_acl_for_entity.php",
- "src/functions/get_bucket_default_acl.php",
- "src/functions/get_bucket_default_acl_for_entity.php",
- "src/functions/get_object_acl.php",
- "src/functions/get_object_acl_for_entity.php",
- "src/functions/list_buckets.php",
- "src/functions/list_objects.php",
- "src/functions/list_objects_with_prefix.php",
- "src/functions/make_public.php",
- "src/functions/move_object.php",
- "src/functions/remove_bucket_iam_member.php",
- "src/functions/rotate_encryption_key.php",
- "src/functions/upload_encrypted_object.php",
- "src/functions/upload_object.php",
- "src/functions/view_bucket_iam_members.php"
- ]
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/storage/api/composer.lock b/storage/api/composer.lock
deleted file mode 100644
index acbd7066ae..0000000000
--- a/storage/api/composer.lock
+++ /dev/null
@@ -1,1986 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "91c191b4984093a3d102aee16d9b9189",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "google/cloud-storage",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-storage.git",
- "reference": "459953f5879497fe61ffea2359bd06c801f60be1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-storage/zipball/459953f5879497fe61ffea2359bd06c801f60be1",
- "reference": "459953f5879497fe61ffea2359bd06c801f60be1",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-storage",
- "target": "GoogleCloudPlatform/google-cloud-php-storage.git",
- "path": "src/Storage",
- "entry": "StorageClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Storage\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Storage Client for PHP",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "paragonie/random_compat",
- "version": "v2.0.10",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d",
- "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*|5.*"
- },
- "suggest": {
- "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
- },
- "type": "library",
- "autoload": {
- "files": [
- "lib/random.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com/"
- }
- ],
- "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
- "keywords": [
- "csprng",
- "pseudorandom",
- "random"
- ],
- "time": "2017-03-13T16:27:32+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "70d2a29b2911cbdc91a7e268046c395278238b2e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/70d2a29b2911cbdc91a7e268046c395278238b2e",
- "reference": "70d2a29b2911cbdc91a7e268046c395278238b2e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T19:24:58+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/e9c50482841ef696e8fa1470d950a79c8921f45d",
- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-01T21:01:25+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T22:05:06+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/storage/api/phpunit.xml.dist b/storage/api/phpunit.xml.dist
deleted file mode 100644
index 73f61567e0..0000000000
--- a/storage/api/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
diff --git a/storage/api/src/BucketAclCommand.php b/storage/api/src/BucketAclCommand.php
deleted file mode 100644
index c8af19bc83..0000000000
--- a/storage/api/src/BucketAclCommand.php
+++ /dev/null
@@ -1,95 +0,0 @@
-setName('bucket-acl')
- ->setDescription('Manage the ACL for Cloud Storage buckets.')
- ->setHelp(<<%command.name% command manages Cloud Storage ACL.
-
- php %command.full_name% --help
-
-EOF
- )
- ->addArgument(
- 'bucket',
- InputArgument::REQUIRED,
- 'The Cloud Storage bucket name'
- )
- ->addOption(
- 'entity',
- null,
- InputOption::VALUE_REQUIRED,
- 'Add or filter by a user'
- )
- ->addOption(
- 'role',
- null,
- InputOption::VALUE_REQUIRED,
- 'One of OWNER, READER, or WRITER',
- 'READER'
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'Create an ACL for the supplied user'
- )
- ->addOption(
- 'delete',
- null,
- InputOption::VALUE_NONE,
- 'Remove a user from the ACL'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $bucketName = $input->getArgument('bucket');
- $entity = $input->getOption('entity');
- $role = $input->getOption('role');
- if ($entity) {
- if ($input->getOption('create')) {
- add_bucket_acl($bucketName, $entity, $role);
- } elseif ($input->getOption('delete')) {
- delete_bucket_acl($bucketName, $entity);
- } else {
- get_bucket_acl_for_entity($bucketName, $entity);
- }
- } else {
- get_bucket_acl($bucketName);
- }
- }
-}
diff --git a/storage/api/src/BucketDefaultAclCommand.php b/storage/api/src/BucketDefaultAclCommand.php
deleted file mode 100644
index 5f686a459e..0000000000
--- a/storage/api/src/BucketDefaultAclCommand.php
+++ /dev/null
@@ -1,95 +0,0 @@
-setName('bucket-default-acl')
- ->setDescription('Manage the default ACL for Cloud Storage buckets.')
- ->setHelp(<<%command.name% command manages Cloud Storage ACL.
-
- php %command.full_name% --help
-
-EOF
- )
- ->addArgument(
- 'bucket',
- InputArgument::REQUIRED,
- 'The Cloud Storage bucket name'
- )
- ->addOption(
- 'entity',
- null,
- InputOption::VALUE_REQUIRED,
- 'Add or filter by a user'
- )
- ->addOption(
- 'role',
- null,
- InputOption::VALUE_REQUIRED,
- 'One of OWNER, READER, or WRITER',
- 'READER'
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'Create an ACL for the supplied user'
- )
- ->addOption(
- 'delete',
- null,
- InputOption::VALUE_NONE,
- 'Remove a user from the ACL'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $bucketName = $input->getArgument('bucket');
- $entity = $input->getOption('entity');
- $role = $input->getOption('role');
- if ($entity) {
- if ($input->getOption('create')) {
- add_bucket_default_acl($bucketName, $entity, $role);
- } elseif ($input->getOption('delete')) {
- delete_bucket_default_acl($bucketName, $entity);
- } else {
- get_bucket_default_acl_for_entity($bucketName, $entity);
- }
- } else {
- get_bucket_default_acl($bucketName);
- }
- }
-}
diff --git a/storage/api/src/BucketsCommand.php b/storage/api/src/BucketsCommand.php
deleted file mode 100644
index ab71e1bedb..0000000000
--- a/storage/api/src/BucketsCommand.php
+++ /dev/null
@@ -1,79 +0,0 @@
-setName('buckets')
- ->setDescription('Manage Cloud Storage buckets')
- ->setHelp(<<%command.name% command manages Cloud Storage ACL.
-
- php %command.full_name% --help
-
-EOF
- )
- ->addArgument(
- 'bucket',
- InputArgument::OPTIONAL,
- 'The Cloud Storage bucket name'
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'Create the bucket'
- )
- ->addOption(
- 'delete',
- null,
- InputOption::VALUE_NONE,
- 'Delete the bucket'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if ($bucketName = $input->getArgument('bucket')) {
- if ($input->getOption('create')) {
- create_bucket($bucketName);
- } elseif ($input->getOption('delete')) {
- delete_bucket($bucketName);
- } else {
- throw new \Exception('Supply --create or --delete with bucket name');
- }
- } else {
- list_buckets();
- }
- }
-}
diff --git a/storage/api/src/EncryptionCommand.php b/storage/api/src/EncryptionCommand.php
deleted file mode 100644
index c958630db5..0000000000
--- a/storage/api/src/EncryptionCommand.php
+++ /dev/null
@@ -1,114 +0,0 @@
-setName('encryption')
- ->setDescription('Upload and download Cloud Storage objects with encryption')
- ->setHelp(<<%command.name% command manages Cloud Storage ACL.
-
- php %command.full_name% --help
-
-EOF
- )
- ->addArgument(
- 'bucket',
- InputArgument::OPTIONAL,
- 'The Cloud Storage bucket name'
- )
- ->addArgument(
- 'object',
- InputArgument::OPTIONAL,
- 'The Cloud Storage object name'
- )
- ->addOption(
- 'upload-from',
- null,
- InputOption::VALUE_REQUIRED,
- 'Path to the file to upload'
- )
- ->addOption(
- 'download-to',
- null,
- InputOption::VALUE_REQUIRED,
- 'Path to store the dowloaded file'
- )
- ->addOption(
- 'key',
- null,
- InputOption::VALUE_REQUIRED,
- 'Supply your encryption key'
- )
- ->addOption(
- 'rotate-key',
- null,
- InputOption::VALUE_REQUIRED,
- 'Supply a new encryption key'
- )
- ->addOption(
- 'generate-key',
- null,
- InputOption::VALUE_NONE,
- 'Generates an encryption key'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- if ($input->getOption('generate-key')) {
- generate_encryption_key();
- } else {
- $bucketName = $input->getArgument('bucket');
- $objectName = $input->getArgument('object');
- $encryptionKey = $input->getOption('key');
- if ($bucketName && $objectName) {
- if ($source = $input->getOption('upload-from')) {
- upload_encrypted_object($bucketName, $objectName, $source, $encryptionKey);
- } elseif ($destination = $input->getOption('download-to')) {
- download_encrypted_object($bucketName, $objectName, $destination, $encryptionKey);
- } elseif ($rotateKey = $input->getOption('rotate-key')) {
- if (is_null($encryptionKey)) {
- throw new \Exception('--key is required when using --rotate-key');
- }
- rotate_encryption_key($bucketName, $objectName, $encryptionKey, $rotateKey);
- } else {
- throw new \Exception('Supply --rotate-key, --upload-from or --download-to');
- }
- } else {
- throw new \Exception('Supply a bucket and object OR --generate-key');
- }
- }
- }
-}
diff --git a/storage/api/src/IamCommand.php b/storage/api/src/IamCommand.php
deleted file mode 100644
index 1e67f31a9f..0000000000
--- a/storage/api/src/IamCommand.php
+++ /dev/null
@@ -1,96 +0,0 @@
-setName('iam')
- ->setDescription('Manage IAM for Storage')
- ->setHelp(<<%command.name% command manages Storage IAM policies.
-
- php %command.full_name% my-bucket
-
- php %command.full_name% my-bucket --role my-role --add-member user/test@email.com
-
- php %command.full_name% my-bucket --role my-role --remove-member user/test@email.com
-
-EOF
- )
- ->addArgument(
- 'bucket',
- InputArgument::REQUIRED,
- 'The bucket that you want to change IAM for. '
- )
- ->addOption(
- 'role',
- null,
- InputOption::VALUE_REQUIRED,
- 'The new role to add to a bucket. '
- )
- ->addOption(
- 'add-member',
- null,
- InputOption::VALUE_REQUIRED,
- 'The new member to add with the new role to the bucket. '
- )
- ->addOption(
- 'remove-member',
- null,
- InputOption::VALUE_REQUIRED,
- 'The member to remove from a role for a bucket. '
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $bucketName = $input->getArgument('bucket');
- $role = $input->getOption('role');
- $addMember = $input->getOption('add-member');
- $removeMember = $input->getOption('remove-member');
- if ($addMember) {
- if (!$role) {
- throw new InvalidArgumentException('Must provide role as an option.');
- }
- add_bucket_iam_member($bucketName, $role, $addMember);
- } elseif ($removeMember) {
- if (!$role) {
- throw new InvalidArgumentException('Must provide role as an option.');
- }
- remove_bucket_iam_member($bucketName, $role, $removeMember);
- } else {
- view_bucket_iam_members($bucketName);
- }
- }
-}
diff --git a/storage/api/src/ObjectAclCommand.php b/storage/api/src/ObjectAclCommand.php
deleted file mode 100644
index 9a92af1752..0000000000
--- a/storage/api/src/ObjectAclCommand.php
+++ /dev/null
@@ -1,101 +0,0 @@
-setName('object-acl')
- ->setDescription('Manage the ACL for Cloud Storage objects')
- ->setHelp(<<%command.name% command manages Cloud Storage ACL.
-
- php %command.full_name% --help
-
-EOF
- )
- ->addArgument(
- 'bucket',
- InputArgument::REQUIRED,
- 'The Cloud Storage bucket name'
- )
- ->addArgument(
- 'object',
- InputArgument::REQUIRED,
- 'The Cloud Storage object name'
- )
- ->addOption(
- 'entity',
- null,
- InputOption::VALUE_REQUIRED,
- 'Add or filter by a user'
- )
- ->addOption(
- 'role',
- null,
- InputOption::VALUE_REQUIRED,
- 'One of OWNER, READER, or WRITER',
- 'READER'
- )
- ->addOption(
- 'create',
- null,
- InputOption::VALUE_NONE,
- 'Create an ACL for the supplied user'
- )
- ->addOption(
- 'delete',
- null,
- InputOption::VALUE_NONE,
- 'Remove a user from the ACL'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $bucketName = $input->getArgument('bucket');
- $entity = $input->getOption('entity');
- $role = $input->getOption('role');
- $objectName = $input->getArgument('object');
- if ($entity) {
- if ($input->getOption('create')) {
- add_object_acl($bucketName, $objectName, $entity, $role);
- } elseif ($input->getOption('delete')) {
- delete_object_acl($bucketName, $objectName, $entity);
- } else {
- get_object_acl_for_entity($bucketName, $objectName, $entity);
- }
- } else {
- get_object_acl($bucketName, $objectName);
- }
- }
-}
diff --git a/storage/api/src/ObjectsCommand.php b/storage/api/src/ObjectsCommand.php
deleted file mode 100644
index 3fcc2ef3aa..0000000000
--- a/storage/api/src/ObjectsCommand.php
+++ /dev/null
@@ -1,127 +0,0 @@
-setName('objects')
- ->setDescription('Manage Cloud Storage objects')
- ->setHelp(<<%command.name% command manages Cloud Storage objects.
-
- php %command.full_name% --help
-
-EOF
- )
- ->addArgument(
- 'bucket',
- InputArgument::REQUIRED,
- 'The Cloud Storage bucket name'
- )
- ->addArgument(
- 'object',
- InputArgument::OPTIONAL,
- 'The Cloud Storage object name'
- )
- ->addOption(
- 'upload-from',
- null,
- InputOption::VALUE_REQUIRED,
- 'Path to the file to upload'
- )
- ->addOption(
- 'download-to',
- null,
- InputOption::VALUE_REQUIRED,
- 'Path to store the dowloaded file'
- )
- ->addOption(
- 'move-to',
- null,
- InputOption::VALUE_REQUIRED,
- 'new name for the object'
- )
- ->addOption(
- 'copy-to',
- null,
- InputOption::VALUE_REQUIRED,
- 'copy path for the object'
- )
- ->addOption(
- 'make-public',
- null,
- InputOption::VALUE_NONE,
- 'makes the supplied object public'
- )
- ->addOption(
- 'delete',
- null,
- InputOption::VALUE_NONE,
- 'Delete the bucket'
- )
- ->addOption(
- 'prefix',
- null,
- InputOption::VALUE_REQUIRED,
- 'List objects matching a prefix'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $bucketName = $input->getArgument('bucket');
- if ($objectName = $input->getArgument('object')) {
- if ($source = $input->getOption('upload-from')) {
- upload_object($bucketName, $objectName, $source);
- } elseif ($destination = $input->getOption('download-to')) {
- download_object($bucketName, $objectName, $destination);
- } elseif ($newObjectName = $input->getOption('move-to')) {
- move_object($bucketName, $objectName, $bucketName, $newObjectName);
- } elseif ($newObjectName = $input->getOption('copy-to')) {
- copy_object($bucketName, $objectName, $bucketName, $newObjectName);
- } elseif ($input->getOption('make-public')) {
- make_public($bucketName, $objectName);
- } elseif ($input->getOption('delete')) {
- delete_object($bucketName, $objectName);
- } else {
- object_metadata($bucketName, $objectName);
- }
- } else {
- if ($prefix = $input->getOption('prefix')) {
- list_objects_with_prefix($bucketName, $prefix);
- } else {
- list_objects($bucketName);
- }
- }
- }
-}
diff --git a/storage/api/src/functions/add_bucket_acl.php b/storage/api/src/functions/add_bucket_acl.php
deleted file mode 100644
index ec30a8c3c3..0000000000
--- a/storage/api/src/functions/add_bucket_acl.php
+++ /dev/null
@@ -1,48 +0,0 @@
-bucket($bucketName);
- $acl = $bucket->acl();
- $acl->add($entity, $role, $options);
- printf('Added %s (%s) to gs://%s ACL' . PHP_EOL, $entity, $role, $bucketName);
-}
-# [END add_bucket_acl]
diff --git a/storage/api/src/functions/add_bucket_default_acl.php b/storage/api/src/functions/add_bucket_default_acl.php
deleted file mode 100644
index 0f39726a47..0000000000
--- a/storage/api/src/functions/add_bucket_default_acl.php
+++ /dev/null
@@ -1,48 +0,0 @@
-bucket($bucketName);
- $acl = $bucket->defaultAcl();
- $acl->add($entity, $role, $options);
- printf('Added %s (%s) to gs://%s default ACL' . PHP_EOL, $entity, $role, $bucketName);
-}
-# [END add_bucket_default_acl]
diff --git a/storage/api/src/functions/add_bucket_iam_member.php b/storage/api/src/functions/add_bucket_iam_member.php
deleted file mode 100644
index b663bf9a7e..0000000000
--- a/storage/api/src/functions/add_bucket_iam_member.php
+++ /dev/null
@@ -1,55 +0,0 @@
-bucket($bucketName);
-
- $policy = $bucket->iam()->policy();
-
- $policy['bindings'][] = [
- 'role' => $role,
- 'members' => [$member]
- ];
-
- $bucket->iam()->setPolicy($policy);
-
- printf('User %s added to role %s for bucket %s' . PHP_EOL, $member, $role, $bucketName);
-}
-# [END add_bucket_iam_member]
diff --git a/storage/api/src/functions/add_object_acl.php b/storage/api/src/functions/add_object_acl.php
deleted file mode 100644
index 0adfa85d87..0000000000
--- a/storage/api/src/functions/add_object_acl.php
+++ /dev/null
@@ -1,50 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $acl = $object->acl();
- $acl->add($entity, $role, $options);
- printf('Added %s (%s) to gs://%s/%s ACL' . PHP_EOL, $entity, $role, $bucketName, $objectName);
-}
-# [END add_object_acl]
diff --git a/storage/api/src/functions/copy_object.php b/storage/api/src/functions/copy_object.php
deleted file mode 100644
index c9d60c50d2..0000000000
--- a/storage/api/src/functions/copy_object.php
+++ /dev/null
@@ -1,47 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $object->copy($newBucketName, ['name' => $newObjectName]);
- printf('Copied gs://%s/%s to gs://%s/%s' . PHP_EOL,
- $bucketName, $objectName, $newBucketName, $newObjectName);
-}
-# [END copy_object]
diff --git a/storage/api/src/functions/create_bucket.php b/storage/api/src/functions/create_bucket.php
deleted file mode 100644
index e6026a8db0..0000000000
--- a/storage/api/src/functions/create_bucket.php
+++ /dev/null
@@ -1,43 +0,0 @@
-createBucket($bucketName, $options);
- printf('Bucket created: %s' . PHP_EOL, $bucket->name());
-}
-# [END create_bucket]
diff --git a/storage/api/src/functions/delete_bucket.php b/storage/api/src/functions/delete_bucket.php
deleted file mode 100644
index f3384c744b..0000000000
--- a/storage/api/src/functions/delete_bucket.php
+++ /dev/null
@@ -1,43 +0,0 @@
-bucket($bucketName);
- $bucket->delete();
- printf('Bucket deleted: %s' . PHP_EOL, $bucket->name());
-}
-# [END delete_bucket]
diff --git a/storage/api/src/functions/delete_bucket_acl.php b/storage/api/src/functions/delete_bucket_acl.php
deleted file mode 100644
index b60cbd8487..0000000000
--- a/storage/api/src/functions/delete_bucket_acl.php
+++ /dev/null
@@ -1,46 +0,0 @@
-bucket($bucketName);
- $acl = $bucket->acl();
- $acl->delete($entity, $options);
- printf('Deleted %s from gs://%s ACL' . PHP_EOL, $entity, $bucketName);
-}
-# [END delete_bucket_acl]
diff --git a/storage/api/src/functions/delete_bucket_default_acl.php b/storage/api/src/functions/delete_bucket_default_acl.php
deleted file mode 100644
index f4dd6c2bb3..0000000000
--- a/storage/api/src/functions/delete_bucket_default_acl.php
+++ /dev/null
@@ -1,46 +0,0 @@
-bucket($bucketName);
- $acl = $bucket->defaultAcl();
- $acl->delete($entity, $options);
- printf('Deleted %s from gs://%s default ACL' . PHP_EOL, $entity, $bucketName);
-}
-# [END delete_bucket_default_acl]
diff --git a/storage/api/src/functions/delete_object.php b/storage/api/src/functions/delete_object.php
deleted file mode 100644
index 5e18e2ab5d..0000000000
--- a/storage/api/src/functions/delete_object.php
+++ /dev/null
@@ -1,46 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $object->delete();
- printf('Deleted gs://%s/%s' . PHP_EOL, $bucketName, $objectName);
-}
-# [END delete_object]
diff --git a/storage/api/src/functions/delete_object_acl.php b/storage/api/src/functions/delete_object_acl.php
deleted file mode 100644
index 6d00cb6a17..0000000000
--- a/storage/api/src/functions/delete_object_acl.php
+++ /dev/null
@@ -1,48 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $acl = $object->acl();
- $acl->delete($entity, $options);
- printf('Deleted %s from gs://%s/%s ACL' . PHP_EOL, $entity, $bucketName, $objectName);
-}
-# [END delete_object_acl]
diff --git a/storage/api/src/functions/download_encrypted_object.php b/storage/api/src/functions/download_encrypted_object.php
deleted file mode 100644
index 33c3114e35..0000000000
--- a/storage/api/src/functions/download_encrypted_object.php
+++ /dev/null
@@ -1,50 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $object->downloadToFile($destination, [
- 'encryptionKey' => $base64EncryptionKey,
- ]);
- printf('Encrypted object gs://%s/%s downloaded to %s' . PHP_EOL,
- $bucketName, $objectName, basename($destination));
-}
-# [END download_encrypted_object]
diff --git a/storage/api/src/functions/download_object.php b/storage/api/src/functions/download_object.php
deleted file mode 100644
index ec1a8aacc6..0000000000
--- a/storage/api/src/functions/download_object.php
+++ /dev/null
@@ -1,47 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $object->downloadToFile($destination);
- printf('Downloaded gs://%s/%s to %s' . PHP_EOL,
- $bucketName, $objectName, basename($destination));
-}
-# [END download_object]
diff --git a/storage/api/src/functions/generate_encryption_key.php b/storage/api/src/functions/generate_encryption_key.php
deleted file mode 100644
index 2b7b3678ee..0000000000
--- a/storage/api/src/functions/generate_encryption_key.php
+++ /dev/null
@@ -1,39 +0,0 @@
-bucket($bucketName);
- $acl = $bucket->acl();
- foreach ($acl->get() as $item) {
- printf('%s: %s' . PHP_EOL, $item['entity'], $item['role']);
- }
-}
-# [END get_bucket_acl]
diff --git a/storage/api/src/functions/get_bucket_acl_for_entity.php b/storage/api/src/functions/get_bucket_acl_for_entity.php
deleted file mode 100644
index 1a70cbc766..0000000000
--- a/storage/api/src/functions/get_bucket_acl_for_entity.php
+++ /dev/null
@@ -1,45 +0,0 @@
-bucket($bucketName);
- $acl = $bucket->acl();
- $item = $acl->get(['entity' => $entity]);
- printf('%s: %s' . PHP_EOL, $item['entity'], $item['role']);
-}
-# [END get_bucket_acl_for_entity]
diff --git a/storage/api/src/functions/get_bucket_default_acl.php b/storage/api/src/functions/get_bucket_default_acl.php
deleted file mode 100644
index f33932d43e..0000000000
--- a/storage/api/src/functions/get_bucket_default_acl.php
+++ /dev/null
@@ -1,45 +0,0 @@
-bucket($bucketName);
- $acl = $bucket->defaultAcl();
- foreach ($acl->get() as $item) {
- printf('%s: %s' . PHP_EOL, $item['entity'], $item['role']);
- }
-}
-# [END get_bucket_default_acl]
diff --git a/storage/api/src/functions/get_bucket_default_acl_for_entity.php b/storage/api/src/functions/get_bucket_default_acl_for_entity.php
deleted file mode 100644
index 6d8e1719d7..0000000000
--- a/storage/api/src/functions/get_bucket_default_acl_for_entity.php
+++ /dev/null
@@ -1,45 +0,0 @@
-bucket($bucketName);
- $acl = $bucket->defaultAcl();
- $item = $acl->get(['entity' => $entity]);
- printf('%s: %s' . PHP_EOL, $item['entity'], $item['role']);
-}
-# [END get_bucket_default_acl_for_entity]
diff --git a/storage/api/src/functions/get_object_acl.php b/storage/api/src/functions/get_object_acl.php
deleted file mode 100644
index 5c9fcd062a..0000000000
--- a/storage/api/src/functions/get_object_acl.php
+++ /dev/null
@@ -1,47 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $acl = $object->acl();
- foreach ($acl->get() as $item) {
- printf('%s: %s' . PHP_EOL, $item['entity'], $item['role']);
- }
-}
-# [END get_object_acl]
diff --git a/storage/api/src/functions/get_object_acl_for_entity.php b/storage/api/src/functions/get_object_acl_for_entity.php
deleted file mode 100644
index 2b8f671e53..0000000000
--- a/storage/api/src/functions/get_object_acl_for_entity.php
+++ /dev/null
@@ -1,47 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $acl = $object->acl();
- $item = $acl->get(['entity' => $entity]);
- printf('%s: %s' . PHP_EOL, $item['entity'], $item['role']);
-}
-# [END get_object_acl_for_entity]
diff --git a/storage/api/src/functions/list_buckets.php b/storage/api/src/functions/list_buckets.php
deleted file mode 100644
index 34122c8a79..0000000000
--- a/storage/api/src/functions/list_buckets.php
+++ /dev/null
@@ -1,41 +0,0 @@
-buckets() as $bucket) {
- printf('Bucket: %s' . PHP_EOL, $bucket->name());
- }
-}
-# [END list_buckets]
diff --git a/storage/api/src/functions/list_objects.php b/storage/api/src/functions/list_objects.php
deleted file mode 100644
index b2bf76825e..0000000000
--- a/storage/api/src/functions/list_objects.php
+++ /dev/null
@@ -1,44 +0,0 @@
-bucket($bucketName);
- foreach ($bucket->objects() as $object) {
- printf('Object: %s' . PHP_EOL, $object->name());
- }
-}
-# [END list_objects]
diff --git a/storage/api/src/functions/list_objects_with_prefix.php b/storage/api/src/functions/list_objects_with_prefix.php
deleted file mode 100644
index 965b8fbef1..0000000000
--- a/storage/api/src/functions/list_objects_with_prefix.php
+++ /dev/null
@@ -1,45 +0,0 @@
-bucket($bucketName);
- $options = ['prefix' => $prefix];
- foreach ($bucket->objects($options) as $object) {
- printf('Object: %s' . PHP_EOL, $object->name());
- }
-}
-# [END list_objects_with_prefix]
diff --git a/storage/api/src/functions/make_public.php b/storage/api/src/functions/make_public.php
deleted file mode 100644
index 187a390fe3..0000000000
--- a/storage/api/src/functions/make_public.php
+++ /dev/null
@@ -1,45 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $object->update(['acl' => []], ['predefinedAcl' => 'PUBLICREAD']);
- printf('gs://%s/%s is now public' . PHP_EOL, $bucketName, $objectName);
-}
-# [END make_public]
diff --git a/storage/api/src/functions/move_object.php b/storage/api/src/functions/move_object.php
deleted file mode 100644
index 63d259b2c3..0000000000
--- a/storage/api/src/functions/move_object.php
+++ /dev/null
@@ -1,52 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $object->copy($newBucketName, ['name' => $newObjectName]);
- $object->delete();
- printf('Moved gs://%s/%s to gs://%s/%s' . PHP_EOL,
- $bucketName,
- $objectName,
- $newBucketName,
- $newObjectName);
-}
-# [END move_object]
diff --git a/storage/api/src/functions/object_metadata.php b/storage/api/src/functions/object_metadata.php
deleted file mode 100644
index 195e6a479e..0000000000
--- a/storage/api/src/functions/object_metadata.php
+++ /dev/null
@@ -1,59 +0,0 @@
-bucket($bucketName);
- $object = $bucket->object($objectName);
- $info = $object->info();
- printf('Blob: %s' . PHP_EOL, $info['name']);
- printf('Bucket: %s' . PHP_EOL, $info['bucket']);
- printf('Storage class: %s' . PHP_EOL, $info['storageClass']);
- printf('ID: %s' . PHP_EOL, $info['id']);
- printf('Size: %s' . PHP_EOL, $info['size']);
- printf('Updated: %s' . PHP_EOL, $info['updated']);
- printf('Generation: %s' . PHP_EOL, $info['generation']);
- printf('Metageneration: %s' . PHP_EOL, $info['metageneration']);
- printf('Etag: %s' . PHP_EOL, $info['etag']);
- printf('Crc32c: %s' . PHP_EOL, $info['crc32c']);
- printf('MD5 Hash: %s' . PHP_EOL, $info['md5Hash']);
- printf('Content-type: %s' . PHP_EOL, $info['contentType']);
- if (isset($info['metadata'])) {
- printf('Metadata: %s', print_r($info['metadata'], true));
- }
-}
-# [END object_metadata]
diff --git a/storage/api/src/functions/remove_bucket_iam_member.php b/storage/api/src/functions/remove_bucket_iam_member.php
deleted file mode 100644
index ee43b8bdd6..0000000000
--- a/storage/api/src/functions/remove_bucket_iam_member.php
+++ /dev/null
@@ -1,50 +0,0 @@
-bucket($bucketName);
- $policy = $bucket->iam()->policy();
- $policyBuilder = new PolicyBuilder($policy);
- $policyBuilder->removeBinding($role, [$member]);
-
- $bucket->iam()->setPolicy($policyBuilder->result());
- printf('User %s removed from role %s for bucket %s' . PHP_EOL, $member, $role, $bucketName);
-}
-# [END remove_bucket_iam_member]
diff --git a/storage/api/src/functions/rotate_encryption_key.php b/storage/api/src/functions/rotate_encryption_key.php
deleted file mode 100644
index 8445c79add..0000000000
--- a/storage/api/src/functions/rotate_encryption_key.php
+++ /dev/null
@@ -1,56 +0,0 @@
-bucket($bucketName)->object($objectName);
-
- $rewrittenObject = $object->rewrite($bucketName, [
- 'encryptionKey' => $base64EncryptionKey,
- 'destinationEncryptionKey' => $newBase64EncryptionKey,
- ]);
-
- printf('Rotated encryption key for object gs://%s/%s' . PHP_EOL,
- $bucketName, $objectName);
-}
-# [END rotate_encryption_key]
diff --git a/storage/api/src/functions/upload_encrypted_object.php b/storage/api/src/functions/upload_encrypted_object.php
deleted file mode 100644
index d8bf6792b9..0000000000
--- a/storage/api/src/functions/upload_encrypted_object.php
+++ /dev/null
@@ -1,51 +0,0 @@
-bucket($bucketName);
- $object = $bucket->upload($file, [
- 'name' => $objectName,
- 'encryptionKey' => $base64EncryptionKey,
- ]);
- printf('Uploaded encrypted %s to gs://%s/%s' . PHP_EOL,
- basename($source), $bucketName, $objectName);
-}
-# [END upload_encrypted_object]
diff --git a/storage/api/src/functions/upload_object.php b/storage/api/src/functions/upload_object.php
deleted file mode 100644
index be59cdee5c..0000000000
--- a/storage/api/src/functions/upload_object.php
+++ /dev/null
@@ -1,48 +0,0 @@
-bucket($bucketName);
- $object = $bucket->upload($file, [
- 'name' => $objectName
- ]);
- printf('Uploaded %s to gs://%s/%s' . PHP_EOL, basename($source), $bucketName, $objectName);
-}
-# [END upload_object]
diff --git a/storage/api/src/functions/view_bucket_iam_members.php b/storage/api/src/functions/view_bucket_iam_members.php
deleted file mode 100644
index fdb3839b37..0000000000
--- a/storage/api/src/functions/view_bucket_iam_members.php
+++ /dev/null
@@ -1,55 +0,0 @@
-bucket($bucketName);
-
- $policy = $bucket->iam()->policy();
-
- printf('Printing Bucket IAM members for Bucket: %s' . PHP_EOL, $bucketName);
- printf(PHP_EOL);
-
- foreach ($policy['bindings'] as $binding) {
- printf('Role: %s' . PHP_EOL, $binding['role']);
- printf('Members:' . PHP_EOL);
- foreach ($binding['members'] as $member) {
- printf(' %s' . PHP_EOL, $member);
- }
- printf(PHP_EOL);
- }
-}
-# [END view_bucket_iam_members]
diff --git a/storage/api/storage.php b/storage/api/storage.php
deleted file mode 100644
index bfa452e811..0000000000
--- a/storage/api/storage.php
+++ /dev/null
@@ -1,36 +0,0 @@
-add(new BucketAclCommand());
-$application->add(new BucketDefaultAclCommand());
-$application->add(new BucketsCommand());
-$application->add(new EncryptionCommand());
-$application->add(new IamCommand());
-$application->add(new ObjectAclCommand());
-$application->add(new ObjectsCommand());
-$application->run();
diff --git a/storage/api/test/BucketAclCommandTest.php b/storage/api/test/BucketAclCommandTest.php
deleted file mode 100644
index f8b65a6f3e..0000000000
--- a/storage/api/test/BucketAclCommandTest.php
+++ /dev/null
@@ -1,127 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $application = new Application();
- $application->add(new BucketAclCommand());
- $this->commandTester = new CommandTester($application->get('bucket-acl'));
- $this->storage = new StorageClient();
- }
-
- public function testBucketAcl()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/: OWNER/");
- }
-
- public function testManageBucketAcl()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
-
- $bucket = $this->storage->bucket($bucketName);
- $acl = $bucket->acl();
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--entity' => 'allAuthenticatedUsers',
- '--create' => true,
- ],
- ['interactive' => false]
- );
-
- $aclInfo = $acl->get(['entity' => 'allAuthenticatedUsers']);
- $this->assertArrayHasKey('role', $aclInfo);
- $this->assertEquals('READER', $aclInfo['role']);
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--entity' => 'allAuthenticatedUsers',
- ],
- ['interactive' => false]
- );
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--entity' => 'allAuthenticatedUsers',
- '--delete' => true,
- ],
- ['interactive' => false]
- );
-
- try {
- $acl->get(['entity' => 'allAuthenticatedUsers']);
- $this->fail();
- } catch (NotFoundException $e) {
- $this->assertTrue(true);
- }
-
- $bucketUrl = sprintf('gs://%s', $bucketName);
- $outputString = <<expectOutputString($outputString);
- }
-}
diff --git a/storage/api/test/BucketDefaultAclCommandTest.php b/storage/api/test/BucketDefaultAclCommandTest.php
deleted file mode 100644
index 366480b390..0000000000
--- a/storage/api/test/BucketDefaultAclCommandTest.php
+++ /dev/null
@@ -1,127 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $application = new Application();
- $application->add(new BucketDefaultAclCommand());
- $this->commandTester = new CommandTester($application->get('bucket-default-acl'));
- $this->storage = new StorageClient();
- }
-
- public function testBucketDefaultAcl()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/: OWNER/");
- }
-
- public function testManageBucketDefaultAcl()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
-
- $bucket = $this->storage->bucket($bucketName);
- $acl = $bucket->defaultAcl();
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--entity' => 'allAuthenticatedUsers',
- '--create' => true
- ],
- ['interactive' => false]
- );
-
- $aclInfo = $acl->get(['entity' => 'allAuthenticatedUsers']);
- $this->assertArrayHasKey('role', $aclInfo);
- $this->assertEquals('READER', $aclInfo['role']);
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--entity' => 'allAuthenticatedUsers'
- ],
- ['interactive' => false]
- );
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--entity' => 'allAuthenticatedUsers',
- '--delete' => true
- ],
- ['interactive' => false]
- );
-
- try {
- $acl->get(['entity' => 'allAuthenticatedUsers']);
- $this->fail();
- } catch (NotFoundException $e) {
- $this->assertTrue(true);
- }
-
- $bucketUrl = sprintf('gs://%s', $bucketName);
- $outputString = <<expectOutputString($outputString);
- }
-}
diff --git a/storage/api/test/BucketsCommandTest.php b/storage/api/test/BucketsCommandTest.php
deleted file mode 100644
index 8c1398d3c5..0000000000
--- a/storage/api/test/BucketsCommandTest.php
+++ /dev/null
@@ -1,102 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $application = new Application();
- $application->add(new BucketsCommand());
- $this->commandTester = new CommandTester($application->get('buckets'));
- $this->storage = new StorageClient();
- }
-
- public function testListBuckets()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
-
- $this->commandTester->execute(
- [],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/Bucket:/");
- }
-
- public function testCreateAndDeleteBuckets()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
-
- $bucketName = 'test-bucket-' . time();
- $bucket = $this->storage->bucket($bucketName);
-
- $this->assertFalse($bucket->exists());
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--create' => true,
- ],
- ['interactive' => false]
- );
-
- $bucket->reload();
- $this->assertTrue($bucket->exists());
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--delete' => true,
- ],
- ['interactive' => false]
- );
-
- $this->assertFalse($bucket->exists());
-
- $outputString = <<expectOutputString($outputString);
- }
-}
diff --git a/storage/api/test/EncryptionCommandTest.php b/storage/api/test/EncryptionCommandTest.php
deleted file mode 100644
index a04e560aac..0000000000
--- a/storage/api/test/EncryptionCommandTest.php
+++ /dev/null
@@ -1,211 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $application = new Application();
- $application->add(new EncryptionCommand());
- $this->commandTester = new CommandTester($application->get('encryption'));
- }
-
- public function testGenerateEncryptionKey()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
-
- $this->commandTester->execute(
- [
- '--generate-key' => true
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/Your encryption key:/");
- }
-
- public function testEncryptedFile()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
- if (!$objectName = getenv('GOOGLE_STORAGE_OBJECT')) {
- $this->markTestSkipped('No storage object name.');
- }
- $objectName = 'encrypted_' . $objectName;
- $key = base64_encode(random_bytes(32));
- $uploadFrom = tempnam(sys_get_temp_dir(), '/tests');
- $uploadFromBasename = basename($uploadFrom);
- file_put_contents($uploadFrom, $contents = 'foo' . rand());
- $downloadTo = tempnam(sys_get_temp_dir(), '/tests');
- $downloadToBasename = basename($downloadTo);
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--key' => $key,
- '--upload-from' => $uploadFrom,
- ],
- ['interactive' => false]
- );
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--key' => $key,
- '--download-to' => $downloadTo,
- ],
- ['interactive' => false]
- );
-
- $this->assertTrue(file_exists($downloadTo));
- $this->assertEquals($contents, file_get_contents($downloadTo));
-
- $objectUrl = sprintf('gs://%s/%s', $bucketName, $objectName);
- $outputString = <<expectOutputString($outputString);
- }
-
- public function testRotateEncryptionKey()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
- if (!$objectName = getenv('GOOGLE_STORAGE_OBJECT')) {
- $this->markTestSkipped('No storage object name.');
- }
- $objectName = 'encrypted_' . $objectName;
- $key = base64_encode(random_bytes(32));
- $newKey = base64_encode(random_bytes(32));
- $uploadFrom = tempnam(sys_get_temp_dir(), '/tests');
- $uploadFromBasename = basename($uploadFrom);
- file_put_contents($uploadFrom, $contents = 'foo' . rand());
- $downloadTo = tempnam(sys_get_temp_dir(), '/tests');
- $downloadToBasename = basename($downloadTo);
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--key' => $key,
- '--upload-from' => $uploadFrom,
- ],
- ['interactive' => false]
- );
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--key' => $key,
- '--rotate-key' => $newKey,
- ],
- ['interactive' => false]
- );
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--key' => $newKey,
- '--download-to' => $downloadTo,
- ],
- ['interactive' => false]
- );
-
- $this->assertTrue(file_exists($downloadTo));
- $this->assertEquals($contents, file_get_contents($downloadTo));
-
- $objectUrl = sprintf('gs://%s/%s', $bucketName, $objectName);
- $outputString = <<expectOutputString($outputString);
- }
-
- public function testDownloadEncryptedFileFails()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
- if (!$objectName = getenv('GOOGLE_STORAGE_OBJECT')) {
- $this->markTestSkipped('No storage object name.');
- }
- $objectName = 'encrypted_' . $objectName;
- $invalidKey = base64_encode(random_bytes(32));
- $downloadTo = tempnam(sys_get_temp_dir(), '/tests');
-
- try {
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--key' => $invalidKey,
- '--download-to' => $downloadTo,
- ],
- ['interactive' => false]
- );
- $this->fail('An exception should have been thrown');
- } catch (BadRequestException $e) {
- // Expected exception
- }
-
- $this->assertContains(
- 'CustomerEncryptionKeyIsIncorrect',
- $e->getMessage()
- );
- }
-}
diff --git a/storage/api/test/IamCommandTest.php b/storage/api/test/IamCommandTest.php
deleted file mode 100644
index 761f8a458b..0000000000
--- a/storage/api/test/IamCommandTest.php
+++ /dev/null
@@ -1,149 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $application = new Application();
- $application->add(new IamCommand());
- $this->commandTester = new CommandTester($application->get('iam'));
- $this->storage = new StorageClient();
- $this->user = getenv('GOOGLE_IAM_USER');
- $this->bucket = getenv('GOOGLE_STORAGE_BUCKET');
- }
-
- public function testAddBucketIamMember()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
-
- $bucket = $this->bucket;
- $role = 'roles/storage.objectViewer';
- $user = $this->user;
- $this->commandTester->execute(
- [
- 'bucket' => $bucket,
- '--role' => $role,
- '--add-member' => $user,
- ],
- ['interactive' => false]
- );
-
- $outputString = <<expectOutputString($outputString);
-
- $foundRoleMember = false;
- $policy = $this->storage->bucket($bucket)->iam()->policy();
- foreach ($policy['bindings'] as $binding) {
- if ($binding['role'] == $role) {
- $foundRoleMember = in_array($user, $binding['members']);
- break;
- }
- }
- $this->assertTrue($foundRoleMember);
- }
-
- /**
- * @depends testAddBucketIamMember
- */
- public function testListIamMembers()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
-
- $bucket = $this->bucket;
- $role = 'roles/storage.objectViewer';
- $user = $this->user;
- $this->commandTester->execute(
- [
- 'bucket' => $bucket,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/Printing Bucket IAM members for Bucket: $bucket/");
- $this->expectOutputRegex("/Role: $role/");
- $this->expectOutputRegex("/$user/");
- }
-
- /**
- * @depends testAddBucketIamMember
- */
- public function testRemoveBucketIamMember()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
-
- $bucket = $this->bucket;
- $role = 'roles/storage.objectViewer';
- $user = $this->user;
- $this->commandTester->execute(
- [
- 'bucket' => $bucket,
- '--role' => 'roles/storage.objectViewer',
- '--remove-member' => $user,
- ],
- ['interactive' => false]
- );
-
- $outputString = <<expectOutputString($outputString);
-
- $foundRoleMember = false;
- $policy = $this->storage->bucket($bucket)->iam()->policy();
- foreach ($policy['bindings'] as $binding) {
- if ($binding['role'] == $role) {
- $foundRoleMember = in_array($user, $binding['members']);
- break;
- }
- }
- $this->assertFalse($foundRoleMember);
- }
-}
diff --git a/storage/api/test/ObjectAclCommandTest.php b/storage/api/test/ObjectAclCommandTest.php
deleted file mode 100644
index b81b993f93..0000000000
--- a/storage/api/test/ObjectAclCommandTest.php
+++ /dev/null
@@ -1,138 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $application = new Application();
- $application->add(new ObjectAclCommand());
- $this->commandTester = new CommandTester($application->get('object-acl'));
- $this->storage = new StorageClient();
- }
-
- public function testObjectAcl()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
- if (!$objectName = getenv('GOOGLE_STORAGE_OBJECT')) {
- $this->markTestSkipped('No storage object name.');
- }
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/: OWNER/");
- }
-
- public function testManageObjectAcl()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
- if (!$objectName = getenv('GOOGLE_STORAGE_OBJECT')) {
- $this->markTestSkipped('No storage object name.');
- }
-
- $bucket = $this->storage->bucket($bucketName);
- $object = $bucket->object($objectName);
- $acl = $object->acl();
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--entity' => 'allAuthenticatedUsers',
- '--create' => true,
- ],
- ['interactive' => false]
- );
-
- $aclInfo = $acl->get(['entity' => 'allAuthenticatedUsers']);
- $this->assertArrayHasKey('role', $aclInfo);
- $this->assertEquals('READER', $aclInfo['role']);
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--entity' => 'allAuthenticatedUsers',
- ],
- ['interactive' => false]
- );
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--entity' => 'allAuthenticatedUsers',
- '--delete' => true,
- ],
- ['interactive' => false]
- );
-
- try {
- $acl->get(['entity' => 'allAuthenticatedUsers']);
- $this->fail();
- } catch (NotFoundException $e) {
- $this->assertTrue(true);
- }
-
- $objectUrl = sprintf('gs://%s/%s', $bucketName, $objectName);
- $outputString = <<expectOutputString($outputString);
- }
-}
diff --git a/storage/api/test/ObjectsCommandTest.php b/storage/api/test/ObjectsCommandTest.php
deleted file mode 100644
index cdb9bfc839..0000000000
--- a/storage/api/test/ObjectsCommandTest.php
+++ /dev/null
@@ -1,207 +0,0 @@
- 0;
- }
-
- public function setUp()
- {
- $application = new Application();
- $application->add(new ObjectsCommand());
- $this->commandTester = new CommandTester($application->get('objects'));
- $this->storage = new StorageClient();
- }
-
- public function testListObjects()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- ],
- ['interactive' => false]
- );
-
- $this->expectOutputRegex("/Object:/");
- }
-
- public function testListObjectsWithPrefix()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
-
- ob_start();
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- '--prefix' => 'test_data.csv'
- ],
- ['interactive' => false]
- );
- $output = ob_get_clean();
-
- $this->assertEquals(1, substr_count($output, 'Object: '));
- }
-
- public function testManageObject()
- {
- if (!self::$hasCredentials) {
- $this->markTestSkipped('No application credentials were found.');
- }
- if (!$bucketName = getenv('GOOGLE_STORAGE_BUCKET')) {
- $this->markTestSkipped('No storage bucket name.');
- }
-
- $objectName = 'test-object-' . time();
- $bucket = $this->storage->bucket($bucketName);
- $object = $bucket->object($objectName);
- $uploadFrom = tempnam(sys_get_temp_dir(), '/tests');
- $basename = basename($uploadFrom);
- file_put_contents($uploadFrom, 'foo' . rand());
- $downloadTo = tempnam(sys_get_temp_dir(), '/tests');
- $downloadToBasename = basename($downloadTo);
-
- $this->assertFalse($object->exists());
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--upload-from' => $uploadFrom,
- ],
- ['interactive' => false]
- );
-
- $object->reload();
- $this->assertTrue($object->exists());
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--copy-to' => $objectName . '-copy',
- ],
- ['interactive' => false]
- );
-
- $copyObject = $bucket->object($objectName . '-copy');
- $this->assertTrue($copyObject->exists());
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName . '-copy',
- '--delete' => true,
- ],
- ['interactive' => false]
- );
-
- $this->assertFalse($copyObject->exists());
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--make-public' => true,
- ],
- ['interactive' => false]
- );
-
- $acl = $object->acl()->get(['entity' => 'allUsers']);
- $this->assertArrayHasKey('role', $acl);
- $this->assertEquals('READER', $acl['role']);
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--download-to' => $downloadTo,
- ],
- ['interactive' => false]
- );
-
- $this->assertTrue(file_exists($downloadTo));
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName,
- '--move-to' => $objectName . '-moved',
- ],
- ['interactive' => false]
- );
-
- $this->assertFalse($object->exists());
- $movedObject = $bucket->object($objectName . '-moved');
- $this->assertTrue($movedObject->exists());
-
- $this->commandTester->execute(
- [
- 'bucket' => $bucketName,
- 'object' => $objectName . '-moved',
- '--delete' => true,
- ],
- ['interactive' => false]
- );
-
- $this->assertFalse($movedObject->exists());
-
- // $bucketUrl = sprintf('gs://%s', $bucketName);
- $objectUrl = sprintf('gs://%s/%s', $bucketName, $objectName);
- $outputString = <<expectOutputString($outputString);
- }
-}
diff --git a/storage/quickstart/composer.json b/storage/quickstart/composer.json
deleted file mode 100644
index 1cc6250986..0000000000
--- a/storage/quickstart/composer.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "require": {
- "php": ">=5.4",
- "google/cloud-storage": "^1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/storage/quickstart/composer.lock b/storage/quickstart/composer.lock
deleted file mode 100644
index 116a56afb9..0000000000
--- a/storage/quickstart/composer.lock
+++ /dev/null
@@ -1,1753 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "3c91fdc3c8e3f7ec6771090a2d767e29",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "7a209c6ff0cd92a5ef028c81589415c9e3e4d05b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/7a209c6ff0cd92a5ef028c81589415c9e3e4d05b",
- "reference": "7a209c6ff0cd92a5ef028c81589415c9e3e4d05b",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "google/cloud-storage",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-storage.git",
- "reference": "459953f5879497fe61ffea2359bd06c801f60be1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-storage/zipball/459953f5879497fe61ffea2359bd06c801f60be1",
- "reference": "459953f5879497fe61ffea2359bd06c801f60be1",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-storage",
- "target": "GoogleCloudPlatform/google-cloud-php-storage.git",
- "path": "src/Storage",
- "entry": "StorageClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Storage\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Storage Client for PHP",
- "time": "2017-03-31T16:47:15+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
- "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-12-08T07:14:41+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.2.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-03-20T09:45:15+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/storage/quickstart/phpunit.xml.dist b/storage/quickstart/phpunit.xml.dist
deleted file mode 100644
index 33fa1a2234..0000000000
--- a/storage/quickstart/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- quickstart.php
-
-
-
diff --git a/storage/quickstart/quickstart.php b/storage/quickstart/quickstart.php
deleted file mode 100644
index aebc7d0168..0000000000
--- a/storage/quickstart/quickstart.php
+++ /dev/null
@@ -1,41 +0,0 @@
- $projectId
-]);
-
-# The name for the new bucket
-$bucketName = 'my-new-bucket';
-
-# Creates the new bucket
-$bucket = $storage->createBucket($bucketName);
-
-echo 'Bucket ' . $bucket->name() . ' created.';
-# [END storage_quickstart]
-return $bucket;
diff --git a/storage/quickstart/test/quickstartTest.php b/storage/quickstart/test/quickstartTest.php
deleted file mode 100644
index 539d1b9be2..0000000000
--- a/storage/quickstart/test/quickstartTest.php
+++ /dev/null
@@ -1,43 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
-
- $bucketName = 'my-new-bucket-' . time();
- $file = sys_get_temp_dir() . '/storage_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', 'my-new-bucket', '__DIR__'],
- [$projectId, $bucketName, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
- $bucket = include $file;
-
- // Make sure it looks correct
- $this->assertInstanceOf('Google\Cloud\Storage\Bucket', $bucket);
- $this->assertEquals($bucketName, $bucket->name());
- $bucket->delete();
- }
-}
diff --git a/translate/api/README.md b/translate/api/README.md
deleted file mode 100644
index f5759b81c2..0000000000
--- a/translate/api/README.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# Google Cloud Translate API Samples
-
-## Description
-
-These samples show how to use the [Google Cloud Translate API](
-https://cloud.google.com/translate/).
-
-## Build and Run
-1. **Enable APIs** - [Enable the Translate API](https://console.cloud.google.com/flows/enableapi?apiid=translate)
- and create a new project or select an existing project.
-2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click "Create Credentials"
- and select "API key". Copy the API key.
-3. **Clone the repo** and cd into this directory
-```
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/translate/api
-```
-4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-5. **Run**:
-```
-$ php translate.php
-Console Tool
-
-Usage:
- command [options] [arguments]
-
-Options:
- -h, --help Display this help message
- -q, --quiet Do not output any message
- -V, --version Display this application version
- --ansi Force ANSI output
- --no-ansi Disable ANSI output
- -n, --no-interaction Do not ask any interactive question
- -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
-
-Available commands:
- detect Detect which language text was written in using Google Cloud Translate API
- help Displays help for a command
- list Lists commands
- list-codes List all the language codes in the Google Cloud Translate API
- list-langs List language codes and names in the Google Cloud Translate API
- translate Translate text using Google Cloud Translate API
-```
-
-6. Run `php translate.php COMMAND --help` to print information about the usage of each command.
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
diff --git a/translate/api/composer.json b/translate/api/composer.json
deleted file mode 100644
index f7f42de434..0000000000
--- a/translate/api/composer.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "google/translate-sample",
- "type": "project",
- "require": {
- "google/cloud-translate": "^0.2",
- "symfony/console": "^3.1"
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Samples\\Translate\\": "src/"
- }
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/translate/api/composer.lock b/translate/api/composer.lock
deleted file mode 100644
index 19f6329cc9..0000000000
--- a/translate/api/composer.lock
+++ /dev/null
@@ -1,1938 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "d4369e216aaabcfecd49640e36ca5c45",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "google/cloud-translate",
- "version": "v0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-translate.git",
- "reference": "719844dbd8ccc2dac7a5281d3318d04ea4a43118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-translate/zipball/719844dbd8ccc2dac7a5281d3318d04ea4a43118",
- "reference": "719844dbd8ccc2dac7a5281d3318d04ea4a43118",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-translate",
- "target": "GoogleCloudPlatform/google-cloud-php-translate.git",
- "path": "src/Translate",
- "entry": "TranslateClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Translate\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Transation Client for PHP",
- "time": "2017-06-01T16:02:04+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "70d2a29b2911cbdc91a7e268046c395278238b2e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/70d2a29b2911cbdc91a7e268046c395278238b2e",
- "reference": "70d2a29b2911cbdc91a7e268046c395278238b2e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T19:24:58+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/e9c50482841ef696e8fa1470d950a79c8921f45d",
- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-01T21:01:25+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T22:05:06+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/translate/api/phpunit.xml.dist b/translate/api/phpunit.xml.dist
deleted file mode 100644
index cfe34f2189..0000000000
--- a/translate/api/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
diff --git a/translate/api/src/DetectLanguageCommand.php b/translate/api/src/DetectLanguageCommand.php
deleted file mode 100644
index 8319eaf1fd..0000000000
--- a/translate/api/src/DetectLanguageCommand.php
+++ /dev/null
@@ -1,57 +0,0 @@
-setName('detect')
- ->setDescription('Detect which language text was written in using '
- . 'Google Cloud Translate API')
- ->setHelp(<<%command.name% command detects which language text was written in using the Google Cloud Translate API.
-
- php %command.full_name% "Your text here"
-
-EOF
- )
- ->addArgument(
- 'text',
- InputArgument::REQUIRED,
- 'The text to examine.'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $text = $input->getArgument('text');
- require(__DIR__ . '/snippets/detect_language.php');
- }
-}
diff --git a/translate/api/src/ListCodesCommand.php b/translate/api/src/ListCodesCommand.php
deleted file mode 100644
index c968300b3c..0000000000
--- a/translate/api/src/ListCodesCommand.php
+++ /dev/null
@@ -1,50 +0,0 @@
-setName('list-codes')
- ->setDescription('List all the language codes in the ' .
- 'Google Cloud Translate API')
- ->setHelp(<<%command.name% command lists all the language codes in the Google Cloud Translate API.
-
- php %command.full_name%
-
-EOF
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- require(__DIR__ . '/snippets/list_codes.php');
- }
-}
diff --git a/translate/api/src/ListLanguagesCommand.php b/translate/api/src/ListLanguagesCommand.php
deleted file mode 100644
index 01752fce9b..0000000000
--- a/translate/api/src/ListLanguagesCommand.php
+++ /dev/null
@@ -1,58 +0,0 @@
-setName('list-langs')
- ->setDescription('List language codes and names in the '
- . 'Google Cloud Translate API')
- ->setHelp(<<%command.name% lists language codes and names in the Google Cloud Translate API.
-
- php %command.full_name% -t en
-
-EOF
- )
- ->addOption(
- 'target-language',
- 't',
- InputOption::VALUE_REQUIRED,
- 'The ISO 639-1 code of language to use when printing names, eg. \'en\'.'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $targetLanguage = $input->getOption('target-language');
- require(__DIR__ . '/snippets/list_languages.php');
- }
-}
diff --git a/translate/api/src/TranslateCommand.php b/translate/api/src/TranslateCommand.php
deleted file mode 100644
index da85ae1fd1..0000000000
--- a/translate/api/src/TranslateCommand.php
+++ /dev/null
@@ -1,76 +0,0 @@
-setName('translate')
- ->setDescription('Translate text using Google Cloud Translate API')
- ->setHelp(<<%command.name% command transcribes audio using the Google Cloud Translate API.
-
- php %command.full_name% -t ja "Hello World."
-
-EOF
- )
- ->addArgument(
- 'text',
- InputArgument::REQUIRED,
- 'The text to translate.'
- )
- ->addOption(
- 'target-language',
- 't',
- InputOption::VALUE_REQUIRED,
- 'The ISO 639-1 code of language to translate to, eg. \'en\'.'
- )
- ->addOption(
- 'model',
- null,
- InputOption::VALUE_REQUIRED,
- 'The model to use, "base" for standard and "nmt" for premium.'
- )
- ;
- }
-
- protected function execute(InputInterface $input, OutputInterface $output)
- {
- $text = $input->getArgument('text');
- $targetLanguage = $input->getOption('target-language');
- $model = $input->getOption('model');
-
- if ($model) {
- require(__DIR__ . '/snippets/translate_with_model.php');
- } else {
- require(__DIR__ . '/snippets/translate.php');
- }
- }
-}
diff --git a/translate/api/src/snippets/detect_language.php b/translate/api/src/snippets/detect_language.php
deleted file mode 100644
index 0a3dbc821e..0000000000
--- a/translate/api/src/snippets/detect_language.php
+++ /dev/null
@@ -1,28 +0,0 @@
-detectLanguage($text);
-print("Language code: $result[languageCode]\n");
-print("Confidence: $result[confidence]\n");
-// [END translate_detect_language]
diff --git a/translate/api/src/snippets/list_codes.php b/translate/api/src/snippets/list_codes.php
deleted file mode 100644
index 07d8e5a907..0000000000
--- a/translate/api/src/snippets/list_codes.php
+++ /dev/null
@@ -1,26 +0,0 @@
-languages() as $code) {
- print("$code\n");
-}
-// [END translate_list_codes]
diff --git a/translate/api/src/snippets/list_languages.php b/translate/api/src/snippets/list_languages.php
deleted file mode 100644
index f1d491da43..0000000000
--- a/translate/api/src/snippets/list_languages.php
+++ /dev/null
@@ -1,33 +0,0 @@
-localizedLanguages([
- 'target' => $targetLanguage,
-]);
-foreach ($result as $lang) {
- print("$lang[code]: $lang[name]\n");
-}
-// [END translate_list_language_names]
diff --git a/translate/api/src/snippets/translate.php b/translate/api/src/snippets/translate.php
deleted file mode 100644
index 71f71468e5..0000000000
--- a/translate/api/src/snippets/translate.php
+++ /dev/null
@@ -1,33 +0,0 @@
-translate($text, [
- 'target' => $targetLanguage,
-]);
-print("Source language: $result[source]\n");
-print("Translation: $result[text]\n");
-// [END translate_translate_text]
diff --git a/translate/api/src/snippets/translate_with_model.php b/translate/api/src/snippets/translate_with_model.php
deleted file mode 100644
index 9c23d8bd25..0000000000
--- a/translate/api/src/snippets/translate_with_model.php
+++ /dev/null
@@ -1,36 +0,0 @@
-translate($text, [
- 'target' => $targetLanguage,
- 'model' => $model,
-]);
-print("Source language: $result[source]\n");
-print("Translation: $result[text]\n");
-print("Model: $result[model]\n");
-// [END translate_text_with_model]
diff --git a/translate/api/test/CommandTest.php b/translate/api/test/CommandTest.php
deleted file mode 100644
index efc52b64eb..0000000000
--- a/translate/api/test/CommandTest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-add(new TranslateCommand());
- $commandTester = new CommandTester($application->get('translate'));
- $commandTester->execute(
- [
- 'text' => 'Hello.',
- '-t' => 'ja',
- ],
- ['interactive' => false]
- );
- $this->assertEquals(0, $commandTester->getStatusCode());
- $display = $this->getActualOutput();
- $this->assertContains('Source language: en', $display);
- $this->assertContains('Translation:', $display);
- }
-
- public function testTranslateBadLanguage()
- {
- $application = new Application();
- $application->add(new TranslateCommand());
- $commandTester = new CommandTester($application->get('translate'));
- $this->setExpectedException('Google\Cloud\Core\Exception\BadRequestException');
- $commandTester->execute(
- [
- 'text' => 'Hello.',
- '-t' => 'jp',
- ],
- ['interactive' => false]
- );
- }
-
- public function testTranslateWithModel()
- {
- $application = new Application();
- $application->add(new TranslateCommand());
- $commandTester = new CommandTester($application->get('translate'));
- $commandTester->execute(
- [
- 'text' => 'Hello.',
- '-t' => 'ja',
- '--model' => 'nmt',
- ],
- ['interactive' => false]
- );
- $this->assertEquals(0, $commandTester->getStatusCode());
- $display = $this->getActualOutput();
- $this->assertContains('Source language: en', $display);
- $this->assertContains('Translation:', $display);
- $this->assertContains('Model: nmt', $display);
- }
-
- public function testDetectLanguage()
- {
- $application = new Application();
- $application->add(new DetectLanguageCommand());
- $commandTester = new CommandTester($application->get('detect'));
- $commandTester->execute(
- [
- 'text' => 'Hello.',
- ],
- ['interactive' => false]
- );
- $this->assertEquals(0, $commandTester->getStatusCode());
- $display = $this->getActualOutput();
- $this->assertContains('Language code: en', $display);
- $this->assertContains('Confidence:', $display);
- }
-
- public function testListCodes()
- {
- $application = new Application();
- $application->add(new ListCodesCommand());
- $commandTester = new CommandTester($application->get('list-codes'));
- $commandTester->execute([], ['interactive' => false]);
- $this->assertEquals(0, $commandTester->getStatusCode());
- $display = $this->getActualOutput();
- $this->assertContains("\nen\n", $display);
- $this->assertContains("\nja\n", $display);
- }
-
- public function testListLanguagesInEnglish()
- {
- $application = new Application();
- $application->add(new ListLanguagesCommand());
- $commandTester = new CommandTester($application->get('list-langs'));
- $commandTester->execute(
- ['-t' => 'en'],
- ['interactive' => false]
- );
- $this->assertEquals(0, $commandTester->getStatusCode());
- $display = $this->getActualOutput();
- $this->assertContains('ja: Japanese', $display);
- }
-
- public function testListLanguagesInJapanese()
- {
- $application = new Application();
- $application->add(new ListLanguagesCommand());
- $commandTester = new CommandTester($application->get('list-langs'));
- $commandTester->execute(
- ['-t' => 'ja'],
- ['interactive' => false]
- );
- $this->assertEquals(0, $commandTester->getStatusCode());
- $display = $this->getActualOutput();
- $this->assertContains('en: 英語', $display);
- }
-}
diff --git a/translate/api/translate.php b/translate/api/translate.php
deleted file mode 100644
index c8a9f5b6bc..0000000000
--- a/translate/api/translate.php
+++ /dev/null
@@ -1,26 +0,0 @@
-add(new Google\Cloud\Samples\Translate\TranslateCommand());
-$application->add(new Google\Cloud\Samples\Translate\DetectLanguageCommand());
-$application->add(new Google\Cloud\Samples\Translate\ListCodesCommand());
-$application->add(new Google\Cloud\Samples\Translate\ListLanguagesCommand());
-$application->run();
diff --git a/translate/quickstart/composer.json b/translate/quickstart/composer.json
deleted file mode 100644
index bb688c5ebf..0000000000
--- a/translate/quickstart/composer.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "require": {
- "php": ">=5.4",
- "google/cloud-translate": "^0.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/translate/quickstart/composer.lock b/translate/quickstart/composer.lock
deleted file mode 100644
index f39b3b8bc6..0000000000
--- a/translate/quickstart/composer.lock
+++ /dev/null
@@ -1,1756 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "c6338da9d6ccc1f7d842582921112959",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v0.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
- "reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2016-11-02T14:59:14+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.5.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "reference": "145cc80d8eeb03ad677733ca2a5a9bcf4fc3def9",
- "shasum": ""
- },
- "require": {
- "google/auth": "^0.11",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-05-25T15:15:05+00:00"
- },
- {
- "name": "google/cloud-translate",
- "version": "v0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-translate.git",
- "reference": "719844dbd8ccc2dac7a5281d3318d04ea4a43118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-translate/zipball/719844dbd8ccc2dac7a5281d3318d04ea4a43118",
- "reference": "719844dbd8ccc2dac7a5281d3318d04ea4a43118",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-translate",
- "target": "GoogleCloudPlatform/google-cloud-php-translate.git",
- "path": "src/Translate",
- "entry": "TranslateClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Translate\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Transation Client for PHP",
- "time": "2017-06-01T16:02:04+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0",
- "psr/log": "^1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-02-28T22:50:30+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.22.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "~5.3"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-03-13T07:08:03+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "reference": "35cee84ae1c4fe0a6599392d7ca13977ff664bee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-02-21T15:25:22+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.35",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "reference": "791b1a67c25af50e230f841ee7a9c6eba507dc87",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-02-06T05:18:07+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-02T22:05:06+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/translate/quickstart/phpunit.xml.dist b/translate/quickstart/phpunit.xml.dist
deleted file mode 100644
index 1713e9be96..0000000000
--- a/translate/quickstart/phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- quickstart.php
-
-
-
diff --git a/translate/quickstart/quickstart.php b/translate/quickstart/quickstart.php
deleted file mode 100644
index 50822dc6b5..0000000000
--- a/translate/quickstart/quickstart.php
+++ /dev/null
@@ -1,46 +0,0 @@
- $projectId
-]);
-
-# The text to translate
-$text = 'Hello, world!';
-# The target language
-$target = 'ru';
-
-# Translates some text into Russian
-$translation = $translate->translate($text, [
- 'target' => $target
-]);
-
-echo 'Text: ' . $text . '
-Translation: ' . $translation['text'];
-# [END translate_quickstart]
-return $translation;
diff --git a/translate/quickstart/test/quickstartTest.php b/translate/quickstart/test/quickstartTest.php
deleted file mode 100644
index ed6cf3e73a..0000000000
--- a/translate/quickstart/test/quickstartTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
-
- $file = sys_get_temp_dir() . '/translate_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', '__DIR__'],
- [$projectId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
- $translation = include $file;
-
- // Make sure it looks correct
- $this->assertTrue(is_array($translation));
- $this->assertArrayHasKey('source', $translation);
- $this->assertArrayHasKey('input', $translation);
- $this->assertArrayHasKey('text', $translation);
- $this->assertEquals('en', $translation['source']);
- $this->assertEquals('Hello, world!', $translation['input']);
- $this->assertEquals('Привет мир!', $translation['text']);
- }
-}
diff --git a/video/README.md b/video/README.md
deleted file mode 100644
index ca7b5ca641..0000000000
--- a/video/README.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# Google Video PHP Sample Application
-
-## Description
-
-This simple command-line application demonstrates how to invoke Google
-Video Intelligence API from PHP.
-
-## Build and Run
-1. **Enable APIs** - [Enable the Video Intelligence API](
- https://console.cloud.google.com/flows/enableapi?apiid=videointelligence.googleapis.com)
- and create a new project or select an existing project.
-2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click
- "New Credentials"
- and select "Service Account Key". Create a new service account, use the JSON key type, and
- select "Create". Once downloaded, set the environment variable `GOOGLE_APPLICATION_CREDENTIALS`
- to the path of the JSON key that was downloaded.
-3. **Clone the repo** and cd into this directory
-```
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/video
-```
-4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-5. Run `php video.php`. The following commands are available:
-
- ```
- faces Detect faces changes in video using the Video Intelligence API
- help Displays help for a command
- labels Detect labels in video using the Video Intelligence API
- labels-in-file Detect labels in a file using the Video Intelligence API
- list Lists commands
- safe-search Detect safe search in video using the Video Intelligence API
- shots Detect shots in video using the Video Intelligence API
- ```
-
- Example:
-
- ```
- $ php video.php shots gs://demomaker/cat.mp4
- 0s to 14.833664s
- ```
-
-
-6. Run `php video.php COMMAND --help` to print information about the usage of each command.
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
diff --git a/video/composer.json b/video/composer.json
deleted file mode 100644
index c9fef52884..0000000000
--- a/video/composer.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "name": "google/translate-sample",
- "type": "project",
- "require": {
- "symfony/console": "^3.1",
- "google/cloud-videointelligence": "^0.3.0"
- },
- "autoload": {
- "files": [
- "src/analyze_faces.php",
- "src/analyze_labels.php",
- "src/analyze_labels_file.php",
- "src/analyze_safe_search.php",
- "src/analyze_shots.php"
- ]
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/video/composer.lock b/video/composer.lock
deleted file mode 100644
index 7842e4d7c1..0000000000
--- a/video/composer.lock
+++ /dev/null
@@ -1,1940 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "6af3279575765ea3d58399f9d144df3c",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "db77bd2de0bcc40bf50ebe851e9eed332aeaa4df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/db77bd2de0bcc40bf50ebe851e9eed332aeaa4df",
- "reference": "db77bd2de0bcc40bf50ebe851e9eed332aeaa4df",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3.1|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2017-06-13T18:00:07+00:00"
- },
- {
- "name": "google/cloud-videointelligence",
- "version": "v0.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-videointelligence.git",
- "reference": "0c2a983db8ec2ca4cc3ef30467d55bcefb16c8b6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-videointelligence/zipball/0c2a983db8ec2ca4cc3ef30467d55bcefb16c8b6",
- "reference": "0c2a983db8ec2ca4cc3ef30467d55bcefb16c8b6",
- "shasum": ""
- },
- "require": {
- "ext-grpc": "*",
- "google/gax": "^0.21.0",
- "google/proto-client": "^0.21.0"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-videointelligence",
- "target": "GoogleCloudPlatform/google-cloud-php-videointelligence.git",
- "path": "src/VideoIntelligence",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\VideoIntelligence\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Video Intelligence Client for PHP",
- "time": "2017-07-12T00:04:55+00:00"
- },
- {
- "name": "google/gax",
- "version": "0.21.1",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/gax-php.git",
- "reference": "cbc6710a9ae2d1061b3a1987a2854381cf2c0319"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/gax-php/zipball/cbc6710a9ae2d1061b3a1987a2854381cf2c0319",
- "reference": "cbc6710a9ae2d1061b3a1987a2854381cf2c0319",
- "shasum": ""
- },
- "require": {
- "google/auth": "^1.0",
- "google/protobuf": "^3.3.2",
- "grpc/grpc": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "4.8.*",
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\GAX\\": "src/",
- "Google\\GAX\\UnitTests\\": "tests/",
- "Google\\": "src/generated/Google/",
- "GPBMetadata\\": "src/generated/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Google API Extensions for PHP",
- "homepage": "https://github.com/googleapis/gax-php",
- "keywords": [
- "google"
- ],
- "time": "2017-07-13T15:53:41+00:00"
- },
- {
- "name": "google/proto-client",
- "version": "0.21.1",
- "source": {
- "type": "git",
- "url": "https://github.com/googleapis/proto-client-php.git",
- "reference": "ef2b7e9a1b0dd5d0ed3ca921d3ff13f9c0982519"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/googleapis/proto-client-php/zipball/ef2b7e9a1b0dd5d0ed3ca921d3ff13f9c0982519",
- "reference": "ef2b7e9a1b0dd5d0ed3ca921d3ff13f9c0982519",
- "shasum": ""
- },
- "require": {
- "google/protobuf": "^3.3.2",
- "php": ">=5.5"
- },
- "require-dev": {
- "google/gax": ">=0.20.0",
- "phpunit/phpunit": "4.8.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\": "src/Google/",
- "GPBMetadata\\": "src/GPBMetadata/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "Generated proto and gRPC classes for Google Cloud Platform in PHP",
- "homepage": "https://github.com/googleapis/proto-client-php",
- "keywords": [
- "google"
- ],
- "time": "2017-07-10T16:58:12+00:00"
- },
- {
- "name": "google/protobuf",
- "version": "v3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/google/protobuf.git",
- "reference": "5532abc15b97f3489183b266b41844306052a3fa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/protobuf/zipball/5532abc15b97f3489183b266b41844306052a3fa",
- "reference": "5532abc15b97f3489183b266b41844306052a3fa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": ">=4.8.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Google\\Protobuf\\Internal\\": "php/src/Google/Protobuf/Internal",
- "GPBMetadata\\Google\\Protobuf\\Internal\\": "php/src/GPBMetadata/Google/Protobuf/Internal"
- },
- "files": [
- "php/src/Google/Protobuf/descriptor.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "proto library for PHP",
- "homepage": "https://developers.google.com/protocol-buffers/",
- "keywords": [
- "proto"
- ],
- "time": "2017-06-21T22:29:32+00:00"
- },
- {
- "name": "grpc/grpc",
- "version": "v1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/grpc/grpc.git",
- "reference": "5cb6a1f86129fc2833de9a27cfe174260934342b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grpc/grpc/zipball/5cb6a1f86129fc2833de9a27cfe174260934342b",
- "reference": "5cb6a1f86129fc2833de9a27cfe174260934342b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "google/auth": "v0.9"
- },
- "suggest": {
- "ext-protobuf": "For better performance, install the protobuf C extension.",
- "google/protobuf": "To get started using grpc quickly, install the native protobuf library."
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Grpc\\": "src/php/lib/Grpc/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "description": "gRPC library for PHP",
- "homepage": "http://grpc.io/",
- "keywords": [
- "rpc"
- ],
- "time": "2017-07-11T21:11:30+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0 || ^5.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-06-22T18:50:49+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/a97e45d98c59510f085fa05225a1acb74dfe0546",
- "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-03T13:19:36+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "63b85a968486d95ff9542228dc2e4247f16f9743"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/63b85a968486d95ff9542228dc2e4247f16f9743",
- "reference": "63b85a968486d95ff9542228dc2e4247f16f9743",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-05T13:02:37+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.2.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-09-30T07:12:33+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2016-11-25T06:54:22+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "1f93a8d19b8241617f5074a123e282575b821df8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/1f93a8d19b8241617f5074a123e282575b821df8",
- "reference": "1f93a8d19b8241617f5074a123e282575b821df8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-15T12:58:50+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/video/phpunit.xml.dist b/video/phpunit.xml.dist
deleted file mode 100644
index 7f51878e42..0000000000
--- a/video/phpunit.xml.dist
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
-
-
-
diff --git a/video/quickstart.php b/video/quickstart.php
deleted file mode 100644
index c8221e34d0..0000000000
--- a/video/quickstart.php
+++ /dev/null
@@ -1,51 +0,0 @@
-annotateVideo(
- 'gs://demomaker/cat.mp4',
- [Feature::LABEL_DETECTION]
-);
-# Wait for the request to complete.
-$operation->pollUntilComplete();
-
-# Print the result.
-if (!$operation->operationSucceeded()) {
- print_r($operation->getError());
- die;
-}
-
-$results = $operation->getResult()->getAnnotationResults()[0];
-foreach ($results->getLabelAnnotations() as $label) {
- printf($label->getDescription() . PHP_EOL);
- foreach ($label->getLocations() as $location) {
- printf(' %ss to %ss' . PHP_EOL,
- $location->getSegment()->getStartTimeOffset() / 1000000,
- $location->getSegment()->getEndTimeOffset() / 1000000);
- }
-}
-# [END videointelligence_quickstart]
diff --git a/video/src/analyze_faces.php b/video/src/analyze_faces.php
deleted file mode 100644
index 11c0eafd32..0000000000
--- a/video/src/analyze_faces.php
+++ /dev/null
@@ -1,63 +0,0 @@
-annotateVideo(
- $uri,
- [Feature::FACE_DETECTION]);
-
- # Wait for the request to complete.
- $operation->pollUntilComplete();
-
- # Print the result.
- if ($operation->operationSucceeded()) {
- $results = $operation->getResult()->getAnnotationResults()[0];
- foreach ($results->getFaceAnnotations() as $face) {
- foreach ($face->getLocations() as $location) {
- if (!$box = $location->getBoundingBox()) {
- continue;
- }
- printf('At %ss:' . PHP_EOL,
- $location->getTimeOffset() / 1000000);
- printf(' left: %s' . PHP_EOL, $box->getLeft());
- printf(' right: %s' . PHP_EOL, $box->getRight());
- printf(' bottom: %s' . PHP_EOL, $box->getBottom());
- printf(' top: %s' . PHP_EOL, $box->getTop());
- }
- }
- } else {
- print_r($operation->getError());
- }
-}
-// [END analyze_faces]
diff --git a/video/src/analyze_labels.php b/video/src/analyze_labels.php
deleted file mode 100644
index 994968aded..0000000000
--- a/video/src/analyze_labels.php
+++ /dev/null
@@ -1,58 +0,0 @@
-annotateVideo(
- $uri,
- [Feature::LABEL_DETECTION]);
-
- # Wait for the request to complete.
- $operation->pollUntilComplete();
-
- # Print the result.
- if ($operation->operationSucceeded()) {
- $results = $operation->getResult()->getAnnotationResults()[0];
- foreach ($results->getLabelAnnotations() as $label) {
- printf($label->getDescription() . PHP_EOL);
- foreach ($label->getLocations() as $location) {
- printf(' %ss to %ss' . PHP_EOL,
- $location->getSegment()->getStartTimeOffset() / 1000000,
- $location->getSegment()->getEndTimeOffset() / 1000000);
- }
- }
- } else {
- print_r($operation->getError());
- }
-}
-// [END analyze_labels]
diff --git a/video/src/analyze_labels_file.php b/video/src/analyze_labels_file.php
deleted file mode 100644
index c37739c344..0000000000
--- a/video/src/analyze_labels_file.php
+++ /dev/null
@@ -1,63 +0,0 @@
-annotateVideo(
- '',
- [Feature::LABEL_DETECTION],
- ['inputContent' => $inputContent]);
-
- # Wait for the request to complete.
- $operation->pollUntilComplete();
-
- # Print the result.
- if ($operation->operationSucceeded()) {
- $results = $operation->getResult()->getAnnotationResults()[0];
- foreach ($results->getLabelAnnotations() as $label) {
- printf($label->getDescription() . PHP_EOL);
- foreach ($label->getLocations() as $location) {
- printf(' %ss to %ss' . PHP_EOL,
- $location->getSegment()->getStartTimeOffset() / 1000000,
- $location->getSegment()->getEndTimeOffset() / 1000000);
- }
- }
- } else {
- print_r($operation->getError());
- }
-}
-// [END analyze_labels_file]
diff --git a/video/src/analyze_safe_search.php b/video/src/analyze_safe_search.php
deleted file mode 100644
index bdffddb203..0000000000
--- a/video/src/analyze_safe_search.php
+++ /dev/null
@@ -1,60 +0,0 @@
-annotateVideo(
- $uri,
- [Feature::SAFE_SEARCH_DETECTION]);
-
- # Wait for the request to complete.
- $operation->pollUntilComplete();
-
- # Print the result.
- if ($operation->operationSucceeded()) {
- $likelihoods = ['Unknown', 'Very unlikely', 'Unlikely', 'Possible',
- 'Likely', 'Very likely'];
- $results = $operation->getResult()->getAnnotationResults()[0];
- foreach ($results->getSafeSearchAnnotations() as $safeSearch) {
- printf('At %ss:' . PHP_EOL, $safeSearch->getTimeOffset() / 1000000);
- print(' adult: ' . $likelihoods[$safeSearch->getAdult()] . PHP_EOL);
- print(' spoof: ' . $likelihoods[$safeSearch->getSpoof()] . PHP_EOL);
- print(' medical: ' . $likelihoods[$safeSearch->getMedical()] . PHP_EOL);
- print(' racy: ' . $likelihoods[$safeSearch->getRacy()] . PHP_EOL);
- print(' violent: ' . $likelihoods[$safeSearch->getViolent()] . PHP_EOL);
- }
- } else {
- print_r($operation->getError());
- }
-}
-// [END analyze_safe_search]
diff --git a/video/src/analyze_shots.php b/video/src/analyze_shots.php
deleted file mode 100644
index 15fe2e30be..0000000000
--- a/video/src/analyze_shots.php
+++ /dev/null
@@ -1,55 +0,0 @@
-annotateVideo(
- $uri,
- [Feature::SHOT_CHANGE_DETECTION]);
-
- # Wait for the request to complete.
- $operation->pollUntilComplete();
-
- # Print the result.
- if ($operation->operationSucceeded()) {
- $results = $operation->getResult()->getAnnotationResults()[0];
- foreach ($results->getShotAnnotations() as $shot) {
- printf('%ss to %ss' . PHP_EOL,
- $shot->getStartTimeOffset() / 1000000,
- $shot->getEndTimeOffset() / 1000000);
- }
- } else {
- print_r($operation->getError());
- }
-}
-// [END analyze_shots]
diff --git a/video/test/data/cat_shortened.mp4 b/video/test/data/cat_shortened.mp4
deleted file mode 100644
index 51f1a3f246..0000000000
Binary files a/video/test/data/cat_shortened.mp4 and /dev/null differ
diff --git a/video/test/quickstartTest.php b/video/test/quickstartTest.php
deleted file mode 100644
index 4e8dc1d371..0000000000
--- a/video/test/quickstartTest.php
+++ /dev/null
@@ -1,34 +0,0 @@
-markTestSkipped('Set the GOOGLE_APPLICATION_CREDENTIALS ' .
- 'environment variable');
- }
- }
-
- public function testQuickstart()
- {
- // Invoke quickstart.php
- include __DIR__ . '/../quickstart.php';
- $this->expectOutputRegex('/Cat/');
- }
-}
diff --git a/video/test/videoTest.php b/video/test/videoTest.php
deleted file mode 100644
index 996c99c07b..0000000000
--- a/video/test/videoTest.php
+++ /dev/null
@@ -1,82 +0,0 @@
-markTestSkipped('Set the GOOGLE_APPLICATION_CREDENTIALS ' .
- 'environment variable');
- }
- }
-
- public function testAnalyzeFaces()
- {
- $output = $this->runCommand('faces', ['uri' => self::$gcsUri]);
- $this->assertContains('left:', $output);
- }
-
- public function testAnalyzeLabels()
- {
- $output = $this->runCommand('labels', ['uri' => self::$gcsUri]);
- $this->assertContains('Cat', $output);
- }
-
- public function testAnalyzeLabelsInFile()
- {
- $output = $this->runCommand('labels-in-file', [
- 'file' => __DIR__ . '/data/cat_shortened.mp4'
- ]);
- $this->assertContains('Cat', $output);
- }
-
- public function testAnalyzeSafeSearch()
- {
- $output = $this->runCommand('safe-search', ['uri' => self::$gcsUri]);
- $this->assertContains('adult:', $output);
- }
-
- public function testAnalyzeShots()
- {
- $output = $this->runCommand('shots', ['uri' => self::$gcsUri]);
- $this->assertContains(' to ', $output);
- }
-
- private function runCommand($commandName, $args)
- {
- $application = require __DIR__ . '/../video.php';
- $command = $application->get($commandName);
- $commandTester = new CommandTester($command);
-
- ob_start();
- $commandTester->execute(
- $args,
- ['interactive' => false]);
-
- return ob_get_clean();
- }
-}
diff --git a/video/video.php b/video/video.php
deleted file mode 100644
index 5d64335a7c..0000000000
--- a/video/video.php
+++ /dev/null
@@ -1,88 +0,0 @@
-add(new Command('faces'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect faces changes in video using the Video Intelligence API')
- ->setCode(function ($input, $output) {
- analyze_faces(
- $input->getArgument('uri')
- );
- });
-
-$application->add(new Command('labels'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect labels in video using the Video Intelligence API')
- ->setCode(function ($input, $output) {
- analyze_labels(
- $input->getArgument('uri')
- );
- });
-
-$application->add(new Command('labels-in-file'))
- ->addArgument('file', InputArgument::REQUIRED,
- 'Path to a local video file.')
- ->setDescription('Detect labels in a file using the Video Intelligence API')
- ->setCode(function ($input, $output) {
- analyze_labels_file(
- $input->getArgument('file')
- );
- });
-
-$application->add(new Command('safe-search'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect safe search in video using the Video Intelligence API')
- ->setCode(function ($input, $output) {
- analyze_safe_search(
- $input->getArgument('uri')
- );
- });
-
-$application->add(new Command('shots'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect shots in video using the Video Intelligence API')
- ->setCode(function ($input, $output) {
- analyze_shots(
- $input->getArgument('uri')
- );
- });
-
-// for testing
-if (getenv('PHPUNIT_TESTS') === '1') {
- return $application;
-}
-
-$application->run();
diff --git a/vision/README.md b/vision/README.md
deleted file mode 100644
index e74d7d2149..0000000000
--- a/vision/README.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# Google Vision PHP Sample Application
-
-## Description
-
-This simple command-line application demonstrates how to invoke Google
-Vision API from PHP.
-
-## Build and Run
-1. **Enable APIs** - [Enable the Vision API](https://console.cloud.google.com/flows/enableapi?apiid=vision.googleapis.com)
- and create a new project or select an existing project.
-2. **Download The Credentials** - Click "Go to credentials" after enabling the APIs. Click "New Credentials"
- and select "Service Account Key". Create a new service account, use the JSON key type, and
- select "Create". Once downloaded, set the environment variable `GOOGLE_APPLICATION_CREDENTIALS`
- to the path of the JSON key that was downloaded.
-3. **Clone the repo** and cd into this directory
-```
- $ git clone https://github.com/GoogleCloudPlatform/php-docs-samples
- $ cd php-docs-samples/vision/api
-```
-4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
- Run `php composer.phar install` (if composer is installed locally) or `composer install`
- (if composer is installed globally).
-5. For a basic demonstration of the Cloud Vision API, run `php quickstart.php`.
-6. Run `php vision.php`. The following commands are available:
-```
- face Detect faces in an image using Google Cloud Vision API
- help Displays help for a command
- label Detect labels in an image using Google Cloud Vision API
- landmark Detect landmarks in an image using Google Cloud Vision API
- list Lists commands
- logo Detect logos in an image using Google Cloud Vision API
- property Detect image proerties in an image using Google Cloud Vision API
- safe-search Detect adult content in an image using Google Cloud Vision API
- text Detect text in an image using Google Cloud Vision API
- crop-hints Detect crop hints in an image using Google Cloud Vision API
- document-text Detect document text in an image using Google Cloud Vision API
- web Detect web entities in an image using Google Cloud Vision API
-```
-7. Run `php vision.php COMMAND --help` to print information about the usage of each command.
-
-## Contributing changes
-
-* See [CONTRIBUTING.md](../../CONTRIBUTING.md)
-
-## Licensing
-
-* See [LICENSE](../../LICENSE)
diff --git a/vision/composer.json b/vision/composer.json
deleted file mode 100644
index 800910ec12..0000000000
--- a/vision/composer.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "name": "google/translate-sample",
- "type": "project",
- "require": {
- "google/cloud-vision": "^0.3",
- "google/cloud-storage": "^1.0",
- "symfony/console": "^3.1"
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Samples\\Vision\\": "src/"
- },
- "files": [
- "src/detect_label.php",
- "src/detect_label_gcs.php",
- "src/detect_text.php",
- "src/detect_text_gcs.php",
- "src/detect_face.php",
- "src/detect_face_gcs.php",
- "src/detect_landmark.php",
- "src/detect_landmark_gcs.php",
- "src/detect_logo.php",
- "src/detect_logo_gcs.php",
- "src/detect_safe_search.php",
- "src/detect_safe_search_gcs.php",
- "src/detect_image_property.php",
- "src/detect_image_property_gcs.php",
- "src/detect_crop_hints.php",
- "src/detect_crop_hints_gcs.php",
- "src/detect_document_text.php",
- "src/detect_document_text_gcs.php",
- "src/detect_web.php",
- "src/detect_web_gcs.php"
- ]
- },
- "require-dev": {
- "phpunit/phpunit": "~4"
- }
-}
diff --git a/vision/composer.lock b/vision/composer.lock
deleted file mode 100644
index 24a6eadc35..0000000000
--- a/vision/composer.lock
+++ /dev/null
@@ -1,1988 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "6163fb3f6c00034088d33f0070be1a9f",
- "packages": [
- {
- "name": "firebase/php-jwt",
- "version": "v4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/firebase/php-jwt.git",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Firebase\\JWT\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Neuman Vong",
- "email": "neuman+pear@twilio.com",
- "role": "Developer"
- },
- {
- "name": "Anant Narayanan",
- "email": "anant@php.net",
- "role": "Developer"
- }
- ],
- "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
- "homepage": "https://github.com/firebase/php-jwt",
- "time": "2016-07-18T04:51:16+00:00"
- },
- {
- "name": "google/auth",
- "version": "v1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/google/google-auth-library-php.git",
- "reference": "db77bd2de0bcc40bf50ebe851e9eed332aeaa4df"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/db77bd2de0bcc40bf50ebe851e9eed332aeaa4df",
- "reference": "db77bd2de0bcc40bf50ebe851e9eed332aeaa4df",
- "shasum": ""
- },
- "require": {
- "firebase/php-jwt": "~2.0|~3.0|~4.0",
- "guzzlehttp/guzzle": "~5.3.1|~6.0",
- "guzzlehttp/psr7": "~1.2",
- "php": ">=5.4",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^1.11",
- "phpunit/phpunit": "3.7.*"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ],
- "psr-4": {
- "Google\\Auth\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Auth Library for PHP",
- "homepage": "http://github.com/google/google-auth-library-php",
- "keywords": [
- "Authentication",
- "google",
- "oauth2"
- ],
- "time": "2017-06-13T18:00:07+00:00"
- },
- {
- "name": "google/cloud-core",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-core.git",
- "reference": "30fe5b3b2613cb467ab18363165e290427b2ee3b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-core/zipball/30fe5b3b2613cb467ab18363165e290427b2ee3b",
- "reference": "30fe5b3b2613cb467ab18363165e290427b2ee3b",
- "shasum": ""
- },
- "require": {
- "google/auth": "~0.9|^1.0",
- "guzzlehttp/guzzle": "^5.3|^6.0",
- "guzzlehttp/psr7": "^1.2",
- "monolog/monolog": "~1",
- "php": ">=5.5",
- "psr/http-message": "1.0.*",
- "rize/uri-template": "~0.3"
- },
- "suggest": {
- "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9"
- },
- "bin": [
- "bin/google-cloud-batch"
- ],
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-core",
- "target": "GoogleCloudPlatform/google-cloud-php-core.git",
- "path": "src/Core",
- "entry": null
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Core\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
- "time": "2017-07-18T00:02:56+00:00"
- },
- {
- "name": "google/cloud-storage",
- "version": "v1.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-storage.git",
- "reference": "b1adf92a54c6c72a19809ae0ab767f317035eb19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-storage/zipball/b1adf92a54c6c72a19809ae0ab767f317035eb19",
- "reference": "b1adf92a54c6c72a19809ae0ab767f317035eb19",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "phpseclib/phpseclib": "May be used in place of OpenSSL for creating signed Cloud Storage URLs. Please require version ^2."
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-storage",
- "target": "GoogleCloudPlatform/google-cloud-php-storage.git",
- "path": "src/Storage",
- "entry": "StorageClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Storage\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Storage Client for PHP",
- "time": "2017-07-12T18:33:11+00:00"
- },
- {
- "name": "google/cloud-vision",
- "version": "v0.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/GoogleCloudPlatform/google-cloud-php-vision.git",
- "reference": "4a495d07144735ccb089d2eb1915b7e2288c838f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/GoogleCloudPlatform/google-cloud-php-vision/zipball/4a495d07144735ccb089d2eb1915b7e2288c838f",
- "reference": "4a495d07144735ccb089d2eb1915b7e2288c838f",
- "shasum": ""
- },
- "require": {
- "google/cloud-core": "^1.0"
- },
- "suggest": {
- "google/cloud-storage": "Annotate images stored in Google Cloud Storage"
- },
- "type": "library",
- "extra": {
- "component": {
- "id": "cloud-vision",
- "target": "GoogleCloudPlatform/google-cloud-php-vision.git",
- "path": "src/Vision",
- "entry": "VisionClient.php"
- }
- },
- "autoload": {
- "psr-4": {
- "Google\\Cloud\\Vision\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "description": "Cloud Vision Client for PHP",
- "time": "2017-04-25T15:37:29+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.0 || ^5.0",
- "psr/log": "^1.0"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.2-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2017-06-22T18:50:49+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Schultze",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "time": "2017-03-20T17:10:46+00:00"
- },
- {
- "name": "monolog/monolog",
- "version": "1.23.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
- },
- "provide": {
- "psr/log-implementation": "1.0.0"
- },
- "require-dev": {
- "aws/aws-sdk-php": "^2.4.9 || ^3.0",
- "doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
- "php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
- "swiftmailer/swiftmailer": "^5.3|^6.0"
- },
- "suggest": {
- "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
- "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
- "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
- "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
- "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
- "php-console/php-console": "Allow sending log messages to Google Chrome",
- "rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Monolog\\": "src/Monolog"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be/"
- }
- ],
- "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
- "keywords": [
- "log",
- "logging",
- "psr-3"
- ],
- "time": "2017-06-19T01:22:40+00:00"
- },
- {
- "name": "psr/cache",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
- "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "time": "2016-08-06T20:24:11+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "rize/uri-template",
- "version": "0.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/rize/UriTemplate.git",
- "reference": "9e5fdd5c47147aa5adf7f760002ee591ed37b9ca"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/9e5fdd5c47147aa5adf7f760002ee591ed37b9ca",
- "reference": "9e5fdd5c47147aa5adf7f760002ee591ed37b9ca",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Rize\\UriTemplate": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marut K",
- "homepage": "http://twitter.com/rezigned"
- }
- ],
- "description": "PHP URI Template (RFC 6570) supports both expansion & extraction",
- "keywords": [
- "RFC 6570",
- "template",
- "uri"
- ],
- "time": "2017-06-14T03:57:53+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v3.3.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/a97e45d98c59510f085fa05225a1acb74dfe0546",
- "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "symfony/debug": "~2.8|~3.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<3.3"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.3",
- "symfony/dependency-injection": "~3.3",
- "symfony/event-dispatcher": "~2.8|~3.0",
- "symfony/filesystem": "~2.8|~3.0",
- "symfony/http-kernel": "~2.8|~3.0",
- "symfony/process": "~2.8|~3.0"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/filesystem": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-03T13:19:36+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "63b85a968486d95ff9542228dc2e4247f16f9743"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/63b85a968486d95ff9542228dc2e4247f16f9743",
- "reference": "63b85a968486d95ff9542228dc2e4247f16f9743",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com/",
- "time": "2017-07-05T13:02:37+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com/",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2017-06-09T14:24:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org/",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2015-12-27T11:43:31+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "46f7e8bb075036c92695b15a1ddb6971c751e585"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/46f7e8bb075036c92695b15a1ddb6971c751e585",
- "reference": "46f7e8bb075036c92695b15a1ddb6971c751e585",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5",
- "phpdocumentor/reflection-common": "^1.0@dev",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-07-15T11:38:20+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073",
- "reference": "93d39f1f7f9326d746203c7c056f300f7f126073",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
- "sebastian/comparator": "^1.1|^2.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8 || ^5.6.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com/"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2017-03-02T20:05:34+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06T15:47:00+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2016-10-03T07:40:28+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.11",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2017-02-27T10:12:30+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.36",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
- "reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.2.2",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2017-06-21T08:07:12+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "time": "2015-10-02T06:51:40+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8 || ^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2016-08-18T05:49:44+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
- "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2016-06-17T09:04:28+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2016-10-03T07:41:43+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21T13:59:46+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "1f93a8d19b8241617f5074a123e282575b821df8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/1f93a8d19b8241617f5074a123e282575b821df8",
- "reference": "1f93a8d19b8241617f5074a123e282575b821df8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com/",
- "time": "2017-06-15T12:58:50+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2016-11-23T20:04:58+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": [],
- "platform-dev": []
-}
diff --git a/vision/images/cat.jpg b/vision/images/cat.jpg
deleted file mode 100644
index 53f913ff4a..0000000000
Binary files a/vision/images/cat.jpg and /dev/null differ
diff --git a/vision/images/eiffel_tower.jpg b/vision/images/eiffel_tower.jpg
deleted file mode 100644
index f4f8152da6..0000000000
Binary files a/vision/images/eiffel_tower.jpg and /dev/null differ
diff --git a/vision/images/face.png b/vision/images/face.png
deleted file mode 100644
index b613a94e34..0000000000
Binary files a/vision/images/face.png and /dev/null differ
diff --git a/vision/images/landmark.jpg b/vision/images/landmark.jpg
deleted file mode 100644
index 41c3d0fc93..0000000000
Binary files a/vision/images/landmark.jpg and /dev/null differ
diff --git a/vision/images/text.jpg b/vision/images/text.jpg
deleted file mode 100644
index 3b17d55de0..0000000000
Binary files a/vision/images/text.jpg and /dev/null differ
diff --git a/vision/phpunit.xml.dist b/vision/phpunit.xml.dist
deleted file mode 100644
index 4aad180afd..0000000000
--- a/vision/phpunit.xml.dist
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
- test
-
-
-
-
-
-
-
- ./src
-
-
-
-
-
-
diff --git a/vision/quickstart.php b/vision/quickstart.php
deleted file mode 100644
index dd73f1bbc7..0000000000
--- a/vision/quickstart.php
+++ /dev/null
@@ -1,49 +0,0 @@
- $projectId
-]);
-
-# The name of the image file to annotate
-$fileName = 'test/data/wakeupcat.jpg';
-
-# Prepare the image to be annotated
-$image = $vision->image(fopen($fileName, 'r'), [
- 'LABEL_DETECTION'
-]);
-
-# Performs label detection on the image file
-$labels = $vision->annotate($image)->labels();
-
-echo "Labels:\n";
-foreach ($labels as $label) {
- echo $label->description() . "\n";
-}
-# [END vision_quickstart]
-return $labels;
diff --git a/vision/src/detect_crop_hints.php b/vision/src/detect_crop_hints.php
deleted file mode 100644
index d7d214b56c..0000000000
--- a/vision/src/detect_crop_hints.php
+++ /dev/null
@@ -1,52 +0,0 @@
- $projectId,
- ]);
-
- # Annotate the image
- $image = $vision->image(file_get_contents($path), ['CROP_HINTS']);
- $annotation = $vision->annotate($image);
-
- # Print the crop hints from the annotation
- printf("Crop Hints:\n");
- foreach ((array) $annotation->cropHints() as $hint) {
- $boundingPoly = $hint->boundingPoly();
- $vertices = $boundingPoly['vertices'];
- foreach ((array) $vertices as $vertice) {
- if (!isset($vertice['x'])) {
- $vertice['x'] = 0;
- }
- if (!isset($vertice['y'])) {
- $vertice['y'] = 0;
- }
- printf('X: %s Y: %s' . PHP_EOL, $vertice['x'], $vertice['y']);
- }
- }
-}
-// [END vision_crop_hint_detection]
diff --git a/vision/src/detect_crop_hints_gcs.php b/vision/src/detect_crop_hints_gcs.php
deleted file mode 100644
index bed8c5fa09..0000000000
--- a/vision/src/detect_crop_hints_gcs.php
+++ /dev/null
@@ -1,58 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- # Fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['CROP_HINTS']);
- $annotation = $vision->annotate($image);
-
- # Print the crop hints from the annotation
- printf("Crop Hints:\n");
- foreach ((array) $annotation->cropHints() as $hint) {
- $boundingPoly = $hint->boundingPoly();
- $vertices = $boundingPoly['vertices'];
- foreach ((array) $vertices as $vertice) {
- if (!isset($vertice['x'])) {
- $vertice['x'] = 0;
- }
- if (!isset($vertice['y'])) {
- $vertice['y'] = 0;
- }
- printf('X: %s Y: %s' . PHP_EOL, $vertice['x'], $vertice['y']);
- }
- }
-}
-# [END vision_crop_hint_detection_gcs]
diff --git a/vision/src/detect_document_text.php b/vision/src/detect_document_text.php
deleted file mode 100644
index 3679a299f2..0000000000
--- a/vision/src/detect_document_text.php
+++ /dev/null
@@ -1,64 +0,0 @@
- $projectId,
- ]);
-
- # Annotate the image
- $image = $vision->image(
- file_get_contents($path), ['DOCUMENT_TEXT_DETECTION']);
- $annotation = $vision->annotate($image);
-
- # Print out document text
- $document = $annotation->fullText();
- $text = $document->text();
- printf('Document text: %s' . PHP_EOL, $text);
-
- # Print out more detailed and structured information about document text
- foreach ($document->pages() as $page) {
- foreach ($page['blocks'] as $block) {
- $block_text = '';
- foreach ($block['paragraphs'] as $paragraph) {
- foreach ($paragraph['words'] as $word) {
- foreach ($word['symbols'] as $symbol) {
- $block_text .= $symbol['text'];
- }
- $block_text .= ' ';
- }
- $block_text .= "\n";
- }
- printf('Block text: %s' . PHP_EOL, $block_text);
- printf('Block bounds:' . PHP_EOL);
- foreach ($block['boundingBox']['vertices'] as $vertice) {
- printf('X: %s Y: %s' . PHP_EOL, $vertice['x'], $vertice['y']);
- }
- printf(PHP_EOL);
- }
- }
-}
-// [END vision_fulltext_detection]
diff --git a/vision/src/detect_document_text_gcs.php b/vision/src/detect_document_text_gcs.php
deleted file mode 100644
index 306c5aeb39..0000000000
--- a/vision/src/detect_document_text_gcs.php
+++ /dev/null
@@ -1,69 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- # Fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['DOCUMENT_TEXT_DETECTION']);
- $annotation = $vision->annotate($image);
-
- # Print out document text
- $document = $annotation->fullText();
- $text = $document->text();
- printf('Document text: %s' . PHP_EOL, $text);
-
- # Print out more detailed and structured information about document text
- foreach ($document->pages() as $page) {
- foreach ($page['blocks'] as $block) {
- $block_text = '';
- foreach ($block['paragraphs'] as $paragraph) {
- foreach ($paragraph['words'] as $word) {
- foreach ($word['symbols'] as $symbol) {
- $block_text .= $symbol['text'];
- }
- $block_text .= ' ';
- }
- $block_text .= "\n";
- }
- printf('Block text: %s' . PHP_EOL, $block_text);
- printf('Block bounds:' . PHP_EOL);
- foreach ($block['boundingBox']['vertices'] as $vertice) {
- printf('X: %s Y: %s' . PHP_EOL, $vertice['x'], $vertice['y']);
- }
- printf(PHP_EOL);
- }
- }
-}
-# [END vision_fulltext_detection_gcs]
diff --git a/vision/src/detect_face.php b/vision/src/detect_face.php
deleted file mode 100644
index cc81513499..0000000000
--- a/vision/src/detect_face.php
+++ /dev/null
@@ -1,45 +0,0 @@
- $projectId,
- ]);
- # [END get_vision_service]
- # [START detect_face]
- $image = $vision->image(file_get_contents($path), ['FACE_DETECTION']);
- $result = $vision->annotate($image);
- # [END detect_face]
- print("Faces:\n");
- foreach ((array) $result->faces() as $face) {
- printf("Anger: %s\n", $face->isAngry() ? 'yes' : 'no');
- printf("Joy: %s\n", $face->isJoyful() ? 'yes' : 'no');
- printf("Surprise: %s\n\n", $face->isSurprised() ? 'yes' : 'no');
- }
- return $result;
-}
-# [END face_detection]
diff --git a/vision/src/detect_face_gcs.php b/vision/src/detect_face_gcs.php
deleted file mode 100644
index 5c125ea3ab..0000000000
--- a/vision/src/detect_face_gcs.php
+++ /dev/null
@@ -1,51 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- // fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['FACE_DETECTION']);
- $result = $vision->annotate($image);
-
- // print the response
- print("Faces:\n");
- foreach ((array) $result->faces() as $face) {
- printf("Anger: %s\n", $face->isAngry() ? 'yes' : 'no');
- printf("Joy: %s\n", $face->isJoyful() ? 'yes' : 'no');
- printf("Surprise: %s\n\n", $face->isSurprised() ? 'yes' : 'no');
- }
- return $result;
-}
-# [END face_detection_gcs]
diff --git a/vision/src/detect_image_property.php b/vision/src/detect_image_property.php
deleted file mode 100644
index 9cf9852739..0000000000
--- a/vision/src/detect_image_property.php
+++ /dev/null
@@ -1,43 +0,0 @@
- $projectId,
- ]);
- $image = $vision->image(file_get_contents($path), [
- 'IMAGE_PROPERTIES'
- ]);
- $result = $vision->annotate($image);
- print("Properties:\n");
- foreach ($result->imageProperties()->colors() as $color) {
- $rgb = $color['color'];
- printf("red:%s\n", $rgb['red']);
- printf("green:%s\n", $rgb['green']);
- printf("blue:%s\n\n", $rgb['blue']);
- }
-}
-// [END image_property_detection]
diff --git a/vision/src/detect_image_property_gcs.php b/vision/src/detect_image_property_gcs.php
deleted file mode 100644
index 4698502715..0000000000
--- a/vision/src/detect_image_property_gcs.php
+++ /dev/null
@@ -1,51 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- // fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['IMAGE_PROPERTIES']);
- $result = $vision->annotate($image);
-
- // print the response
- print("Properties:\n");
- foreach ($result->imageProperties()->colors() as $color) {
- $rgb = $color['color'];
- printf("red:%s\n", $rgb['red']);
- printf("green:%s\n", $rgb['green']);
- printf("blue:%s\n\n", $rgb['blue']);
- }
-}
-# [END image_property_detection]
diff --git a/vision/src/detect_label.php b/vision/src/detect_label.php
deleted file mode 100644
index ff6c10029b..0000000000
--- a/vision/src/detect_label.php
+++ /dev/null
@@ -1,49 +0,0 @@
- $projectId,
- ]);
- # [END authenticate]
-
- # [START construct_request]
- $image = $vision->image(file_get_contents($path), ['LABEL_DETECTION']);
- $result = $vision->annotate($image);
- # [END construct_request]
-
- # [START parse_response]
- print("LABELS:\n");
- foreach ($result->labels() as $label) {
- print($label->description() . PHP_EOL);
- }
- # [END parse_response]
-}
-# [END detect_labels]
diff --git a/vision/src/detect_label_gcs.php b/vision/src/detect_label_gcs.php
deleted file mode 100644
index e45932689b..0000000000
--- a/vision/src/detect_label_gcs.php
+++ /dev/null
@@ -1,47 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
- // fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['LABEL_DETECTION']);
- $result = $vision->annotate($image);
-
- // print the response
- print("LABELS:\n");
- foreach ($result->labels() as $label) {
- print($label->description() . PHP_EOL);
- }
-}
-# [END detect_labels_gcs]
diff --git a/vision/src/detect_landmark.php b/vision/src/detect_landmark.php
deleted file mode 100644
index 703a157b96..0000000000
--- a/vision/src/detect_landmark.php
+++ /dev/null
@@ -1,42 +0,0 @@
- $projectId,
- ]);
- // [END get_vision_service]
- // [START construct_request]
- $image = $vision->image(file_get_contents($path), ['LANDMARK_DETECTION']);
- $result = $vision->annotate($image);
- // [END construct_request]
- print("Landmarks:\n");
- foreach ((array) $result->landmarks() as $landmark) {
- print($landmark->description() . PHP_EOL);
- }
-}
-// [END landmark_detection]
diff --git a/vision/src/detect_landmark_gcs.php b/vision/src/detect_landmark_gcs.php
deleted file mode 100644
index 8640d9721c..0000000000
--- a/vision/src/detect_landmark_gcs.php
+++ /dev/null
@@ -1,48 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- // fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['LANDMARK_DETECTION']);
- $result = $vision->annotate($image);
-
- // print the response
- print("Landmarks:\n");
- foreach ((array) $result->landmarks() as $landmark) {
- print($landmark->description() . PHP_EOL);
- }
-}
-# [END landmark_detection_gcs]
diff --git a/vision/src/detect_logo.php b/vision/src/detect_logo.php
deleted file mode 100644
index 559a2c395c..0000000000
--- a/vision/src/detect_logo.php
+++ /dev/null
@@ -1,38 +0,0 @@
- $projectId,
- ]);
- $image = $vision->image(file_get_contents($path), ['LOGO_DETECTION']);
- $result = $vision->annotate($image);
- print("Logos:\n");
- foreach ((array) $result->logos() as $logo) {
- print($logo->description() . PHP_EOL);
- }
-}
-// [END logo_detection]
diff --git a/vision/src/detect_logo_gcs.php b/vision/src/detect_logo_gcs.php
deleted file mode 100644
index 55795baffb..0000000000
--- a/vision/src/detect_logo_gcs.php
+++ /dev/null
@@ -1,48 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- // fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['LOGO_DETECTION']);
- $result = $vision->annotate($image);
-
- // print the response
- print("Logos:\n");
- foreach ((array) $result->logos() as $logo) {
- print($logo->description() . PHP_EOL);
- }
-}
-// [END logo_detection_gcs]
diff --git a/vision/src/detect_safe_search.php b/vision/src/detect_safe_search.php
deleted file mode 100644
index 5c1ec69782..0000000000
--- a/vision/src/detect_safe_search.php
+++ /dev/null
@@ -1,41 +0,0 @@
- $projectId,
- ]);
- $image = $vision->image(file_get_contents($path), [
- 'SAFE_SEARCH_DETECTION'
- ]);
- $result = $vision->annotate($image);
- $safe = $result->safeSearch();
- printf("Adult: %s\n", $safe->isAdult() ? 'yes' : 'no');
- printf("Spoof: %s\n", $safe->isSpoof() ? 'yes' : 'no');
- printf("Medical: %s\n", $safe->isMedical() ? 'yes' : 'no');
- printf("Violence: %s\n\n", $safe->isViolent() ? 'yes' : 'no');
-}
-// [END safe_search_detection]
diff --git a/vision/src/detect_safe_search_gcs.php b/vision/src/detect_safe_search_gcs.php
deleted file mode 100644
index 18d65d6442..0000000000
--- a/vision/src/detect_safe_search_gcs.php
+++ /dev/null
@@ -1,49 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- // fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['SAFE_SEARCH_DETECTION']);
- $result = $vision->annotate($image);
-
- // print the response
- $safe = $result->safeSearch();
- printf("Adult: %s\n", $safe->isAdult() ? 'yes' : 'no');
- printf("Spoof: %s\n", $safe->isSpoof() ? 'yes' : 'no');
- printf("Medical: %s\n", $safe->isMedical() ? 'yes' : 'no');
- printf("Violence: %s\n\n", $safe->isViolent() ? 'yes' : 'no');
-}
-// [END safe_search_detection_gcs]
diff --git a/vision/src/detect_text.php b/vision/src/detect_text.php
deleted file mode 100644
index 293ef2e578..0000000000
--- a/vision/src/detect_text.php
+++ /dev/null
@@ -1,38 +0,0 @@
- $projectId,
- ]);
- $image = $vision->image(file_get_contents($path), ['TEXT_DETECTION']);
- $result = $vision->annotate($image);
- print("Texts:\n");
- foreach ((array) $result->text() as $text) {
- print($text->description() . PHP_EOL);
- }
-}
-// [END text_detection]
diff --git a/vision/src/detect_text_gcs.php b/vision/src/detect_text_gcs.php
deleted file mode 100644
index 7dcd1ae946..0000000000
--- a/vision/src/detect_text_gcs.php
+++ /dev/null
@@ -1,48 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- // fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['TEXT_DETECTION']);
- $result = $vision->annotate($image);
-
- // print the response
- print("Texts:\n");
- foreach ((array) $result->text() as $text) {
- print($text->description() . PHP_EOL);
- }
-}
-// [END text_detection]
diff --git a/vision/src/detect_web.php b/vision/src/detect_web.php
deleted file mode 100644
index c4381888f8..0000000000
--- a/vision/src/detect_web.php
+++ /dev/null
@@ -1,72 +0,0 @@
- $projectId,
- ]);
-
- # Annotate the image
- $image = $vision->image(file_get_contents($path), ['WEB_DETECTION']);
- $annotation = $vision->annotate($image);
- $web = $annotation->web();
-
- if ($web->pages()) {
- printf('%d Pages with matching images found:' . PHP_EOL, count($web->pages()));
- foreach ($web->pages() as $page) {
- printf('URL: %s' . PHP_EOL, $page->url());
- }
- print(PHP_EOL);
- }
-
- if ($web->matchingImages()) {
- printf('%d Full Matching Images found:' . PHP_EOL, count($web->matchingImages()));
- foreach ($web->matchingImages() as $matchingImage) {
- printf('URL: %s' . PHP_EOL, $matchingImage->url());
- }
- print(PHP_EOL);
- }
-
- if ($web->partialMatchingImages()) {
- printf('%d Partial Matching Images found:' . PHP_EOL, count($web->partialMatchingImages()));
- foreach ($web->partialMatchingImages() as $partialMatchingImage) {
- printf('URL: %s' . PHP_EOL, $partialMatchingImage->url());
- }
- print(PHP_EOL);
- }
-
- if ($web->entities()) {
- printf('%d Web Entities found:' . PHP_EOL, count($web->entities()));
- foreach ($web->entities() as $entity) {
- printf('Score: %f' . PHP_EOL, $entity->score());
- if (isset($entity->info()['description'])) {
- printf('Description: %s' . PHP_EOL, $entity->description());
- }
- printf(PHP_EOL);
- }
- }
-}
-// [END vision_web_detection]
diff --git a/vision/src/detect_web_gcs.php b/vision/src/detect_web_gcs.php
deleted file mode 100644
index 41ccc55665..0000000000
--- a/vision/src/detect_web_gcs.php
+++ /dev/null
@@ -1,78 +0,0 @@
- $projectId,
- ]);
- $storage = new StorageClient([
- 'projectId' => $projectId,
- ]);
-
- # Fetch the storage object and annotate the image
- $object = $storage->bucket($bucketName)->object($objectName);
- $image = $vision->image($object, ['WEB_DETECTION']);
- $annotation = $vision->annotate($image);
- $web = $annotation->web();
-
- if ($web->pages()) {
- printf('%d Pages with matching images found:' . PHP_EOL, count($web->pages()));
- foreach ($web->pages() as $page) {
- printf('URL: %s' . PHP_EOL, $page->url());
- }
- print(PHP_EOL);
- }
-
- if ($web->matchingImages()) {
- printf('%d Full Matching Images found:' . PHP_EOL, count($web->matchingImages()));
- foreach ($web->matchingImages() as $matchingImage) {
- printf('URL: %s' . PHP_EOL, $matchingImage->url());
- }
- print(PHP_EOL);
- }
-
- if ($web->partialMatchingImages()) {
- printf('%d Partial Matching Images found:' . PHP_EOL, count($web->partialMatchingImages()));
- foreach ($web->partialMatchingImages() as $partialMatchingImage) {
- printf('URL: %s' . PHP_EOL, $partialMatchingImage->url());
- }
- print(PHP_EOL);
- }
-
- if ($web->entities()) {
- printf('%d Web Entities found:' . PHP_EOL, count($web->entities()));
- foreach ($web->entities() as $entity) {
- printf('Score: %f' . PHP_EOL, $entity->score());
- if (isset($entity->info()['description'])) {
- printf('Description: %s' . PHP_EOL, $entity->description());
- }
- printf(PHP_EOL);
- }
- }
-}
-# [END vision_web_detection_gcs]
diff --git a/vision/test/data/bonito.gif b/vision/test/data/bonito.gif
deleted file mode 100644
index bea0b6ebd4..0000000000
Binary files a/vision/test/data/bonito.gif and /dev/null differ
diff --git a/vision/test/data/cat.jpg b/vision/test/data/cat.jpg
deleted file mode 100644
index 76af906f0a..0000000000
Binary files a/vision/test/data/cat.jpg and /dev/null differ
diff --git a/vision/test/data/face.png b/vision/test/data/face.png
deleted file mode 100644
index b613a94e34..0000000000
Binary files a/vision/test/data/face.png and /dev/null differ
diff --git a/vision/test/data/faulkner.jpg b/vision/test/data/faulkner.jpg
deleted file mode 100644
index 93b8ac3ad2..0000000000
Binary files a/vision/test/data/faulkner.jpg and /dev/null differ
diff --git a/vision/test/data/landmark.jpg b/vision/test/data/landmark.jpg
deleted file mode 100644
index 41c3d0fc93..0000000000
Binary files a/vision/test/data/landmark.jpg and /dev/null differ
diff --git a/vision/test/data/logo.jpg b/vision/test/data/logo.jpg
deleted file mode 100644
index 8382cdbe61..0000000000
Binary files a/vision/test/data/logo.jpg and /dev/null differ
diff --git a/vision/test/data/mountain.jpg b/vision/test/data/mountain.jpg
deleted file mode 100644
index f9505df38f..0000000000
Binary files a/vision/test/data/mountain.jpg and /dev/null differ
diff --git a/vision/test/data/no-text.jpg b/vision/test/data/no-text.jpg
deleted file mode 100644
index 8b77575de7..0000000000
Binary files a/vision/test/data/no-text.jpg and /dev/null differ
diff --git a/vision/test/data/sabertooth.gif b/vision/test/data/sabertooth.gif
deleted file mode 100644
index 2cee28eeb1..0000000000
Binary files a/vision/test/data/sabertooth.gif and /dev/null differ
diff --git a/vision/test/data/succulents.jpg b/vision/test/data/succulents.jpg
deleted file mode 100644
index 197fe6ac16..0000000000
Binary files a/vision/test/data/succulents.jpg and /dev/null differ
diff --git a/vision/test/data/sunbeamkitties.jpg b/vision/test/data/sunbeamkitties.jpg
deleted file mode 100644
index b9a584ef55..0000000000
Binary files a/vision/test/data/sunbeamkitties.jpg and /dev/null differ
diff --git a/vision/test/data/text.jpg b/vision/test/data/text.jpg
deleted file mode 100644
index 3b17d55de0..0000000000
Binary files a/vision/test/data/text.jpg and /dev/null differ
diff --git a/vision/test/data/tower.jpg b/vision/test/data/tower.jpg
deleted file mode 100644
index 0c137ef1e1..0000000000
Binary files a/vision/test/data/tower.jpg and /dev/null differ
diff --git a/vision/test/data/wakeupcat.jpg b/vision/test/data/wakeupcat.jpg
deleted file mode 100644
index 139cf461ec..0000000000
Binary files a/vision/test/data/wakeupcat.jpg and /dev/null differ
diff --git a/vision/test/quickstartTest.php b/vision/test/quickstartTest.php
deleted file mode 100644
index 1a81daea49..0000000000
--- a/vision/test/quickstartTest.php
+++ /dev/null
@@ -1,43 +0,0 @@
-markTestSkipped('GOOGLE_PROJECT_ID must be set.');
- }
-
- $file = sys_get_temp_dir() . '/vision_quickstart.php';
- $contents = file_get_contents(__DIR__ . '/../quickstart.php');
- $contents = str_replace(
- ['YOUR_PROJECT_ID', '__DIR__'],
- [$projectId, sprintf('"%s/.."', __DIR__)],
- $contents
- );
- file_put_contents($file, $contents);
-
- // Invoke quickstart.php
- $labels = include $file;
-
- // Make sure it looks correct
- $this->assertTrue(is_array($labels));
- $this->assertEquals(5, count($labels));
-
- $this->expectOutputRegex('/cat/');
- }
-}
diff --git a/vision/test/visionTest.php b/vision/test/visionTest.php
deleted file mode 100644
index 64b27a561c..0000000000
--- a/vision/test/visionTest.php
+++ /dev/null
@@ -1,305 +0,0 @@
-markTestSkipped('Set the GOOGLE_APPLICATION_CREDENTIALS ' .
- 'environment variable');
- }
- $this->bucketName = getenv('GCS_BUCKET_NAME');
- }
-
- public function testLabelCommand()
- {
- $path = __DIR__ . '/data/cat.jpg';
- $output = $this->runCommand('label', $path);
- $this->assertContains('cat', $output);
- $this->assertContains('mammal', $output);
- }
-
- public function testLabelCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/cat.jpg';
- $output = $this->runCommand('label', $path);
- $this->assertContains('cat', $output);
- $this->assertContains('mammal', $output);
- }
-
- public function testTextCommand()
- {
- $path = __DIR__ . '/data/sabertooth.gif';
- $output = $this->runCommand('text', $path);
- $this->assertContains('extinct', $output);
- }
-
- public function testTextCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/sabertooth.gif';
- $output = $this->runCommand('text', $path);
- $this->assertContains('extinct', $output);
- }
-
- public function testTextCommandWithImageLackingText()
- {
- $path = __DIR__ . '/data/faulkner.jpg';
- $output = $this->runCommand('text', $path);
- $this->assertContains("Texts:\n", $output);
- }
-
- public function testFaceCommand()
- {
- $path = __DIR__ . '/data/face.png';
- $output = $this->runCommand('face', $path);
- $this->assertContains('Anger: ', $output);
- $this->assertContains('Joy: ', $output);
- $this->assertContains('Surprise: ', $output);
- }
-
- public function testFaceCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/face.png';
- $output = $this->runCommand('face', $path);
- $this->assertContains('Anger: ', $output);
- $this->assertContains('Joy: ', $output);
- $this->assertContains('Surprise: ', $output);
- }
-
- public function testFaceCommandWithImageLackingFaces()
- {
- $path = __DIR__ . '/data/tower.jpg';
- $output = $this->runCommand('face', $path);
- $this->assertContains("Faces:\n", $output);
- }
-
- public function testFaceCommandWithOutput()
- {
- $path = __DIR__ . '/data/face.png';
- $output_file = sys_get_temp_dir() . '/face.png';
- $output = $this->runCommand('face', $path, $output_file);
- $this->assertContains('Anger: ', $output);
- $this->assertContains('Joy: ', $output);
- $this->assertContains('Surprise: ', $output);
- $this->assertContains('Output image written to ' . $output_file, $output);
- $this->assertTrue(file_exists($output_file));
- }
-
- public function testFaceCommandWithImageLackingFacesAndOutput()
- {
- $path = __DIR__ . '/data/tower.jpg';
- $output_file = sys_get_temp_dir() . '/tower.jpg';
- $output = $this->runCommand('face', $path, $output_file);
- $this->assertContains("Faces:\n", $output);
- $this->assertFalse(file_exists($output_file));
- }
-
- public function testLandmarkCommand()
- {
- $path = __DIR__ . '/data/tower.jpg';
- $output = $this->runCommand('landmark', $path);
- $this->assertContains('Eiffel', $output);
- }
-
- public function testLandmarkCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/tower.jpg';
- $output = $this->runCommand('landmark', $path);
- $this->assertContains('Eiffel', $output);
- }
-
- public function testLandmarkCommandWithImageLackingLandmarks()
- {
- $path = __DIR__ . '/data/faulkner.jpg';
- $output = $this->runCommand('landmark', $path);
- $this->assertContains("Landmarks:\n", $output);
- }
-
- public function testLogoCommand()
- {
- $path = __DIR__ . '/data/logo.jpg';
- $output = $this->runCommand('logo', $path);
- $this->assertContains('Google', $output);
- }
-
- public function testLogoCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/logo.jpg';
- $output = $this->runCommand('logo', $path);
- $this->assertContains('Google', $output);
- }
-
- public function testLogoCommandWithImageLackingLogo()
- {
- $path = __DIR__ . '/data/tower.jpg';
- $output = $this->runCommand('logo', $path);
- $this->assertContains("Logos:\n", $output);
- }
-
- public function testSafeSearchCommand()
- {
- $path = __DIR__ . '/data/logo.jpg';
- $output = $this->runCommand('safe-search', $path);
- $this->assertContains('Adult:', $output);
- }
-
- public function testSafeSearchCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/logo.jpg';
- $output = $this->runCommand('safe-search', $path);
- $this->assertContains('Adult:', $output);
- }
-
- public function testImagePropertyCommand()
- {
- $path = __DIR__ . '/data/logo.jpg';
- $output = $this->runCommand('property', $path);
- $this->assertContains('red:', $output);
- $this->assertContains('green:', $output);
- $this->assertContains('blue:', $output);
- }
-
- public function testImagePropertyCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/logo.jpg';
- $output = $this->runCommand('property', $path);
- $this->assertContains('red:', $output);
- $this->assertContains('green:', $output);
- $this->assertContains('blue:', $output);
- }
-
- # Tests for Vision 1.1 Features
- public function testCropHintsCommand()
- {
- $path = __DIR__ . '/data/wakeupcat.jpg';
- $output = $this->runCommand('crop-hints', $path);
- $this->assertContains('Crop Hints:', $output);
- $this->assertContains('X: 0 Y: 0', $output);
- $this->assertContains('X: 599 Y: 0', $output);
- $this->assertContains('X: 599 Y: 475', $output);
- $this->assertContains('X: 0 Y: 475', $output);
- }
-
- public function testCropHintsCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/wakeupcat.jpg';
- $output = $this->runCommand('crop-hints', $path);
- $this->assertContains('Crop Hints:', $output);
- $this->assertContains('X: 0 Y: 0', $output);
- $this->assertContains('X: 599 Y: 0', $output);
- $this->assertContains('X: 599 Y: 475', $output);
- $this->assertContains('X: 0 Y: 475', $output);
- }
-
- public function testDocumentTextCommand()
- {
- $path = __DIR__ . '/data/text.jpg';
- $output = $this->runCommand('document-text', $path);
- $this->assertContains('Document text:', $output);
- $this->assertContains('the PS4 will automatically restart', $output);
- $this->assertContains('37%', $output);
- $this->assertContains('Block text:', $output);
- $this->assertContains('Block bounds:', $output);
- }
-
- public function testDocumentTextCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/text.jpg';
- $output = $this->runCommand('document-text', $path);
- $this->assertContains('Document text:', $output);
- $this->assertContains('the PS4 will automatically restart', $output);
- $this->assertContains('37%', $output);
- $this->assertContains('Block text:', $output);
- $this->assertContains('Block bounds:', $output);
- }
-
- public function testDetectWebCommand()
- {
- $path = __DIR__ . '/data/landmark.jpg';
- $output = $this->runCommand('web', $path);
- $this->assertContains('Web Entities found:', $output);
- $this->assertContains('Palace of Fine Arts Theatre', $output);
- $this->assertContains('Pier 39', $output);
- }
-
- public function testDetectWebCommandGcs()
- {
- if (!$this->bucketName) {
- $this->markTestSkipped('Set the GCS_BUCKET_NAME environment variable');
- }
- $path = 'gs://' . $this->bucketName . '/landmark.jpg';
- $output = $this->runCommand('web', $path);
- $this->assertContains('Web Entities found:', $output);
- $this->assertContains('Palace of Fine Arts Theatre', $output);
- $this->assertContains('Pier 39', $output);
- }
-
- private function runCommand($commandName, $path, $output=null)
- {
- $application = require __DIR__ . '/../vision.php';
- $command = $application->get($commandName);
- $commandTester = new CommandTester($command);
-
- ob_start();
- $commandTester->execute(
- [
- 'path' => $path,
- 'output' => $output
- ],
- ['interactive' => false]
- );
- return ob_get_clean();
- }
-}
diff --git a/vision/vision.php b/vision/vision.php
deleted file mode 100644
index 2a6fbc7742..0000000000
--- a/vision/vision.php
+++ /dev/null
@@ -1,329 +0,0 @@
-add((new Command('label'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect labels in an image using Google Cloud Vision API')
- ->setHelp(<<%command.name% command labels objects seen in an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_label_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_label($projectId, $path);
- }
- })
-);
-
-// Create Detect Text command
-$application->add((new Command('text'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect text in an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command prints text seen in an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_text_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_text($projectId, $path);
- }
- })
-);
-
-// Create Detect Face command
-$application->add((new Command('face'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect faces in an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command finds faces in an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- $result = detect_face_gcs($projectId, $bucketName, $objectName);
- } else {
- $result = detect_face($projectId, $path);
- }
- $imageCreateFunc = [
- 'png' => 'imagecreatefrompng',
- 'gd' => 'imagecreatefromgd',
- 'gif' => 'imagecreatefromgif',
- 'jpg' => 'imagecreatefromjpeg',
- 'jpeg' => 'imagecreatefromjpeg',
- ];
- $imageWriteFunc = [
- 'png' => 'imagepng',
- 'gd' => 'imagegd',
- 'gif' => 'imagegif',
- 'jpg' => 'imagejpeg',
- 'jpeg' => 'imagejpeg',
- ];
- if (
- isset($result->info()['faceAnnotations'])
- && $outFile = $input->getArgument('output')
- ) {
- copy($path, $outFile);
- $ext = strtolower(pathinfo($path, PATHINFO_EXTENSION));
- if (!in_array($ext, array_keys($imageCreateFunc))) {
- throw new \Exception('Unsupported image extension');
- }
- $outputImage = call_user_func($imageCreateFunc[$ext], $outFile);
- # [START highlight_image]
- foreach ($result->info()['faceAnnotations'] as $annotation) {
- if (isset($annotation['boundingPoly'])) {
- $verticies = $annotation['boundingPoly']['vertices'];
- $x1 = isset($verticies[0]['x']) ? $verticies[0]['x'] : 0;
- $y1 = isset($verticies[0]['y']) ? $verticies[0]['y'] : 0;
- $x2 = isset($verticies[2]['x']) ? $verticies[2]['x'] : 0;
- $y2 = isset($verticies[2]['y']) ? $verticies[2]['y'] : 0;
- imagerectangle($outputImage, $x1, $y1, $x2, $y2, 0x00ff00);
- }
- }
- # [END highlight_image]
- call_user_func($imageWriteFunc[$ext], $outputImage, $outFile);
- printf('Output image written to %s' . PHP_EOL, $outFile);
- }
- })
-);
-
-// Create Detect Landmark command
-$application->add((new Command('landmark'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect landmarks in an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command finds landmarks in an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_landmark_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_landmark($projectId, $path);
- }
- })
-);
-
-// Create Detect Logo command
-$application->add((new Command('logo'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect logos in an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command finds logos in an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_logo_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_logo($projectId, $path);
- }
- })
-);
-
-// Detect Safe Search command
-$application->add((new Command('safe-search'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect adult content in an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command detects adult content in an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_safe_search_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_safe_search($projectId, $path);
- }
- })
-);
-
-// Detect Image Property command
-$application->add((new Command('property'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect image proerties in an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command detects image properties in an image
-using the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_image_property_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_image_property($projectId, $path);
- }
- })
-);
-
-// Detect Crop Hints command
-$application->add((new Command('crop-hints'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect crop hints in an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command prints crop hints for an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_crop_hints_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_crop_hints($projectId, $path);
- }
- })
-);
-
-// Detect Document Text command
-$application->add((new Command('document-text'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect document text in an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command prints document text for an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_document_text_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_document_text($projectId, $path);
- }
- })
-);
-
-// Detect Web command
-$application->add((new Command('web'))
- ->setDefinition($inputDefinition)
- ->setDescription('Detect web references to an image using '
- . 'Google Cloud Vision API')
- ->setHelp(<<%command.name% command prints web references to an image using
-the Google Cloud Vision API.
-
- php %command.full_name% -k YOUR-API-KEY path/to/image.png
-
-EOF
- )
- ->setCode(function ($input, $output) {
- $projectId = $input->getOption('project');
- $path = $input->getArgument('path');
- if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $path, $matches)) {
- list($bucketName, $objectName) = array_slice($matches, 1);
- detect_web_gcs($projectId, $bucketName, $objectName);
- } else {
- detect_web($projectId, $path);
- }
- })
-);
-
-if (getenv('PHPUNIT_TESTS') === '1') {
- return $application;
-}
-
-$application->run();