├── .env ├── .gitignore ├── README.md ├── bin └── console ├── composer.json ├── composer.lock ├── config ├── bootstrap.php ├── bundles.php ├── packages │ ├── cache.yaml │ ├── dev │ │ └── routing.yaml │ ├── framework.yaml │ ├── routing.yaml │ └── test │ │ ├── framework.yaml │ │ └── routing.yaml ├── routes.yaml └── services.yaml ├── src ├── Controller │ ├── DeleteValueController.php │ ├── GetValueController.php │ └── PutValueController.php ├── Kernel.php └── Redis │ ├── RedisConfig.php │ ├── RedisFactory.php │ └── RedisWrapper.php └── symfony.lock /.env: -------------------------------------------------------------------------------- 1 | # In all environments, the following files are loaded if they exist, 2 | # the later taking precedence over the former: 3 | # 4 | # * .env contains default values for the environment variables needed by the app 5 | # * .env.local uncommitted file with local overrides 6 | # * .env.$APP_ENV committed environment-specific defaults 7 | # * .env.$APP_ENV.local uncommitted environment-specific overrides 8 | # 9 | # Real environment variables win over .env files. 10 | # 11 | # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. 12 | # 13 | # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). 14 | # https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration 15 | 16 | ###> symfony/framework-bundle ### 17 | APP_ENV=dev 18 | APP_SECRET=b7052e3f58a06292bd57aaa1ccb27fb4 19 | #TRUSTED_PROXIES=127.0.0.1,127.0.0.2 20 | #TRUSTED_HOSTS='^localhost|example\.com$' 21 | ###< symfony/framework-bundle ### 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | ###> symfony/framework-bundle ### 3 | /.env.local 4 | /.env.local.php 5 | /.env.*.local 6 | /public/bundles/ 7 | /var/ 8 | /vendor/ 9 | ###< symfony/framework-bundle ### 10 | 11 | /bin/server -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Symfony and ReactPHP 2 | 3 | > This package has been turned a [DriftPHP project](http://driftphp.io) component. That means that has been discontinued in favor of these new packages 4 | -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | getParameterOption(['--env', '-e'], null, true)) { 23 | putenv('APP_ENV='.$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $env); 24 | } 25 | 26 | if ($input->hasParameterOption('--no-debug', true)) { 27 | putenv('APP_DEBUG='.$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = '0'); 28 | } 29 | 30 | require dirname(__DIR__).'/config/bootstrap.php'; 31 | 32 | if ($_SERVER['APP_DEBUG']) { 33 | umask(0000); 34 | 35 | if (class_exists(Debug::class)) { 36 | Debug::enable(); 37 | } 38 | } 39 | 40 | $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']); 41 | $application = new Application($kernel); 42 | $application->run($input); 43 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "project", 3 | "license": "proprietary", 4 | "require": { 5 | "php": "^7.1.3", 6 | "ext-ctype": "*", 7 | "ext-iconv": "*", 8 | "symfony/console": "4.2.*", 9 | "symfony/dotenv": "4.2.*", 10 | "symfony/flex": "^1.1", 11 | "symfony/framework-bundle": "4.2.*", 12 | "symfony/yaml": "4.2.*", 13 | 14 | "apisearch-io/symfony-async-http-kernel": "^0.1", 15 | "apisearch-io/symfony-react-server": "^0.1", 16 | "clue/redis-react": "^2.3" 17 | }, 18 | "config": { 19 | "preferred-install": { 20 | "*": "dist" 21 | }, 22 | "sort-packages": true 23 | }, 24 | "autoload": { 25 | "psr-4": { 26 | "App\\": "src/" 27 | } 28 | }, 29 | "autoload-dev": { 30 | "psr-4": { 31 | "App\\Tests\\": "tests/" 32 | } 33 | }, 34 | "replace": { 35 | "paragonie/random_compat": "2.*", 36 | "symfony/polyfill-ctype": "*", 37 | "symfony/polyfill-iconv": "*", 38 | "symfony/polyfill-php71": "*", 39 | "symfony/polyfill-php70": "*", 40 | "symfony/polyfill-php56": "*" 41 | }, 42 | "conflict": { 43 | "symfony/symfony": "*" 44 | }, 45 | "extra": { 46 | "symfony": { 47 | "allow-contrib": false, 48 | "require": "4.2.*" 49 | } 50 | }, 51 | "minimum-stability": "dev", 52 | "prefer-stable": true 53 | } 54 | -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", 5 | "This file is @generated automatically" 6 | ], 7 | "content-hash": "8fc376dbf64001c49f482e467d27c2cc", 8 | "packages": [ 9 | { 10 | "name": "apisearch-io/symfony-async-http-kernel", 11 | "version": "0.1.0", 12 | "source": { 13 | "type": "git", 14 | "url": "https://github.com/apisearch-io/symfony-async-kernel.git", 15 | "reference": "73a55876081081d8bc5c7baa15b56304207cf4ef" 16 | }, 17 | "dist": { 18 | "type": "zip", 19 | "url": "https://api.github.com/repos/apisearch-io/symfony-async-kernel/zipball/73a55876081081d8bc5c7baa15b56304207cf4ef", 20 | "reference": "73a55876081081d8bc5c7baa15b56304207cf4ef", 21 | "shasum": "" 22 | }, 23 | "require": { 24 | "php": ">=7.1", 25 | "react/promise": "*", 26 | "symfony/dependency-injection": "^4.0", 27 | "symfony/http-kernel": "^4.0" 28 | }, 29 | "require-dev": { 30 | "clue/block-react": "*", 31 | "friendsofphp/php-cs-fixer": "^2.5.0", 32 | "mmoreram/base-bundle": "^1.0.10", 33 | "mmoreram/php-formatter": "^1.3.1", 34 | "mmoreram/symfony-bundle-dependencies": "^2.0.0", 35 | "phpunit/phpunit": "^7.0.0" 36 | }, 37 | "type": "library", 38 | "autoload": { 39 | "psr-4": { 40 | "Symfony\\Component\\HttpKernel\\": "" 41 | }, 42 | "exclude-from-classmap": [ 43 | "/Tests/" 44 | ] 45 | }, 46 | "notification-url": "https://packagist.org/downloads/", 47 | "license": [ 48 | "MIT" 49 | ], 50 | "authors": [ 51 | { 52 | "name": "Marc Morera", 53 | "email": "yuhu@mmoreram.com" 54 | } 55 | ], 56 | "time": "2019-08-15T23:11:15+00:00" 57 | }, 58 | { 59 | "name": "apisearch-io/symfony-react-server", 60 | "version": "0.1.0", 61 | "source": { 62 | "type": "git", 63 | "url": "https://github.com/apisearch-io/symfony-react-server.git", 64 | "reference": "456d91ae33efe8a844f82ad85fc9e1c24a4aa176" 65 | }, 66 | "dist": { 67 | "type": "zip", 68 | "url": "https://api.github.com/repos/apisearch-io/symfony-react-server/zipball/456d91ae33efe8a844f82ad85fc9e1c24a4aa176", 69 | "reference": "456d91ae33efe8a844f82ad85fc9e1c24a4aa176", 70 | "shasum": "" 71 | }, 72 | "require": { 73 | "php": ">=7.1", 74 | "react/event-loop": "^1", 75 | "react/filesystem": "*", 76 | "react/http": "^0.8", 77 | "react/promise": "^2", 78 | "react/socket": "^1", 79 | "symfony/http-kernel": "^4.2" 80 | }, 81 | "require-dev": { 82 | "apisearch-io/symfony-async-http-kernel": "dev-master", 83 | "friendsofphp/php-cs-fixer": "^2.5.0", 84 | "mmoreram/php-formatter": "^1.3.1", 85 | "phpunit/phpunit": "^7.0.0", 86 | "symfony/config": "^4.2", 87 | "symfony/framework-bundle": "^4.2", 88 | "symfony/process": "^4.2" 89 | }, 90 | "suggest": { 91 | "apisearch-io/symfony-async-http-kernel": "To enable --non-blocking flag and work with Async Kernel" 92 | }, 93 | "bin": [ 94 | "bin/server" 95 | ], 96 | "type": "library", 97 | "autoload": { 98 | "psr-4": { 99 | "Apisearch\\SymfonyReactServer\\": "src" 100 | } 101 | }, 102 | "notification-url": "https://packagist.org/downloads/", 103 | "license": [ 104 | "MIT" 105 | ], 106 | "authors": [ 107 | { 108 | "name": "Marc Morera", 109 | "email": "yuhu@mmoreram.com" 110 | } 111 | ], 112 | "description": "ReactPHP based server for Symfony Kernel", 113 | "time": "2019-08-09T11:29:22+00:00" 114 | }, 115 | { 116 | "name": "cakephp/core", 117 | "version": "3.8.2", 118 | "source": { 119 | "type": "git", 120 | "url": "git@github.com:cakephp/core.git", 121 | "reference": "856ebb75e3cef6068444185e3dd54e98dfe888b3" 122 | }, 123 | "dist": { 124 | "type": "zip", 125 | "url": "https://api.github.com/repos/cakephp/core/zipball/856ebb75e3cef6068444185e3dd54e98dfe888b3", 126 | "reference": "856ebb75e3cef6068444185e3dd54e98dfe888b3", 127 | "shasum": "" 128 | }, 129 | "require": { 130 | "cakephp/utility": "^3.6.0", 131 | "php": ">=5.6.0" 132 | }, 133 | "suggest": { 134 | "cakephp/cache": "To use Configure::store() and restore().", 135 | "cakephp/event": "To use PluginApplicationInterface or plugin applications." 136 | }, 137 | "type": "library", 138 | "autoload": { 139 | "psr-4": { 140 | "Cake\\Core\\": "." 141 | }, 142 | "files": [ 143 | "functions.php" 144 | ] 145 | }, 146 | "notification-url": "https://packagist.org/downloads/", 147 | "license": [ 148 | "MIT" 149 | ], 150 | "authors": [ 151 | { 152 | "name": "CakePHP Community", 153 | "homepage": "https://github.com/cakephp/core/graphs/contributors" 154 | } 155 | ], 156 | "description": "CakePHP Framework Core classes", 157 | "homepage": "https://cakephp.org", 158 | "keywords": [ 159 | "cakephp", 160 | "core", 161 | "framework" 162 | ], 163 | "time": "2019-08-06T03:36:04+00:00" 164 | }, 165 | { 166 | "name": "cakephp/utility", 167 | "version": "3.8.2", 168 | "source": { 169 | "type": "git", 170 | "url": "git@github.com:cakephp/utility.git", 171 | "reference": "1b9d956aa81c2db720bd2cd9fa05079f44ad923c" 172 | }, 173 | "dist": { 174 | "type": "zip", 175 | "url": "https://api.github.com/repos/cakephp/utility/zipball/1b9d956aa81c2db720bd2cd9fa05079f44ad923c", 176 | "reference": "1b9d956aa81c2db720bd2cd9fa05079f44ad923c", 177 | "shasum": "" 178 | }, 179 | "require": { 180 | "cakephp/core": "^3.6.0", 181 | "php": ">=5.6.0" 182 | }, 183 | "suggest": { 184 | "ext-intl": "To use Text::transliterate() or Text::slug()", 185 | "lib-ICU": "To use Text::transliterate() or Text::slug()" 186 | }, 187 | "type": "library", 188 | "autoload": { 189 | "psr-4": { 190 | "Cake\\Utility\\": "." 191 | }, 192 | "files": [ 193 | "bootstrap.php" 194 | ] 195 | }, 196 | "notification-url": "https://packagist.org/downloads/", 197 | "license": [ 198 | "MIT" 199 | ], 200 | "authors": [ 201 | { 202 | "name": "CakePHP Community", 203 | "homepage": "https://github.com/cakephp/utility/graphs/contributors" 204 | } 205 | ], 206 | "description": "CakePHP Utility classes such as Inflector, String, Hash, and Security", 207 | "homepage": "https://cakephp.org", 208 | "keywords": [ 209 | "cakephp", 210 | "hash", 211 | "inflector", 212 | "security", 213 | "string", 214 | "utility" 215 | ], 216 | "time": "2019-08-08T09:05:06+00:00" 217 | }, 218 | { 219 | "name": "clue/redis-protocol", 220 | "version": "v0.3.1", 221 | "source": { 222 | "type": "git", 223 | "url": "https://github.com/clue/php-redis-protocol.git", 224 | "reference": "271b8009887209d930f613ad3b9518f94bd6b51c" 225 | }, 226 | "dist": { 227 | "type": "zip", 228 | "url": "https://api.github.com/repos/clue/php-redis-protocol/zipball/271b8009887209d930f613ad3b9518f94bd6b51c", 229 | "reference": "271b8009887209d930f613ad3b9518f94bd6b51c", 230 | "shasum": "" 231 | }, 232 | "require": { 233 | "php": ">=5.3" 234 | }, 235 | "type": "library", 236 | "autoload": { 237 | "psr-0": { 238 | "Clue\\Redis\\Protocol": "src" 239 | } 240 | }, 241 | "notification-url": "https://packagist.org/downloads/", 242 | "license": [ 243 | "MIT" 244 | ], 245 | "authors": [ 246 | { 247 | "name": "Christian Lück", 248 | "email": "christian@lueck.tv" 249 | } 250 | ], 251 | "description": "A streaming redis wire protocol parser and serializer implementation in PHP", 252 | "homepage": "https://github.com/clue/php-redis-protocol", 253 | "keywords": [ 254 | "parser", 255 | "protocol", 256 | "redis", 257 | "serializer", 258 | "streaming" 259 | ], 260 | "time": "2017-06-06T16:07:10+00:00" 261 | }, 262 | { 263 | "name": "clue/redis-react", 264 | "version": "v2.3.0", 265 | "source": { 266 | "type": "git", 267 | "url": "https://github.com/clue/reactphp-redis.git", 268 | "reference": "426e9dfd71e7ffa20de080a725589ff9b42762ca" 269 | }, 270 | "dist": { 271 | "type": "zip", 272 | "url": "https://api.github.com/repos/clue/reactphp-redis/zipball/426e9dfd71e7ffa20de080a725589ff9b42762ca", 273 | "reference": "426e9dfd71e7ffa20de080a725589ff9b42762ca", 274 | "shasum": "" 275 | }, 276 | "require": { 277 | "clue/redis-protocol": "0.3.*", 278 | "evenement/evenement": "^3.0 || ^2.0 || ^1.0", 279 | "php": ">=5.3", 280 | "react/event-loop": "^1.0 || ^0.5", 281 | "react/promise": "^2.0 || ^1.1", 282 | "react/promise-timer": "^1.5", 283 | "react/socket": "^1.1" 284 | }, 285 | "require-dev": { 286 | "clue/block-react": "^1.1", 287 | "phpunit/phpunit": "^7.0 || ^6.0 || ^5.0 || ^4.8.35" 288 | }, 289 | "type": "library", 290 | "autoload": { 291 | "psr-4": { 292 | "Clue\\React\\Redis\\": "src/" 293 | } 294 | }, 295 | "notification-url": "https://packagist.org/downloads/", 296 | "license": [ 297 | "MIT" 298 | ], 299 | "authors": [ 300 | { 301 | "name": "Christian Lück", 302 | "email": "christian@lueck.tv" 303 | } 304 | ], 305 | "description": "Async Redis client implementation, built on top of ReactPHP.", 306 | "homepage": "https://github.com/clue/reactphp-redis", 307 | "keywords": [ 308 | "async", 309 | "client", 310 | "database", 311 | "reactphp", 312 | "redis" 313 | ], 314 | "time": "2019-03-11T10:20:19+00:00" 315 | }, 316 | { 317 | "name": "doctrine/inflector", 318 | "version": "v1.3.0", 319 | "source": { 320 | "type": "git", 321 | "url": "https://github.com/doctrine/inflector.git", 322 | "reference": "5527a48b7313d15261292c149e55e26eae771b0a" 323 | }, 324 | "dist": { 325 | "type": "zip", 326 | "url": "https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a", 327 | "reference": "5527a48b7313d15261292c149e55e26eae771b0a", 328 | "shasum": "" 329 | }, 330 | "require": { 331 | "php": "^7.1" 332 | }, 333 | "require-dev": { 334 | "phpunit/phpunit": "^6.2" 335 | }, 336 | "type": "library", 337 | "extra": { 338 | "branch-alias": { 339 | "dev-master": "1.3.x-dev" 340 | } 341 | }, 342 | "autoload": { 343 | "psr-4": { 344 | "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" 345 | } 346 | }, 347 | "notification-url": "https://packagist.org/downloads/", 348 | "license": [ 349 | "MIT" 350 | ], 351 | "authors": [ 352 | { 353 | "name": "Roman Borschel", 354 | "email": "roman@code-factory.org" 355 | }, 356 | { 357 | "name": "Benjamin Eberlei", 358 | "email": "kontakt@beberlei.de" 359 | }, 360 | { 361 | "name": "Guilherme Blanco", 362 | "email": "guilhermeblanco@gmail.com" 363 | }, 364 | { 365 | "name": "Jonathan Wage", 366 | "email": "jonwage@gmail.com" 367 | }, 368 | { 369 | "name": "Johannes Schmitt", 370 | "email": "schmittjoh@gmail.com" 371 | } 372 | ], 373 | "description": "Common String Manipulations with regard to casing and singular/plural rules.", 374 | "homepage": "http://www.doctrine-project.org", 375 | "keywords": [ 376 | "inflection", 377 | "pluralize", 378 | "singularize", 379 | "string" 380 | ], 381 | "time": "2018-01-09T20:05:19+00:00" 382 | }, 383 | { 384 | "name": "doctrine/instantiator", 385 | "version": "1.2.0", 386 | "source": { 387 | "type": "git", 388 | "url": "https://github.com/doctrine/instantiator.git", 389 | "reference": "a2c590166b2133a4633738648b6b064edae0814a" 390 | }, 391 | "dist": { 392 | "type": "zip", 393 | "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a", 394 | "reference": "a2c590166b2133a4633738648b6b064edae0814a", 395 | "shasum": "" 396 | }, 397 | "require": { 398 | "php": "^7.1" 399 | }, 400 | "require-dev": { 401 | "doctrine/coding-standard": "^6.0", 402 | "ext-pdo": "*", 403 | "ext-phar": "*", 404 | "phpbench/phpbench": "^0.13", 405 | "phpstan/phpstan-phpunit": "^0.11", 406 | "phpstan/phpstan-shim": "^0.11", 407 | "phpunit/phpunit": "^7.0" 408 | }, 409 | "type": "library", 410 | "extra": { 411 | "branch-alias": { 412 | "dev-master": "1.2.x-dev" 413 | } 414 | }, 415 | "autoload": { 416 | "psr-4": { 417 | "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" 418 | } 419 | }, 420 | "notification-url": "https://packagist.org/downloads/", 421 | "license": [ 422 | "MIT" 423 | ], 424 | "authors": [ 425 | { 426 | "name": "Marco Pivetta", 427 | "email": "ocramius@gmail.com", 428 | "homepage": "http://ocramius.github.com/" 429 | } 430 | ], 431 | "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", 432 | "homepage": "https://www.doctrine-project.org/projects/instantiator.html", 433 | "keywords": [ 434 | "constructor", 435 | "instantiate" 436 | ], 437 | "time": "2019-03-17T17:37:11+00:00" 438 | }, 439 | { 440 | "name": "evenement/evenement", 441 | "version": "v3.0.1", 442 | "source": { 443 | "type": "git", 444 | "url": "https://github.com/igorw/evenement.git", 445 | "reference": "531bfb9d15f8aa57454f5f0285b18bec903b8fb7" 446 | }, 447 | "dist": { 448 | "type": "zip", 449 | "url": "https://api.github.com/repos/igorw/evenement/zipball/531bfb9d15f8aa57454f5f0285b18bec903b8fb7", 450 | "reference": "531bfb9d15f8aa57454f5f0285b18bec903b8fb7", 451 | "shasum": "" 452 | }, 453 | "require": { 454 | "php": ">=7.0" 455 | }, 456 | "require-dev": { 457 | "phpunit/phpunit": "^6.0" 458 | }, 459 | "type": "library", 460 | "autoload": { 461 | "psr-0": { 462 | "Evenement": "src" 463 | } 464 | }, 465 | "notification-url": "https://packagist.org/downloads/", 466 | "license": [ 467 | "MIT" 468 | ], 469 | "authors": [ 470 | { 471 | "name": "Igor Wiedler", 472 | "email": "igor@wiedler.ch" 473 | } 474 | ], 475 | "description": "Événement is a very simple event dispatching library for PHP", 476 | "keywords": [ 477 | "event-dispatcher", 478 | "event-emitter" 479 | ], 480 | "time": "2017-07-23T21:35:13+00:00" 481 | }, 482 | { 483 | "name": "indigophp/hash-compat", 484 | "version": "v1.1.0", 485 | "source": { 486 | "type": "git", 487 | "url": "https://github.com/indigophp/hash-compat.git", 488 | "reference": "43a19f42093a0cd2d11874dff9d891027fc42214" 489 | }, 490 | "dist": { 491 | "type": "zip", 492 | "url": "https://api.github.com/repos/indigophp/hash-compat/zipball/43a19f42093a0cd2d11874dff9d891027fc42214", 493 | "reference": "43a19f42093a0cd2d11874dff9d891027fc42214", 494 | "shasum": "" 495 | }, 496 | "require": { 497 | "php": ">=5.3" 498 | }, 499 | "require-dev": { 500 | "phpunit/phpunit": "~4.4" 501 | }, 502 | "type": "library", 503 | "extra": { 504 | "branch-alias": { 505 | "dev-master": "1.2-dev" 506 | } 507 | }, 508 | "autoload": { 509 | "files": [ 510 | "src/hash_equals.php", 511 | "src/hash_pbkdf2.php" 512 | ] 513 | }, 514 | "notification-url": "https://packagist.org/downloads/", 515 | "license": [ 516 | "MIT" 517 | ], 518 | "authors": [ 519 | { 520 | "name": "Márk Sági-Kazár", 521 | "email": "mark.sagikazar@gmail.com" 522 | } 523 | ], 524 | "description": "Backports hash_* functionality to older PHP versions", 525 | "homepage": "https://indigophp.com", 526 | "keywords": [ 527 | "hash", 528 | "hash_equals", 529 | "hash_pbkdf2" 530 | ], 531 | "time": "2015-08-22T07:03:35+00:00" 532 | }, 533 | { 534 | "name": "psr/cache", 535 | "version": "1.0.1", 536 | "source": { 537 | "type": "git", 538 | "url": "https://github.com/php-fig/cache.git", 539 | "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" 540 | }, 541 | "dist": { 542 | "type": "zip", 543 | "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", 544 | "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", 545 | "shasum": "" 546 | }, 547 | "require": { 548 | "php": ">=5.3.0" 549 | }, 550 | "type": "library", 551 | "extra": { 552 | "branch-alias": { 553 | "dev-master": "1.0.x-dev" 554 | } 555 | }, 556 | "autoload": { 557 | "psr-4": { 558 | "Psr\\Cache\\": "src/" 559 | } 560 | }, 561 | "notification-url": "https://packagist.org/downloads/", 562 | "license": [ 563 | "MIT" 564 | ], 565 | "authors": [ 566 | { 567 | "name": "PHP-FIG", 568 | "homepage": "http://www.php-fig.org/" 569 | } 570 | ], 571 | "description": "Common interface for caching libraries", 572 | "keywords": [ 573 | "cache", 574 | "psr", 575 | "psr-6" 576 | ], 577 | "time": "2016-08-06T20:24:11+00:00" 578 | }, 579 | { 580 | "name": "psr/container", 581 | "version": "1.0.0", 582 | "source": { 583 | "type": "git", 584 | "url": "https://github.com/php-fig/container.git", 585 | "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" 586 | }, 587 | "dist": { 588 | "type": "zip", 589 | "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", 590 | "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", 591 | "shasum": "" 592 | }, 593 | "require": { 594 | "php": ">=5.3.0" 595 | }, 596 | "type": "library", 597 | "extra": { 598 | "branch-alias": { 599 | "dev-master": "1.0.x-dev" 600 | } 601 | }, 602 | "autoload": { 603 | "psr-4": { 604 | "Psr\\Container\\": "src/" 605 | } 606 | }, 607 | "notification-url": "https://packagist.org/downloads/", 608 | "license": [ 609 | "MIT" 610 | ], 611 | "authors": [ 612 | { 613 | "name": "PHP-FIG", 614 | "homepage": "http://www.php-fig.org/" 615 | } 616 | ], 617 | "description": "Common Container Interface (PHP FIG PSR-11)", 618 | "homepage": "https://github.com/php-fig/container", 619 | "keywords": [ 620 | "PSR-11", 621 | "container", 622 | "container-interface", 623 | "container-interop", 624 | "psr" 625 | ], 626 | "time": "2017-02-14T16:28:37+00:00" 627 | }, 628 | { 629 | "name": "psr/http-message", 630 | "version": "1.0.1", 631 | "source": { 632 | "type": "git", 633 | "url": "https://github.com/php-fig/http-message.git", 634 | "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" 635 | }, 636 | "dist": { 637 | "type": "zip", 638 | "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", 639 | "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", 640 | "shasum": "" 641 | }, 642 | "require": { 643 | "php": ">=5.3.0" 644 | }, 645 | "type": "library", 646 | "extra": { 647 | "branch-alias": { 648 | "dev-master": "1.0.x-dev" 649 | } 650 | }, 651 | "autoload": { 652 | "psr-4": { 653 | "Psr\\Http\\Message\\": "src/" 654 | } 655 | }, 656 | "notification-url": "https://packagist.org/downloads/", 657 | "license": [ 658 | "MIT" 659 | ], 660 | "authors": [ 661 | { 662 | "name": "PHP-FIG", 663 | "homepage": "http://www.php-fig.org/" 664 | } 665 | ], 666 | "description": "Common interface for HTTP messages", 667 | "homepage": "https://github.com/php-fig/http-message", 668 | "keywords": [ 669 | "http", 670 | "http-message", 671 | "psr", 672 | "psr-7", 673 | "request", 674 | "response" 675 | ], 676 | "time": "2016-08-06T14:39:51+00:00" 677 | }, 678 | { 679 | "name": "psr/log", 680 | "version": "1.1.0", 681 | "source": { 682 | "type": "git", 683 | "url": "https://github.com/php-fig/log.git", 684 | "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd" 685 | }, 686 | "dist": { 687 | "type": "zip", 688 | "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd", 689 | "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd", 690 | "shasum": "" 691 | }, 692 | "require": { 693 | "php": ">=5.3.0" 694 | }, 695 | "type": "library", 696 | "extra": { 697 | "branch-alias": { 698 | "dev-master": "1.0.x-dev" 699 | } 700 | }, 701 | "autoload": { 702 | "psr-4": { 703 | "Psr\\Log\\": "Psr/Log/" 704 | } 705 | }, 706 | "notification-url": "https://packagist.org/downloads/", 707 | "license": [ 708 | "MIT" 709 | ], 710 | "authors": [ 711 | { 712 | "name": "PHP-FIG", 713 | "homepage": "http://www.php-fig.org/" 714 | } 715 | ], 716 | "description": "Common interface for logging libraries", 717 | "homepage": "https://github.com/php-fig/log", 718 | "keywords": [ 719 | "log", 720 | "psr", 721 | "psr-3" 722 | ], 723 | "time": "2018-11-20T15:27:04+00:00" 724 | }, 725 | { 726 | "name": "psr/simple-cache", 727 | "version": "1.0.1", 728 | "source": { 729 | "type": "git", 730 | "url": "https://github.com/php-fig/simple-cache.git", 731 | "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" 732 | }, 733 | "dist": { 734 | "type": "zip", 735 | "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", 736 | "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", 737 | "shasum": "" 738 | }, 739 | "require": { 740 | "php": ">=5.3.0" 741 | }, 742 | "type": "library", 743 | "extra": { 744 | "branch-alias": { 745 | "dev-master": "1.0.x-dev" 746 | } 747 | }, 748 | "autoload": { 749 | "psr-4": { 750 | "Psr\\SimpleCache\\": "src/" 751 | } 752 | }, 753 | "notification-url": "https://packagist.org/downloads/", 754 | "license": [ 755 | "MIT" 756 | ], 757 | "authors": [ 758 | { 759 | "name": "PHP-FIG", 760 | "homepage": "http://www.php-fig.org/" 761 | } 762 | ], 763 | "description": "Common interfaces for simple caching", 764 | "keywords": [ 765 | "cache", 766 | "caching", 767 | "psr", 768 | "psr-16", 769 | "simple-cache" 770 | ], 771 | "time": "2017-10-23T01:57:42+00:00" 772 | }, 773 | { 774 | "name": "react/cache", 775 | "version": "v1.0.0", 776 | "source": { 777 | "type": "git", 778 | "url": "https://github.com/reactphp/cache.git", 779 | "reference": "aa10d63a1b40a36a486bdf527f28bac607ee6466" 780 | }, 781 | "dist": { 782 | "type": "zip", 783 | "url": "https://api.github.com/repos/reactphp/cache/zipball/aa10d63a1b40a36a486bdf527f28bac607ee6466", 784 | "reference": "aa10d63a1b40a36a486bdf527f28bac607ee6466", 785 | "shasum": "" 786 | }, 787 | "require": { 788 | "php": ">=5.3.0", 789 | "react/promise": "~2.0|~1.1" 790 | }, 791 | "require-dev": { 792 | "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" 793 | }, 794 | "type": "library", 795 | "autoload": { 796 | "psr-4": { 797 | "React\\Cache\\": "src/" 798 | } 799 | }, 800 | "notification-url": "https://packagist.org/downloads/", 801 | "license": [ 802 | "MIT" 803 | ], 804 | "description": "Async, Promise-based cache interface for ReactPHP", 805 | "keywords": [ 806 | "cache", 807 | "caching", 808 | "promise", 809 | "reactphp" 810 | ], 811 | "time": "2019-07-11T13:45:28+00:00" 812 | }, 813 | { 814 | "name": "react/child-process", 815 | "version": "v0.6.1", 816 | "source": { 817 | "type": "git", 818 | "url": "https://github.com/reactphp/child-process.git", 819 | "reference": "6895afa583d51dc10a4b9e93cd3bce17b3b77ac3" 820 | }, 821 | "dist": { 822 | "type": "zip", 823 | "url": "https://api.github.com/repos/reactphp/child-process/zipball/6895afa583d51dc10a4b9e93cd3bce17b3b77ac3", 824 | "reference": "6895afa583d51dc10a4b9e93cd3bce17b3b77ac3", 825 | "shasum": "" 826 | }, 827 | "require": { 828 | "evenement/evenement": "^3.0 || ^2.0 || ^1.0", 829 | "php": ">=5.3.0", 830 | "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", 831 | "react/stream": "^1.0 || ^0.7.6" 832 | }, 833 | "require-dev": { 834 | "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35", 835 | "react/socket": "^1.0", 836 | "sebastian/environment": "^3.0 || ^2.0 || ^1.0" 837 | }, 838 | "type": "library", 839 | "autoload": { 840 | "psr-4": { 841 | "React\\ChildProcess\\": "src" 842 | } 843 | }, 844 | "notification-url": "https://packagist.org/downloads/", 845 | "license": [ 846 | "MIT" 847 | ], 848 | "description": "Event-driven library for executing child processes with ReactPHP.", 849 | "keywords": [ 850 | "event-driven", 851 | "process", 852 | "reactphp" 853 | ], 854 | "time": "2019-02-15T13:48:16+00:00" 855 | }, 856 | { 857 | "name": "react/dns", 858 | "version": "v1.2.0", 859 | "source": { 860 | "type": "git", 861 | "url": "https://github.com/reactphp/dns.git", 862 | "reference": "a214d90c2884dac18d0cac6176202f247b66d762" 863 | }, 864 | "dist": { 865 | "type": "zip", 866 | "url": "https://api.github.com/repos/reactphp/dns/zipball/a214d90c2884dac18d0cac6176202f247b66d762", 867 | "reference": "a214d90c2884dac18d0cac6176202f247b66d762", 868 | "shasum": "" 869 | }, 870 | "require": { 871 | "php": ">=5.3.0", 872 | "react/cache": "^1.0 || ^0.6 || ^0.5", 873 | "react/event-loop": "^1.0 || ^0.5", 874 | "react/promise": "^2.7 || ^1.2.1", 875 | "react/promise-timer": "^1.2" 876 | }, 877 | "require-dev": { 878 | "clue/block-react": "^1.2", 879 | "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35" 880 | }, 881 | "type": "library", 882 | "autoload": { 883 | "psr-4": { 884 | "React\\Dns\\": "src" 885 | } 886 | }, 887 | "notification-url": "https://packagist.org/downloads/", 888 | "license": [ 889 | "MIT" 890 | ], 891 | "description": "Async DNS resolver for ReactPHP", 892 | "keywords": [ 893 | "async", 894 | "dns", 895 | "dns-resolver", 896 | "reactphp" 897 | ], 898 | "time": "2019-08-15T09:06:31+00:00" 899 | }, 900 | { 901 | "name": "react/event-loop", 902 | "version": "v1.1.0", 903 | "source": { 904 | "type": "git", 905 | "url": "https://github.com/reactphp/event-loop.git", 906 | "reference": "a0ecac955c67b57c40fe4a1b88a7cca1b58c982d" 907 | }, 908 | "dist": { 909 | "type": "zip", 910 | "url": "https://api.github.com/repos/reactphp/event-loop/zipball/a0ecac955c67b57c40fe4a1b88a7cca1b58c982d", 911 | "reference": "a0ecac955c67b57c40fe4a1b88a7cca1b58c982d", 912 | "shasum": "" 913 | }, 914 | "require": { 915 | "php": ">=5.3.0" 916 | }, 917 | "require-dev": { 918 | "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35" 919 | }, 920 | "suggest": { 921 | "ext-event": "~1.0 for ExtEventLoop", 922 | "ext-pcntl": "For signal handling support when using the StreamSelectLoop", 923 | "ext-uv": "* for ExtUvLoop" 924 | }, 925 | "type": "library", 926 | "autoload": { 927 | "psr-4": { 928 | "React\\EventLoop\\": "src" 929 | } 930 | }, 931 | "notification-url": "https://packagist.org/downloads/", 932 | "license": [ 933 | "MIT" 934 | ], 935 | "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.", 936 | "keywords": [ 937 | "asynchronous", 938 | "event-loop" 939 | ], 940 | "time": "2019-02-07T16:19:49+00:00" 941 | }, 942 | { 943 | "name": "react/filesystem", 944 | "version": "v0.1.2", 945 | "source": { 946 | "type": "git", 947 | "url": "https://github.com/reactphp/filesystem.git", 948 | "reference": "766cdef9ba806367114f0c5ba36ea2a6eec8ccd2" 949 | }, 950 | "dist": { 951 | "type": "zip", 952 | "url": "https://api.github.com/repos/reactphp/filesystem/zipball/766cdef9ba806367114f0c5ba36ea2a6eec8ccd2", 953 | "reference": "766cdef9ba806367114f0c5ba36ea2a6eec8ccd2", 954 | "shasum": "" 955 | }, 956 | "require": { 957 | "evenement/evenement": "^3.0 || ^2.0", 958 | "php": ">=5.4.0", 959 | "react/event-loop": "^1.0 || ^0.5 || ^0.4", 960 | "react/promise": "~2.2", 961 | "react/promise-stream": "^1.1", 962 | "react/stream": "^1.0 || ^0.7 || ^0.6 || ^0.5 || ^0.4", 963 | "wyrihaximus/react-child-process-pool": "^1.3" 964 | }, 965 | "require-dev": { 966 | "clue/block-react": "^1.1", 967 | "phpunit/phpunit": "^6.0 || ^5.0 || ^4.8" 968 | }, 969 | "suggest": { 970 | "ext-eio": "^1.2" 971 | }, 972 | "type": "library", 973 | "autoload": { 974 | "psr-4": { 975 | "React\\Filesystem\\": "src/" 976 | }, 977 | "files": [ 978 | "src/functions_include.php" 979 | ] 980 | }, 981 | "notification-url": "https://packagist.org/downloads/", 982 | "license": [ 983 | "MIT" 984 | ], 985 | "authors": [ 986 | { 987 | "name": "Cees-Jan Kiewiet", 988 | "email": "ceesjank@gmail.com" 989 | } 990 | ], 991 | "description": "Asynchronous filesystem abstraction.", 992 | "keywords": [ 993 | "asynchronous", 994 | "eio", 995 | "filesystem" 996 | ], 997 | "time": "2018-10-22T12:10:29+00:00" 998 | }, 999 | { 1000 | "name": "react/http", 1001 | "version": "v0.8.4", 1002 | "source": { 1003 | "type": "git", 1004 | "url": "https://github.com/reactphp/http.git", 1005 | "reference": "b29ab96557ac5c53e738fcb26f73f631a3f81f1a" 1006 | }, 1007 | "dist": { 1008 | "type": "zip", 1009 | "url": "https://api.github.com/repos/reactphp/http/zipball/b29ab96557ac5c53e738fcb26f73f631a3f81f1a", 1010 | "reference": "b29ab96557ac5c53e738fcb26f73f631a3f81f1a", 1011 | "shasum": "" 1012 | }, 1013 | "require": { 1014 | "evenement/evenement": "^3.0 || ^2.0 || ^1.0", 1015 | "php": ">=5.3.0", 1016 | "react/promise": "^2.3 || ^1.2.1", 1017 | "react/promise-stream": "^1.1", 1018 | "react/socket": "^1.0 || ^0.8.3", 1019 | "react/stream": "^1.0 || ^0.7.1", 1020 | "ringcentral/psr7": "^1.2" 1021 | }, 1022 | "require-dev": { 1023 | "clue/block-react": "^1.1", 1024 | "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" 1025 | }, 1026 | "type": "library", 1027 | "autoload": { 1028 | "psr-4": { 1029 | "React\\Http\\": "src" 1030 | } 1031 | }, 1032 | "notification-url": "https://packagist.org/downloads/", 1033 | "license": [ 1034 | "MIT" 1035 | ], 1036 | "description": "Event-driven, streaming plaintext HTTP and secure HTTPS server for ReactPHP", 1037 | "keywords": [ 1038 | "event-driven", 1039 | "http", 1040 | "https", 1041 | "reactphp", 1042 | "server", 1043 | "streaming" 1044 | ], 1045 | "time": "2019-01-16T07:26:32+00:00" 1046 | }, 1047 | { 1048 | "name": "react/promise", 1049 | "version": "v2.7.1", 1050 | "source": { 1051 | "type": "git", 1052 | "url": "https://github.com/reactphp/promise.git", 1053 | "reference": "31ffa96f8d2ed0341a57848cbb84d88b89dd664d" 1054 | }, 1055 | "dist": { 1056 | "type": "zip", 1057 | "url": "https://api.github.com/repos/reactphp/promise/zipball/31ffa96f8d2ed0341a57848cbb84d88b89dd664d", 1058 | "reference": "31ffa96f8d2ed0341a57848cbb84d88b89dd664d", 1059 | "shasum": "" 1060 | }, 1061 | "require": { 1062 | "php": ">=5.4.0" 1063 | }, 1064 | "require-dev": { 1065 | "phpunit/phpunit": "~4.8" 1066 | }, 1067 | "type": "library", 1068 | "autoload": { 1069 | "psr-4": { 1070 | "React\\Promise\\": "src/" 1071 | }, 1072 | "files": [ 1073 | "src/functions_include.php" 1074 | ] 1075 | }, 1076 | "notification-url": "https://packagist.org/downloads/", 1077 | "license": [ 1078 | "MIT" 1079 | ], 1080 | "authors": [ 1081 | { 1082 | "name": "Jan Sorgalla", 1083 | "email": "jsorgalla@gmail.com" 1084 | } 1085 | ], 1086 | "description": "A lightweight implementation of CommonJS Promises/A for PHP", 1087 | "keywords": [ 1088 | "promise", 1089 | "promises" 1090 | ], 1091 | "time": "2019-01-07T21:25:54+00:00" 1092 | }, 1093 | { 1094 | "name": "react/promise-stream", 1095 | "version": "v1.2.0", 1096 | "source": { 1097 | "type": "git", 1098 | "url": "https://github.com/reactphp/promise-stream.git", 1099 | "reference": "6384d8b76cf7dcc44b0bf3343fb2b2928412d1fe" 1100 | }, 1101 | "dist": { 1102 | "type": "zip", 1103 | "url": "https://api.github.com/repos/reactphp/promise-stream/zipball/6384d8b76cf7dcc44b0bf3343fb2b2928412d1fe", 1104 | "reference": "6384d8b76cf7dcc44b0bf3343fb2b2928412d1fe", 1105 | "shasum": "" 1106 | }, 1107 | "require": { 1108 | "php": ">=5.3", 1109 | "react/promise": "^2.1 || ^1.2", 1110 | "react/stream": "^1.0 || ^0.7 || ^0.6 || ^0.5 || ^0.4.6" 1111 | }, 1112 | "require-dev": { 1113 | "clue/block-react": "^1.0", 1114 | "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35", 1115 | "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3", 1116 | "react/promise-timer": "^1.0" 1117 | }, 1118 | "type": "library", 1119 | "autoload": { 1120 | "psr-4": { 1121 | "React\\Promise\\Stream\\": "src/" 1122 | }, 1123 | "files": [ 1124 | "src/functions_include.php" 1125 | ] 1126 | }, 1127 | "notification-url": "https://packagist.org/downloads/", 1128 | "license": [ 1129 | "MIT" 1130 | ], 1131 | "authors": [ 1132 | { 1133 | "name": "Christian Lück", 1134 | "email": "christian@lueck.tv" 1135 | } 1136 | ], 1137 | "description": "The missing link between Promise-land and Stream-land for ReactPHP", 1138 | "homepage": "https://github.com/reactphp/promise-stream", 1139 | "keywords": [ 1140 | "Buffer", 1141 | "async", 1142 | "promise", 1143 | "reactphp", 1144 | "stream", 1145 | "unwrap" 1146 | ], 1147 | "time": "2019-07-03T12:29:10+00:00" 1148 | }, 1149 | { 1150 | "name": "react/promise-timer", 1151 | "version": "v1.5.1", 1152 | "source": { 1153 | "type": "git", 1154 | "url": "https://github.com/reactphp/promise-timer.git", 1155 | "reference": "35fb910604fd86b00023fc5cda477c8074ad0abc" 1156 | }, 1157 | "dist": { 1158 | "type": "zip", 1159 | "url": "https://api.github.com/repos/reactphp/promise-timer/zipball/35fb910604fd86b00023fc5cda477c8074ad0abc", 1160 | "reference": "35fb910604fd86b00023fc5cda477c8074ad0abc", 1161 | "shasum": "" 1162 | }, 1163 | "require": { 1164 | "php": ">=5.3", 1165 | "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", 1166 | "react/promise": "^2.7.0 || ^1.2.1" 1167 | }, 1168 | "require-dev": { 1169 | "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" 1170 | }, 1171 | "type": "library", 1172 | "autoload": { 1173 | "psr-4": { 1174 | "React\\Promise\\Timer\\": "src/" 1175 | }, 1176 | "files": [ 1177 | "src/functions_include.php" 1178 | ] 1179 | }, 1180 | "notification-url": "https://packagist.org/downloads/", 1181 | "license": [ 1182 | "MIT" 1183 | ], 1184 | "authors": [ 1185 | { 1186 | "name": "Christian Lück", 1187 | "email": "christian@lueck.tv" 1188 | } 1189 | ], 1190 | "description": "A trivial implementation of timeouts for Promises, built on top of ReactPHP.", 1191 | "homepage": "https://github.com/reactphp/promise-timer", 1192 | "keywords": [ 1193 | "async", 1194 | "event-loop", 1195 | "promise", 1196 | "reactphp", 1197 | "timeout", 1198 | "timer" 1199 | ], 1200 | "time": "2019-03-27T18:10:32+00:00" 1201 | }, 1202 | { 1203 | "name": "react/socket", 1204 | "version": "v1.3.0", 1205 | "source": { 1206 | "type": "git", 1207 | "url": "https://github.com/reactphp/socket.git", 1208 | "reference": "10f0629ec83ea0fa22597f348623f554227e3ca0" 1209 | }, 1210 | "dist": { 1211 | "type": "zip", 1212 | "url": "https://api.github.com/repos/reactphp/socket/zipball/10f0629ec83ea0fa22597f348623f554227e3ca0", 1213 | "reference": "10f0629ec83ea0fa22597f348623f554227e3ca0", 1214 | "shasum": "" 1215 | }, 1216 | "require": { 1217 | "evenement/evenement": "^3.0 || ^2.0 || ^1.0", 1218 | "php": ">=5.3.0", 1219 | "react/dns": "^1.0 || ^0.4.13", 1220 | "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", 1221 | "react/promise": "^2.6.0 || ^1.2.1", 1222 | "react/promise-timer": "^1.4.0", 1223 | "react/stream": "^1.1" 1224 | }, 1225 | "require-dev": { 1226 | "clue/block-react": "^1.2", 1227 | "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" 1228 | }, 1229 | "type": "library", 1230 | "autoload": { 1231 | "psr-4": { 1232 | "React\\Socket\\": "src" 1233 | } 1234 | }, 1235 | "notification-url": "https://packagist.org/downloads/", 1236 | "license": [ 1237 | "MIT" 1238 | ], 1239 | "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP", 1240 | "keywords": [ 1241 | "Connection", 1242 | "Socket", 1243 | "async", 1244 | "reactphp", 1245 | "stream" 1246 | ], 1247 | "time": "2019-07-10T10:11:14+00:00" 1248 | }, 1249 | { 1250 | "name": "react/stream", 1251 | "version": "v1.1.0", 1252 | "source": { 1253 | "type": "git", 1254 | "url": "https://github.com/reactphp/stream.git", 1255 | "reference": "50426855f7a77ddf43b9266c22320df5bf6c6ce6" 1256 | }, 1257 | "dist": { 1258 | "type": "zip", 1259 | "url": "https://api.github.com/repos/reactphp/stream/zipball/50426855f7a77ddf43b9266c22320df5bf6c6ce6", 1260 | "reference": "50426855f7a77ddf43b9266c22320df5bf6c6ce6", 1261 | "shasum": "" 1262 | }, 1263 | "require": { 1264 | "evenement/evenement": "^3.0 || ^2.0 || ^1.0", 1265 | "php": ">=5.3.8", 1266 | "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5" 1267 | }, 1268 | "require-dev": { 1269 | "clue/stream-filter": "~1.2", 1270 | "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" 1271 | }, 1272 | "type": "library", 1273 | "autoload": { 1274 | "psr-4": { 1275 | "React\\Stream\\": "src" 1276 | } 1277 | }, 1278 | "notification-url": "https://packagist.org/downloads/", 1279 | "license": [ 1280 | "MIT" 1281 | ], 1282 | "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP", 1283 | "keywords": [ 1284 | "event-driven", 1285 | "io", 1286 | "non-blocking", 1287 | "pipe", 1288 | "reactphp", 1289 | "readable", 1290 | "stream", 1291 | "writable" 1292 | ], 1293 | "time": "2019-01-01T16:15:09+00:00" 1294 | }, 1295 | { 1296 | "name": "ringcentral/psr7", 1297 | "version": "1.2.2", 1298 | "source": { 1299 | "type": "git", 1300 | "url": "https://github.com/ringcentral/psr7.git", 1301 | "reference": "dcd84bbb49b96c616d1dcc8bfb9bef3f2cd53d1c" 1302 | }, 1303 | "dist": { 1304 | "type": "zip", 1305 | "url": "https://api.github.com/repos/ringcentral/psr7/zipball/dcd84bbb49b96c616d1dcc8bfb9bef3f2cd53d1c", 1306 | "reference": "dcd84bbb49b96c616d1dcc8bfb9bef3f2cd53d1c", 1307 | "shasum": "" 1308 | }, 1309 | "require": { 1310 | "php": ">=5.3", 1311 | "psr/http-message": "~1.0" 1312 | }, 1313 | "provide": { 1314 | "psr/http-message-implementation": "1.0" 1315 | }, 1316 | "require-dev": { 1317 | "phpunit/phpunit": "~4.0" 1318 | }, 1319 | "type": "library", 1320 | "extra": { 1321 | "branch-alias": { 1322 | "dev-master": "1.0-dev" 1323 | } 1324 | }, 1325 | "autoload": { 1326 | "psr-4": { 1327 | "RingCentral\\Psr7\\": "src/" 1328 | }, 1329 | "files": [ 1330 | "src/functions_include.php" 1331 | ] 1332 | }, 1333 | "notification-url": "https://packagist.org/downloads/", 1334 | "license": [ 1335 | "MIT" 1336 | ], 1337 | "authors": [ 1338 | { 1339 | "name": "Michael Dowling", 1340 | "email": "mtdowling@gmail.com", 1341 | "homepage": "https://github.com/mtdowling" 1342 | } 1343 | ], 1344 | "description": "PSR-7 message implementation", 1345 | "keywords": [ 1346 | "http", 1347 | "message", 1348 | "stream", 1349 | "uri" 1350 | ], 1351 | "time": "2018-01-15T21:00:49+00:00" 1352 | }, 1353 | { 1354 | "name": "symfony/cache", 1355 | "version": "v4.2.11", 1356 | "source": { 1357 | "type": "git", 1358 | "url": "https://github.com/symfony/cache.git", 1359 | "reference": "2a139a2697dbe06526b5f1d53bb0d21a574ba1f7" 1360 | }, 1361 | "dist": { 1362 | "type": "zip", 1363 | "url": "https://api.github.com/repos/symfony/cache/zipball/2a139a2697dbe06526b5f1d53bb0d21a574ba1f7", 1364 | "reference": "2a139a2697dbe06526b5f1d53bb0d21a574ba1f7", 1365 | "shasum": "" 1366 | }, 1367 | "require": { 1368 | "php": "^7.1.3", 1369 | "psr/cache": "~1.0", 1370 | "psr/log": "~1.0", 1371 | "psr/simple-cache": "^1.0", 1372 | "symfony/contracts": "^1.0", 1373 | "symfony/var-exporter": "^4.2" 1374 | }, 1375 | "conflict": { 1376 | "doctrine/dbal": "<2.5", 1377 | "symfony/dependency-injection": "<3.4", 1378 | "symfony/var-dumper": "<3.4" 1379 | }, 1380 | "provide": { 1381 | "psr/cache-implementation": "1.0", 1382 | "psr/simple-cache-implementation": "1.0", 1383 | "symfony/cache-implementation": "1.0" 1384 | }, 1385 | "require-dev": { 1386 | "cache/integration-tests": "dev-master", 1387 | "doctrine/cache": "~1.6", 1388 | "doctrine/dbal": "~2.5", 1389 | "predis/predis": "~1.1", 1390 | "symfony/config": "~4.2", 1391 | "symfony/dependency-injection": "~3.4|~4.1", 1392 | "symfony/var-dumper": "^4.1.1" 1393 | }, 1394 | "type": "library", 1395 | "extra": { 1396 | "branch-alias": { 1397 | "dev-master": "4.2-dev" 1398 | } 1399 | }, 1400 | "autoload": { 1401 | "psr-4": { 1402 | "Symfony\\Component\\Cache\\": "" 1403 | }, 1404 | "exclude-from-classmap": [ 1405 | "/Tests/" 1406 | ] 1407 | }, 1408 | "notification-url": "https://packagist.org/downloads/", 1409 | "license": [ 1410 | "MIT" 1411 | ], 1412 | "authors": [ 1413 | { 1414 | "name": "Nicolas Grekas", 1415 | "email": "p@tchwork.com" 1416 | }, 1417 | { 1418 | "name": "Symfony Community", 1419 | "homepage": "https://symfony.com/contributors" 1420 | } 1421 | ], 1422 | "description": "Symfony Cache component with PSR-6, PSR-16, and tags", 1423 | "homepage": "https://symfony.com", 1424 | "keywords": [ 1425 | "caching", 1426 | "psr6" 1427 | ], 1428 | "time": "2019-06-28T08:22:31+00:00" 1429 | }, 1430 | { 1431 | "name": "symfony/config", 1432 | "version": "v4.2.11", 1433 | "source": { 1434 | "type": "git", 1435 | "url": "https://github.com/symfony/config.git", 1436 | "reference": "637588756df1fb1c801833aead54a7153967c0cb" 1437 | }, 1438 | "dist": { 1439 | "type": "zip", 1440 | "url": "https://api.github.com/repos/symfony/config/zipball/637588756df1fb1c801833aead54a7153967c0cb", 1441 | "reference": "637588756df1fb1c801833aead54a7153967c0cb", 1442 | "shasum": "" 1443 | }, 1444 | "require": { 1445 | "php": "^7.1.3", 1446 | "symfony/filesystem": "~3.4|~4.0", 1447 | "symfony/polyfill-ctype": "~1.8" 1448 | }, 1449 | "conflict": { 1450 | "symfony/finder": "<3.4" 1451 | }, 1452 | "require-dev": { 1453 | "symfony/dependency-injection": "~3.4|~4.0", 1454 | "symfony/event-dispatcher": "~3.4|~4.0", 1455 | "symfony/finder": "~3.4|~4.0", 1456 | "symfony/messenger": "~4.1", 1457 | "symfony/yaml": "~3.4|~4.0" 1458 | }, 1459 | "suggest": { 1460 | "symfony/yaml": "To use the yaml reference dumper" 1461 | }, 1462 | "type": "library", 1463 | "extra": { 1464 | "branch-alias": { 1465 | "dev-master": "4.2-dev" 1466 | } 1467 | }, 1468 | "autoload": { 1469 | "psr-4": { 1470 | "Symfony\\Component\\Config\\": "" 1471 | }, 1472 | "exclude-from-classmap": [ 1473 | "/Tests/" 1474 | ] 1475 | }, 1476 | "notification-url": "https://packagist.org/downloads/", 1477 | "license": [ 1478 | "MIT" 1479 | ], 1480 | "authors": [ 1481 | { 1482 | "name": "Fabien Potencier", 1483 | "email": "fabien@symfony.com" 1484 | }, 1485 | { 1486 | "name": "Symfony Community", 1487 | "homepage": "https://symfony.com/contributors" 1488 | } 1489 | ], 1490 | "description": "Symfony Config Component", 1491 | "homepage": "https://symfony.com", 1492 | "time": "2019-07-18T10:29:22+00:00" 1493 | }, 1494 | { 1495 | "name": "symfony/console", 1496 | "version": "v4.2.11", 1497 | "source": { 1498 | "type": "git", 1499 | "url": "https://github.com/symfony/console.git", 1500 | "reference": "fc2e274aade6567a750551942094b2145ade9b6c" 1501 | }, 1502 | "dist": { 1503 | "type": "zip", 1504 | "url": "https://api.github.com/repos/symfony/console/zipball/fc2e274aade6567a750551942094b2145ade9b6c", 1505 | "reference": "fc2e274aade6567a750551942094b2145ade9b6c", 1506 | "shasum": "" 1507 | }, 1508 | "require": { 1509 | "php": "^7.1.3", 1510 | "symfony/contracts": "^1.0", 1511 | "symfony/polyfill-mbstring": "~1.0" 1512 | }, 1513 | "conflict": { 1514 | "symfony/dependency-injection": "<3.4", 1515 | "symfony/process": "<3.3" 1516 | }, 1517 | "provide": { 1518 | "psr/log-implementation": "1.0" 1519 | }, 1520 | "require-dev": { 1521 | "psr/log": "~1.0", 1522 | "symfony/config": "~3.4|~4.0", 1523 | "symfony/dependency-injection": "~3.4|~4.0", 1524 | "symfony/event-dispatcher": "~3.4|~4.0", 1525 | "symfony/lock": "~3.4|~4.0", 1526 | "symfony/process": "~3.4|~4.0" 1527 | }, 1528 | "suggest": { 1529 | "psr/log": "For using the console logger", 1530 | "symfony/event-dispatcher": "", 1531 | "symfony/lock": "", 1532 | "symfony/process": "" 1533 | }, 1534 | "type": "library", 1535 | "extra": { 1536 | "branch-alias": { 1537 | "dev-master": "4.2-dev" 1538 | } 1539 | }, 1540 | "autoload": { 1541 | "psr-4": { 1542 | "Symfony\\Component\\Console\\": "" 1543 | }, 1544 | "exclude-from-classmap": [ 1545 | "/Tests/" 1546 | ] 1547 | }, 1548 | "notification-url": "https://packagist.org/downloads/", 1549 | "license": [ 1550 | "MIT" 1551 | ], 1552 | "authors": [ 1553 | { 1554 | "name": "Fabien Potencier", 1555 | "email": "fabien@symfony.com" 1556 | }, 1557 | { 1558 | "name": "Symfony Community", 1559 | "homepage": "https://symfony.com/contributors" 1560 | } 1561 | ], 1562 | "description": "Symfony Console Component", 1563 | "homepage": "https://symfony.com", 1564 | "time": "2019-07-24T17:13:20+00:00" 1565 | }, 1566 | { 1567 | "name": "symfony/contracts", 1568 | "version": "v1.1.5", 1569 | "source": { 1570 | "type": "git", 1571 | "url": "https://github.com/symfony/contracts.git", 1572 | "reference": "3f3f796d5f24a098a9da62828b8daa1b11494c1b" 1573 | }, 1574 | "dist": { 1575 | "type": "zip", 1576 | "url": "https://api.github.com/repos/symfony/contracts/zipball/3f3f796d5f24a098a9da62828b8daa1b11494c1b", 1577 | "reference": "3f3f796d5f24a098a9da62828b8daa1b11494c1b", 1578 | "shasum": "" 1579 | }, 1580 | "require": { 1581 | "php": "^7.1.3", 1582 | "psr/cache": "^1.0", 1583 | "psr/container": "^1.0" 1584 | }, 1585 | "replace": { 1586 | "symfony/cache-contracts": "self.version", 1587 | "symfony/event-dispatcher-contracts": "self.version", 1588 | "symfony/http-client-contracts": "self.version", 1589 | "symfony/service-contracts": "self.version", 1590 | "symfony/translation-contracts": "self.version" 1591 | }, 1592 | "require-dev": { 1593 | "symfony/polyfill-intl-idn": "^1.10" 1594 | }, 1595 | "suggest": { 1596 | "psr/event-dispatcher": "When using the EventDispatcher contracts", 1597 | "symfony/cache-implementation": "", 1598 | "symfony/event-dispatcher-implementation": "", 1599 | "symfony/http-client-implementation": "", 1600 | "symfony/service-implementation": "", 1601 | "symfony/translation-implementation": "" 1602 | }, 1603 | "type": "library", 1604 | "extra": { 1605 | "branch-alias": { 1606 | "dev-master": "1.1-dev" 1607 | } 1608 | }, 1609 | "autoload": { 1610 | "psr-4": { 1611 | "Symfony\\Contracts\\": "" 1612 | }, 1613 | "exclude-from-classmap": [ 1614 | "**/Tests/" 1615 | ] 1616 | }, 1617 | "notification-url": "https://packagist.org/downloads/", 1618 | "license": [ 1619 | "MIT" 1620 | ], 1621 | "authors": [ 1622 | { 1623 | "name": "Nicolas Grekas", 1624 | "email": "p@tchwork.com" 1625 | }, 1626 | { 1627 | "name": "Symfony Community", 1628 | "homepage": "https://symfony.com/contributors" 1629 | } 1630 | ], 1631 | "description": "A set of abstractions extracted out of the Symfony components", 1632 | "homepage": "https://symfony.com", 1633 | "keywords": [ 1634 | "abstractions", 1635 | "contracts", 1636 | "decoupling", 1637 | "interfaces", 1638 | "interoperability", 1639 | "standards" 1640 | ], 1641 | "time": "2019-06-20T06:46:26+00:00" 1642 | }, 1643 | { 1644 | "name": "symfony/debug", 1645 | "version": "v4.3.3", 1646 | "source": { 1647 | "type": "git", 1648 | "url": "https://github.com/symfony/debug.git", 1649 | "reference": "527887c3858a2462b0137662c74837288b998ee3" 1650 | }, 1651 | "dist": { 1652 | "type": "zip", 1653 | "url": "https://api.github.com/repos/symfony/debug/zipball/527887c3858a2462b0137662c74837288b998ee3", 1654 | "reference": "527887c3858a2462b0137662c74837288b998ee3", 1655 | "shasum": "" 1656 | }, 1657 | "require": { 1658 | "php": "^7.1.3", 1659 | "psr/log": "~1.0" 1660 | }, 1661 | "conflict": { 1662 | "symfony/http-kernel": "<3.4" 1663 | }, 1664 | "require-dev": { 1665 | "symfony/http-kernel": "~3.4|~4.0" 1666 | }, 1667 | "type": "library", 1668 | "extra": { 1669 | "branch-alias": { 1670 | "dev-master": "4.3-dev" 1671 | } 1672 | }, 1673 | "autoload": { 1674 | "psr-4": { 1675 | "Symfony\\Component\\Debug\\": "" 1676 | }, 1677 | "exclude-from-classmap": [ 1678 | "/Tests/" 1679 | ] 1680 | }, 1681 | "notification-url": "https://packagist.org/downloads/", 1682 | "license": [ 1683 | "MIT" 1684 | ], 1685 | "authors": [ 1686 | { 1687 | "name": "Fabien Potencier", 1688 | "email": "fabien@symfony.com" 1689 | }, 1690 | { 1691 | "name": "Symfony Community", 1692 | "homepage": "https://symfony.com/contributors" 1693 | } 1694 | ], 1695 | "description": "Symfony Debug Component", 1696 | "homepage": "https://symfony.com", 1697 | "time": "2019-07-23T11:21:36+00:00" 1698 | }, 1699 | { 1700 | "name": "symfony/dependency-injection", 1701 | "version": "v4.2.11", 1702 | "source": { 1703 | "type": "git", 1704 | "url": "https://github.com/symfony/dependency-injection.git", 1705 | "reference": "39fe71bc481483f255e388a658c8f1104fec037e" 1706 | }, 1707 | "dist": { 1708 | "type": "zip", 1709 | "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/39fe71bc481483f255e388a658c8f1104fec037e", 1710 | "reference": "39fe71bc481483f255e388a658c8f1104fec037e", 1711 | "shasum": "" 1712 | }, 1713 | "require": { 1714 | "php": "^7.1.3", 1715 | "psr/container": "^1.0", 1716 | "symfony/contracts": "^1.1.1" 1717 | }, 1718 | "conflict": { 1719 | "symfony/config": "<4.2", 1720 | "symfony/finder": "<3.4", 1721 | "symfony/proxy-manager-bridge": "<3.4", 1722 | "symfony/yaml": "<3.4" 1723 | }, 1724 | "provide": { 1725 | "psr/container-implementation": "1.0", 1726 | "symfony/service-implementation": "1.0" 1727 | }, 1728 | "require-dev": { 1729 | "symfony/config": "~4.2", 1730 | "symfony/expression-language": "~3.4|~4.0", 1731 | "symfony/yaml": "~3.4|~4.0" 1732 | }, 1733 | "suggest": { 1734 | "symfony/config": "", 1735 | "symfony/expression-language": "For using expressions in service container configuration", 1736 | "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", 1737 | "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", 1738 | "symfony/yaml": "" 1739 | }, 1740 | "type": "library", 1741 | "extra": { 1742 | "branch-alias": { 1743 | "dev-master": "4.2-dev" 1744 | } 1745 | }, 1746 | "autoload": { 1747 | "psr-4": { 1748 | "Symfony\\Component\\DependencyInjection\\": "" 1749 | }, 1750 | "exclude-from-classmap": [ 1751 | "/Tests/" 1752 | ] 1753 | }, 1754 | "notification-url": "https://packagist.org/downloads/", 1755 | "license": [ 1756 | "MIT" 1757 | ], 1758 | "authors": [ 1759 | { 1760 | "name": "Fabien Potencier", 1761 | "email": "fabien@symfony.com" 1762 | }, 1763 | { 1764 | "name": "Symfony Community", 1765 | "homepage": "https://symfony.com/contributors" 1766 | } 1767 | ], 1768 | "description": "Symfony DependencyInjection Component", 1769 | "homepage": "https://symfony.com", 1770 | "time": "2019-07-19T12:05:51+00:00" 1771 | }, 1772 | { 1773 | "name": "symfony/dotenv", 1774 | "version": "v4.2.11", 1775 | "source": { 1776 | "type": "git", 1777 | "url": "https://github.com/symfony/dotenv.git", 1778 | "reference": "6163f061011009655da1bc615b38941bc460ef1b" 1779 | }, 1780 | "dist": { 1781 | "type": "zip", 1782 | "url": "https://api.github.com/repos/symfony/dotenv/zipball/6163f061011009655da1bc615b38941bc460ef1b", 1783 | "reference": "6163f061011009655da1bc615b38941bc460ef1b", 1784 | "shasum": "" 1785 | }, 1786 | "require": { 1787 | "php": "^7.1.3" 1788 | }, 1789 | "require-dev": { 1790 | "symfony/process": "~3.4|~4.0" 1791 | }, 1792 | "type": "library", 1793 | "extra": { 1794 | "branch-alias": { 1795 | "dev-master": "4.2-dev" 1796 | } 1797 | }, 1798 | "autoload": { 1799 | "psr-4": { 1800 | "Symfony\\Component\\Dotenv\\": "" 1801 | }, 1802 | "exclude-from-classmap": [ 1803 | "/Tests/" 1804 | ] 1805 | }, 1806 | "notification-url": "https://packagist.org/downloads/", 1807 | "license": [ 1808 | "MIT" 1809 | ], 1810 | "authors": [ 1811 | { 1812 | "name": "Fabien Potencier", 1813 | "email": "fabien@symfony.com" 1814 | }, 1815 | { 1816 | "name": "Symfony Community", 1817 | "homepage": "https://symfony.com/contributors" 1818 | } 1819 | ], 1820 | "description": "Registers environment variables from a .env file", 1821 | "homepage": "https://symfony.com", 1822 | "keywords": [ 1823 | "dotenv", 1824 | "env", 1825 | "environment" 1826 | ], 1827 | "time": "2019-06-26T06:46:55+00:00" 1828 | }, 1829 | { 1830 | "name": "symfony/event-dispatcher", 1831 | "version": "v4.2.11", 1832 | "source": { 1833 | "type": "git", 1834 | "url": "https://github.com/symfony/event-dispatcher.git", 1835 | "reference": "852548c7c704f14d2f6700c8d872a05bd2028732" 1836 | }, 1837 | "dist": { 1838 | "type": "zip", 1839 | "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/852548c7c704f14d2f6700c8d872a05bd2028732", 1840 | "reference": "852548c7c704f14d2f6700c8d872a05bd2028732", 1841 | "shasum": "" 1842 | }, 1843 | "require": { 1844 | "php": "^7.1.3", 1845 | "symfony/contracts": "^1.0" 1846 | }, 1847 | "conflict": { 1848 | "symfony/dependency-injection": "<3.4" 1849 | }, 1850 | "require-dev": { 1851 | "psr/log": "~1.0", 1852 | "symfony/config": "~3.4|~4.0", 1853 | "symfony/dependency-injection": "~3.4|~4.0", 1854 | "symfony/expression-language": "~3.4|~4.0", 1855 | "symfony/stopwatch": "~3.4|~4.0" 1856 | }, 1857 | "suggest": { 1858 | "symfony/dependency-injection": "", 1859 | "symfony/http-kernel": "" 1860 | }, 1861 | "type": "library", 1862 | "extra": { 1863 | "branch-alias": { 1864 | "dev-master": "4.2-dev" 1865 | } 1866 | }, 1867 | "autoload": { 1868 | "psr-4": { 1869 | "Symfony\\Component\\EventDispatcher\\": "" 1870 | }, 1871 | "exclude-from-classmap": [ 1872 | "/Tests/" 1873 | ] 1874 | }, 1875 | "notification-url": "https://packagist.org/downloads/", 1876 | "license": [ 1877 | "MIT" 1878 | ], 1879 | "authors": [ 1880 | { 1881 | "name": "Fabien Potencier", 1882 | "email": "fabien@symfony.com" 1883 | }, 1884 | { 1885 | "name": "Symfony Community", 1886 | "homepage": "https://symfony.com/contributors" 1887 | } 1888 | ], 1889 | "description": "Symfony EventDispatcher Component", 1890 | "homepage": "https://symfony.com", 1891 | "time": "2019-06-26T06:46:55+00:00" 1892 | }, 1893 | { 1894 | "name": "symfony/filesystem", 1895 | "version": "v4.2.11", 1896 | "source": { 1897 | "type": "git", 1898 | "url": "https://github.com/symfony/filesystem.git", 1899 | "reference": "1bd7aed2932cedd1c2c6cc925831dd8d57ea14bf" 1900 | }, 1901 | "dist": { 1902 | "type": "zip", 1903 | "url": "https://api.github.com/repos/symfony/filesystem/zipball/1bd7aed2932cedd1c2c6cc925831dd8d57ea14bf", 1904 | "reference": "1bd7aed2932cedd1c2c6cc925831dd8d57ea14bf", 1905 | "shasum": "" 1906 | }, 1907 | "require": { 1908 | "php": "^7.1.3", 1909 | "symfony/polyfill-ctype": "~1.8" 1910 | }, 1911 | "type": "library", 1912 | "extra": { 1913 | "branch-alias": { 1914 | "dev-master": "4.2-dev" 1915 | } 1916 | }, 1917 | "autoload": { 1918 | "psr-4": { 1919 | "Symfony\\Component\\Filesystem\\": "" 1920 | }, 1921 | "exclude-from-classmap": [ 1922 | "/Tests/" 1923 | ] 1924 | }, 1925 | "notification-url": "https://packagist.org/downloads/", 1926 | "license": [ 1927 | "MIT" 1928 | ], 1929 | "authors": [ 1930 | { 1931 | "name": "Fabien Potencier", 1932 | "email": "fabien@symfony.com" 1933 | }, 1934 | { 1935 | "name": "Symfony Community", 1936 | "homepage": "https://symfony.com/contributors" 1937 | } 1938 | ], 1939 | "description": "Symfony Filesystem Component", 1940 | "homepage": "https://symfony.com", 1941 | "time": "2019-06-26T06:46:55+00:00" 1942 | }, 1943 | { 1944 | "name": "symfony/finder", 1945 | "version": "v4.2.11", 1946 | "source": { 1947 | "type": "git", 1948 | "url": "https://github.com/symfony/finder.git", 1949 | "reference": "cecff7164790b0cd72be2ed20e9591d7140715e0" 1950 | }, 1951 | "dist": { 1952 | "type": "zip", 1953 | "url": "https://api.github.com/repos/symfony/finder/zipball/cecff7164790b0cd72be2ed20e9591d7140715e0", 1954 | "reference": "cecff7164790b0cd72be2ed20e9591d7140715e0", 1955 | "shasum": "" 1956 | }, 1957 | "require": { 1958 | "php": "^7.1.3" 1959 | }, 1960 | "type": "library", 1961 | "extra": { 1962 | "branch-alias": { 1963 | "dev-master": "4.2-dev" 1964 | } 1965 | }, 1966 | "autoload": { 1967 | "psr-4": { 1968 | "Symfony\\Component\\Finder\\": "" 1969 | }, 1970 | "exclude-from-classmap": [ 1971 | "/Tests/" 1972 | ] 1973 | }, 1974 | "notification-url": "https://packagist.org/downloads/", 1975 | "license": [ 1976 | "MIT" 1977 | ], 1978 | "authors": [ 1979 | { 1980 | "name": "Fabien Potencier", 1981 | "email": "fabien@symfony.com" 1982 | }, 1983 | { 1984 | "name": "Symfony Community", 1985 | "homepage": "https://symfony.com/contributors" 1986 | } 1987 | ], 1988 | "description": "Symfony Finder Component", 1989 | "homepage": "https://symfony.com", 1990 | "time": "2019-06-28T12:55:49+00:00" 1991 | }, 1992 | { 1993 | "name": "symfony/flex", 1994 | "version": "v1.4.5", 1995 | "source": { 1996 | "type": "git", 1997 | "url": "https://github.com/symfony/flex.git", 1998 | "reference": "4467ab35c82edebac58fe58c22cea166a805eb1f" 1999 | }, 2000 | "dist": { 2001 | "type": "zip", 2002 | "url": "https://api.github.com/repos/symfony/flex/zipball/4467ab35c82edebac58fe58c22cea166a805eb1f", 2003 | "reference": "4467ab35c82edebac58fe58c22cea166a805eb1f", 2004 | "shasum": "" 2005 | }, 2006 | "require": { 2007 | "composer-plugin-api": "^1.0", 2008 | "php": "^7.0" 2009 | }, 2010 | "require-dev": { 2011 | "composer/composer": "^1.0.2", 2012 | "symfony/dotenv": "^3.4|^4.0", 2013 | "symfony/phpunit-bridge": "^3.4.19|^4.1.8", 2014 | "symfony/process": "^2.7|^3.0|^4.0" 2015 | }, 2016 | "type": "composer-plugin", 2017 | "extra": { 2018 | "branch-alias": { 2019 | "dev-master": "1.4-dev" 2020 | }, 2021 | "class": "Symfony\\Flex\\Flex" 2022 | }, 2023 | "autoload": { 2024 | "psr-4": { 2025 | "Symfony\\Flex\\": "src" 2026 | } 2027 | }, 2028 | "notification-url": "https://packagist.org/downloads/", 2029 | "license": [ 2030 | "MIT" 2031 | ], 2032 | "authors": [ 2033 | { 2034 | "name": "Fabien Potencier", 2035 | "email": "fabien.potencier@gmail.com" 2036 | } 2037 | ], 2038 | "description": "Composer plugin for Symfony", 2039 | "time": "2019-07-19T08:59:18+00:00" 2040 | }, 2041 | { 2042 | "name": "symfony/framework-bundle", 2043 | "version": "v4.2.11", 2044 | "source": { 2045 | "type": "git", 2046 | "url": "https://github.com/symfony/framework-bundle.git", 2047 | "reference": "ac12bd9f104bb2dc319b09426e767ecfa95688da" 2048 | }, 2049 | "dist": { 2050 | "type": "zip", 2051 | "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/ac12bd9f104bb2dc319b09426e767ecfa95688da", 2052 | "reference": "ac12bd9f104bb2dc319b09426e767ecfa95688da", 2053 | "shasum": "" 2054 | }, 2055 | "require": { 2056 | "ext-xml": "*", 2057 | "php": "^7.1.3", 2058 | "symfony/cache": "~4.2", 2059 | "symfony/config": "~4.2", 2060 | "symfony/contracts": "^1.0.2", 2061 | "symfony/debug": "~4.0", 2062 | "symfony/dependency-injection": "^4.2.5", 2063 | "symfony/event-dispatcher": "^4.1", 2064 | "symfony/filesystem": "~3.4|~4.0", 2065 | "symfony/finder": "~3.4|~4.0", 2066 | "symfony/http-foundation": "^4.2.5", 2067 | "symfony/http-kernel": "^4.2", 2068 | "symfony/polyfill-mbstring": "~1.0", 2069 | "symfony/routing": "^4.2.8" 2070 | }, 2071 | "conflict": { 2072 | "phpdocumentor/reflection-docblock": "<3.0", 2073 | "phpdocumentor/type-resolver": "<0.2.1", 2074 | "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", 2075 | "symfony/asset": "<3.4", 2076 | "symfony/console": "<3.4", 2077 | "symfony/dotenv": "<4.2", 2078 | "symfony/form": "<4.2", 2079 | "symfony/messenger": "<4.2", 2080 | "symfony/property-info": "<3.4", 2081 | "symfony/serializer": "<4.2", 2082 | "symfony/stopwatch": "<3.4", 2083 | "symfony/translation": "<4.2", 2084 | "symfony/twig-bridge": "<4.1.1", 2085 | "symfony/validator": "<4.1", 2086 | "symfony/workflow": "<4.1" 2087 | }, 2088 | "require-dev": { 2089 | "doctrine/annotations": "~1.0", 2090 | "doctrine/cache": "~1.0", 2091 | "fig/link-util": "^1.0", 2092 | "phpdocumentor/reflection-docblock": "^3.0|^4.0", 2093 | "symfony/asset": "~3.4|~4.0", 2094 | "symfony/browser-kit": "~3.4|~4.0", 2095 | "symfony/console": "~3.4|~4.0", 2096 | "symfony/css-selector": "~3.4|~4.0", 2097 | "symfony/dom-crawler": "~3.4|~4.0", 2098 | "symfony/expression-language": "~3.4|~4.0", 2099 | "symfony/form": "^4.2.3", 2100 | "symfony/lock": "~3.4|~4.0", 2101 | "symfony/messenger": "^4.2", 2102 | "symfony/polyfill-intl-icu": "~1.0", 2103 | "symfony/process": "~3.4|~4.0", 2104 | "symfony/property-info": "~3.4|~4.0", 2105 | "symfony/security": "~3.4|~4.0", 2106 | "symfony/security-core": "~3.4|~4.0", 2107 | "symfony/security-csrf": "~3.4|~4.0", 2108 | "symfony/serializer": "^4.2", 2109 | "symfony/stopwatch": "~3.4|~4.0", 2110 | "symfony/templating": "~3.4|~4.0", 2111 | "symfony/translation": "~4.2", 2112 | "symfony/validator": "^4.1", 2113 | "symfony/var-dumper": "~3.4|~4.0", 2114 | "symfony/web-link": "~3.4|~4.0", 2115 | "symfony/workflow": "^4.1", 2116 | "symfony/yaml": "~3.4|~4.0", 2117 | "twig/twig": "~1.34|~2.4" 2118 | }, 2119 | "suggest": { 2120 | "ext-apcu": "For best performance of the system caches", 2121 | "symfony/console": "For using the console commands", 2122 | "symfony/form": "For using forms", 2123 | "symfony/property-info": "For using the property_info service", 2124 | "symfony/serializer": "For using the serializer service", 2125 | "symfony/validator": "For using validation", 2126 | "symfony/web-link": "For using web links, features such as preloading, prefetching or prerendering", 2127 | "symfony/yaml": "For using the debug:config and lint:yaml commands" 2128 | }, 2129 | "type": "symfony-bundle", 2130 | "extra": { 2131 | "branch-alias": { 2132 | "dev-master": "4.2-dev" 2133 | } 2134 | }, 2135 | "autoload": { 2136 | "psr-4": { 2137 | "Symfony\\Bundle\\FrameworkBundle\\": "" 2138 | }, 2139 | "exclude-from-classmap": [ 2140 | "/Tests/" 2141 | ] 2142 | }, 2143 | "notification-url": "https://packagist.org/downloads/", 2144 | "license": [ 2145 | "MIT" 2146 | ], 2147 | "authors": [ 2148 | { 2149 | "name": "Fabien Potencier", 2150 | "email": "fabien@symfony.com" 2151 | }, 2152 | { 2153 | "name": "Symfony Community", 2154 | "homepage": "https://symfony.com/contributors" 2155 | } 2156 | ], 2157 | "description": "Symfony FrameworkBundle", 2158 | "homepage": "https://symfony.com", 2159 | "time": "2019-07-24T17:13:20+00:00" 2160 | }, 2161 | { 2162 | "name": "symfony/http-foundation", 2163 | "version": "v4.2.11", 2164 | "source": { 2165 | "type": "git", 2166 | "url": "https://github.com/symfony/http-foundation.git", 2167 | "reference": "3f9f40ff0fc507b9994f182c5598e632d0bdaf3c" 2168 | }, 2169 | "dist": { 2170 | "type": "zip", 2171 | "url": "https://api.github.com/repos/symfony/http-foundation/zipball/3f9f40ff0fc507b9994f182c5598e632d0bdaf3c", 2172 | "reference": "3f9f40ff0fc507b9994f182c5598e632d0bdaf3c", 2173 | "shasum": "" 2174 | }, 2175 | "require": { 2176 | "php": "^7.1.3", 2177 | "symfony/polyfill-mbstring": "~1.1" 2178 | }, 2179 | "require-dev": { 2180 | "predis/predis": "~1.0", 2181 | "symfony/expression-language": "~3.4|~4.0" 2182 | }, 2183 | "type": "library", 2184 | "extra": { 2185 | "branch-alias": { 2186 | "dev-master": "4.2-dev" 2187 | } 2188 | }, 2189 | "autoload": { 2190 | "psr-4": { 2191 | "Symfony\\Component\\HttpFoundation\\": "" 2192 | }, 2193 | "exclude-from-classmap": [ 2194 | "/Tests/" 2195 | ] 2196 | }, 2197 | "notification-url": "https://packagist.org/downloads/", 2198 | "license": [ 2199 | "MIT" 2200 | ], 2201 | "authors": [ 2202 | { 2203 | "name": "Fabien Potencier", 2204 | "email": "fabien@symfony.com" 2205 | }, 2206 | { 2207 | "name": "Symfony Community", 2208 | "homepage": "https://symfony.com/contributors" 2209 | } 2210 | ], 2211 | "description": "Symfony HttpFoundation Component", 2212 | "homepage": "https://symfony.com", 2213 | "time": "2019-07-23T09:50:15+00:00" 2214 | }, 2215 | { 2216 | "name": "symfony/http-kernel", 2217 | "version": "v4.2.11", 2218 | "source": { 2219 | "type": "git", 2220 | "url": "https://github.com/symfony/http-kernel.git", 2221 | "reference": "4315ef021fa1daf271eabc4ec0b6644dcbdbba7b" 2222 | }, 2223 | "dist": { 2224 | "type": "zip", 2225 | "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4315ef021fa1daf271eabc4ec0b6644dcbdbba7b", 2226 | "reference": "4315ef021fa1daf271eabc4ec0b6644dcbdbba7b", 2227 | "shasum": "" 2228 | }, 2229 | "require": { 2230 | "php": "^7.1.3", 2231 | "psr/log": "~1.0", 2232 | "symfony/contracts": "^1.0.2", 2233 | "symfony/debug": "~3.4|~4.0", 2234 | "symfony/event-dispatcher": "~4.1", 2235 | "symfony/http-foundation": "^4.1.1", 2236 | "symfony/polyfill-ctype": "~1.8" 2237 | }, 2238 | "conflict": { 2239 | "symfony/config": "<3.4", 2240 | "symfony/dependency-injection": "<4.2", 2241 | "symfony/translation": "<4.2", 2242 | "symfony/var-dumper": "<4.1.1", 2243 | "twig/twig": "<1.34|<2.4,>=2" 2244 | }, 2245 | "provide": { 2246 | "psr/log-implementation": "1.0" 2247 | }, 2248 | "require-dev": { 2249 | "psr/cache": "~1.0", 2250 | "symfony/browser-kit": "~3.4|~4.0", 2251 | "symfony/config": "~3.4|~4.0", 2252 | "symfony/console": "~3.4|~4.0", 2253 | "symfony/css-selector": "~3.4|~4.0", 2254 | "symfony/dependency-injection": "^4.2", 2255 | "symfony/dom-crawler": "~3.4|~4.0", 2256 | "symfony/expression-language": "~3.4|~4.0", 2257 | "symfony/finder": "~3.4|~4.0", 2258 | "symfony/process": "~3.4|~4.0", 2259 | "symfony/routing": "~3.4|~4.0", 2260 | "symfony/stopwatch": "~3.4|~4.0", 2261 | "symfony/templating": "~3.4|~4.0", 2262 | "symfony/translation": "~4.2", 2263 | "symfony/var-dumper": "^4.1.1" 2264 | }, 2265 | "suggest": { 2266 | "symfony/browser-kit": "", 2267 | "symfony/config": "", 2268 | "symfony/console": "", 2269 | "symfony/dependency-injection": "", 2270 | "symfony/var-dumper": "" 2271 | }, 2272 | "type": "library", 2273 | "extra": { 2274 | "branch-alias": { 2275 | "dev-master": "4.2-dev" 2276 | } 2277 | }, 2278 | "autoload": { 2279 | "psr-4": { 2280 | "Symfony\\Component\\HttpKernel\\": "" 2281 | }, 2282 | "exclude-from-classmap": [ 2283 | "/Tests/" 2284 | ] 2285 | }, 2286 | "notification-url": "https://packagist.org/downloads/", 2287 | "license": [ 2288 | "MIT" 2289 | ], 2290 | "authors": [ 2291 | { 2292 | "name": "Fabien Potencier", 2293 | "email": "fabien@symfony.com" 2294 | }, 2295 | { 2296 | "name": "Symfony Community", 2297 | "homepage": "https://symfony.com/contributors" 2298 | } 2299 | ], 2300 | "description": "Symfony HttpKernel Component", 2301 | "homepage": "https://symfony.com", 2302 | "time": "2019-07-28T07:05:06+00:00" 2303 | }, 2304 | { 2305 | "name": "symfony/polyfill-mbstring", 2306 | "version": "v1.12.0", 2307 | "source": { 2308 | "type": "git", 2309 | "url": "https://github.com/symfony/polyfill-mbstring.git", 2310 | "reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17" 2311 | }, 2312 | "dist": { 2313 | "type": "zip", 2314 | "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b42a2f66e8f1b15ccf25652c3424265923eb4f17", 2315 | "reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17", 2316 | "shasum": "" 2317 | }, 2318 | "require": { 2319 | "php": ">=5.3.3" 2320 | }, 2321 | "suggest": { 2322 | "ext-mbstring": "For best performance" 2323 | }, 2324 | "type": "library", 2325 | "extra": { 2326 | "branch-alias": { 2327 | "dev-master": "1.12-dev" 2328 | } 2329 | }, 2330 | "autoload": { 2331 | "psr-4": { 2332 | "Symfony\\Polyfill\\Mbstring\\": "" 2333 | }, 2334 | "files": [ 2335 | "bootstrap.php" 2336 | ] 2337 | }, 2338 | "notification-url": "https://packagist.org/downloads/", 2339 | "license": [ 2340 | "MIT" 2341 | ], 2342 | "authors": [ 2343 | { 2344 | "name": "Nicolas Grekas", 2345 | "email": "p@tchwork.com" 2346 | }, 2347 | { 2348 | "name": "Symfony Community", 2349 | "homepage": "https://symfony.com/contributors" 2350 | } 2351 | ], 2352 | "description": "Symfony polyfill for the Mbstring extension", 2353 | "homepage": "https://symfony.com", 2354 | "keywords": [ 2355 | "compatibility", 2356 | "mbstring", 2357 | "polyfill", 2358 | "portable", 2359 | "shim" 2360 | ], 2361 | "time": "2019-08-06T08:03:45+00:00" 2362 | }, 2363 | { 2364 | "name": "symfony/routing", 2365 | "version": "v4.2.11", 2366 | "source": { 2367 | "type": "git", 2368 | "url": "https://github.com/symfony/routing.git", 2369 | "reference": "1174ae15f862a0f2d481c29ba172a70b208c9561" 2370 | }, 2371 | "dist": { 2372 | "type": "zip", 2373 | "url": "https://api.github.com/repos/symfony/routing/zipball/1174ae15f862a0f2d481c29ba172a70b208c9561", 2374 | "reference": "1174ae15f862a0f2d481c29ba172a70b208c9561", 2375 | "shasum": "" 2376 | }, 2377 | "require": { 2378 | "php": "^7.1.3" 2379 | }, 2380 | "conflict": { 2381 | "symfony/config": "<4.2", 2382 | "symfony/dependency-injection": "<3.4", 2383 | "symfony/yaml": "<3.4" 2384 | }, 2385 | "require-dev": { 2386 | "doctrine/annotations": "~1.0", 2387 | "psr/log": "~1.0", 2388 | "symfony/config": "~4.2", 2389 | "symfony/dependency-injection": "~3.4|~4.0", 2390 | "symfony/expression-language": "~3.4|~4.0", 2391 | "symfony/http-foundation": "~3.4|~4.0", 2392 | "symfony/yaml": "~3.4|~4.0" 2393 | }, 2394 | "suggest": { 2395 | "doctrine/annotations": "For using the annotation loader", 2396 | "symfony/config": "For using the all-in-one router or any loader", 2397 | "symfony/expression-language": "For using expression matching", 2398 | "symfony/http-foundation": "For using a Symfony Request object", 2399 | "symfony/yaml": "For using the YAML loader" 2400 | }, 2401 | "type": "library", 2402 | "extra": { 2403 | "branch-alias": { 2404 | "dev-master": "4.2-dev" 2405 | } 2406 | }, 2407 | "autoload": { 2408 | "psr-4": { 2409 | "Symfony\\Component\\Routing\\": "" 2410 | }, 2411 | "exclude-from-classmap": [ 2412 | "/Tests/" 2413 | ] 2414 | }, 2415 | "notification-url": "https://packagist.org/downloads/", 2416 | "license": [ 2417 | "MIT" 2418 | ], 2419 | "authors": [ 2420 | { 2421 | "name": "Fabien Potencier", 2422 | "email": "fabien@symfony.com" 2423 | }, 2424 | { 2425 | "name": "Symfony Community", 2426 | "homepage": "https://symfony.com/contributors" 2427 | } 2428 | ], 2429 | "description": "Symfony Routing Component", 2430 | "homepage": "https://symfony.com", 2431 | "keywords": [ 2432 | "router", 2433 | "routing", 2434 | "uri", 2435 | "url" 2436 | ], 2437 | "time": "2019-06-26T13:53:23+00:00" 2438 | }, 2439 | { 2440 | "name": "symfony/var-exporter", 2441 | "version": "v4.2.11", 2442 | "source": { 2443 | "type": "git", 2444 | "url": "https://github.com/symfony/var-exporter.git", 2445 | "reference": "8539c2cec7202d244058075351c61aa852ffa344" 2446 | }, 2447 | "dist": { 2448 | "type": "zip", 2449 | "url": "https://api.github.com/repos/symfony/var-exporter/zipball/8539c2cec7202d244058075351c61aa852ffa344", 2450 | "reference": "8539c2cec7202d244058075351c61aa852ffa344", 2451 | "shasum": "" 2452 | }, 2453 | "require": { 2454 | "php": "^7.1.3" 2455 | }, 2456 | "require-dev": { 2457 | "symfony/var-dumper": "^4.1.1" 2458 | }, 2459 | "type": "library", 2460 | "extra": { 2461 | "branch-alias": { 2462 | "dev-master": "4.2-dev" 2463 | } 2464 | }, 2465 | "autoload": { 2466 | "psr-4": { 2467 | "Symfony\\Component\\VarExporter\\": "" 2468 | }, 2469 | "exclude-from-classmap": [ 2470 | "/Tests/" 2471 | ] 2472 | }, 2473 | "notification-url": "https://packagist.org/downloads/", 2474 | "license": [ 2475 | "MIT" 2476 | ], 2477 | "authors": [ 2478 | { 2479 | "name": "Nicolas Grekas", 2480 | "email": "p@tchwork.com" 2481 | }, 2482 | { 2483 | "name": "Symfony Community", 2484 | "homepage": "https://symfony.com/contributors" 2485 | } 2486 | ], 2487 | "description": "A blend of var_export() + serialize() to turn any serializable data structure to plain PHP code", 2488 | "homepage": "https://symfony.com", 2489 | "keywords": [ 2490 | "clone", 2491 | "construct", 2492 | "export", 2493 | "hydrate", 2494 | "instantiate", 2495 | "serialize" 2496 | ], 2497 | "time": "2019-06-22T08:17:17+00:00" 2498 | }, 2499 | { 2500 | "name": "symfony/yaml", 2501 | "version": "v4.2.11", 2502 | "source": { 2503 | "type": "git", 2504 | "url": "https://github.com/symfony/yaml.git", 2505 | "reference": "9468fef6f1c740b96935e9578560a9e9189ca154" 2506 | }, 2507 | "dist": { 2508 | "type": "zip", 2509 | "url": "https://api.github.com/repos/symfony/yaml/zipball/9468fef6f1c740b96935e9578560a9e9189ca154", 2510 | "reference": "9468fef6f1c740b96935e9578560a9e9189ca154", 2511 | "shasum": "" 2512 | }, 2513 | "require": { 2514 | "php": "^7.1.3", 2515 | "symfony/polyfill-ctype": "~1.8" 2516 | }, 2517 | "conflict": { 2518 | "symfony/console": "<3.4" 2519 | }, 2520 | "require-dev": { 2521 | "symfony/console": "~3.4|~4.0" 2522 | }, 2523 | "suggest": { 2524 | "symfony/console": "For validating YAML files using the lint command" 2525 | }, 2526 | "type": "library", 2527 | "extra": { 2528 | "branch-alias": { 2529 | "dev-master": "4.2-dev" 2530 | } 2531 | }, 2532 | "autoload": { 2533 | "psr-4": { 2534 | "Symfony\\Component\\Yaml\\": "" 2535 | }, 2536 | "exclude-from-classmap": [ 2537 | "/Tests/" 2538 | ] 2539 | }, 2540 | "notification-url": "https://packagist.org/downloads/", 2541 | "license": [ 2542 | "MIT" 2543 | ], 2544 | "authors": [ 2545 | { 2546 | "name": "Fabien Potencier", 2547 | "email": "fabien@symfony.com" 2548 | }, 2549 | { 2550 | "name": "Symfony Community", 2551 | "homepage": "https://symfony.com/contributors" 2552 | } 2553 | ], 2554 | "description": "Symfony Yaml Component", 2555 | "homepage": "https://symfony.com", 2556 | "time": "2019-07-24T14:47:26+00:00" 2557 | }, 2558 | { 2559 | "name": "tivie/php-os-detector", 2560 | "version": "1.1.0", 2561 | "source": { 2562 | "type": "git", 2563 | "url": "https://github.com/tivie/php-os-detector.git", 2564 | "reference": "9461dcd85c00e03842264f2fc8ccdc8d46867321" 2565 | }, 2566 | "dist": { 2567 | "type": "zip", 2568 | "url": "https://api.github.com/repos/tivie/php-os-detector/zipball/9461dcd85c00e03842264f2fc8ccdc8d46867321", 2569 | "reference": "9461dcd85c00e03842264f2fc8ccdc8d46867321", 2570 | "shasum": "" 2571 | }, 2572 | "require": { 2573 | "php": ">=5.3.0" 2574 | }, 2575 | "require-dev": { 2576 | "phpunit/phpunit": "4.3.*" 2577 | }, 2578 | "type": "library", 2579 | "autoload": { 2580 | "psr-4": { 2581 | "Tivie\\OS\\": "src/" 2582 | } 2583 | }, 2584 | "notification-url": "https://packagist.org/downloads/", 2585 | "license": [ 2586 | "APACHE 2.0" 2587 | ], 2588 | "authors": [ 2589 | { 2590 | "name": "Estevão Soares dos Santos", 2591 | "email": "estevao@soares-dos-santos.com" 2592 | } 2593 | ], 2594 | "description": "A small utility library that detects the OS the server is running on", 2595 | "homepage": "http://tivie.github.com/php-os-detector/", 2596 | "keywords": [ 2597 | "detection", 2598 | "detector", 2599 | "identification", 2600 | "operating system", 2601 | "os", 2602 | "os detection" 2603 | ], 2604 | "time": "2017-10-21T03:33:59+00:00" 2605 | }, 2606 | { 2607 | "name": "wyrihaximus/cpu-core-detector", 2608 | "version": "1.0.2", 2609 | "source": { 2610 | "type": "git", 2611 | "url": "https://github.com/WyriHaximus/php-cpu-core-detector.git", 2612 | "reference": "fff4194540a8111c298e5e707bcfc778c4c9ddbb" 2613 | }, 2614 | "dist": { 2615 | "type": "zip", 2616 | "url": "https://api.github.com/repos/WyriHaximus/php-cpu-core-detector/zipball/fff4194540a8111c298e5e707bcfc778c4c9ddbb", 2617 | "reference": "fff4194540a8111c298e5e707bcfc778c4c9ddbb", 2618 | "shasum": "" 2619 | }, 2620 | "require": { 2621 | "php": "^5.4||^7.0", 2622 | "react/child-process": "^0.6 || ^0.5 || ^0.4", 2623 | "react/socket": "^1.2", 2624 | "tivie/php-os-detector": "^1.1", 2625 | "wyrihaximus/file-descriptors": "^1.0 || ^0.1", 2626 | "wyrihaximus/react-child-process-promise": "^2.0.2", 2627 | "wyrihaximus/ticking-promise": "^1.5" 2628 | }, 2629 | "require-dev": { 2630 | "phake/phake": "~1.0.6", 2631 | "phpunit/phpunit": "^4.0||^5.0", 2632 | "squizlabs/php_codesniffer": "^1.5.6", 2633 | "vectorface/dunit": "~2.0" 2634 | }, 2635 | "type": "library", 2636 | "autoload": { 2637 | "psr-4": { 2638 | "WyriHaximus\\CpuCoreDetector\\": "src/" 2639 | }, 2640 | "files": [ 2641 | "src/functions_include.php" 2642 | ] 2643 | }, 2644 | "notification-url": "https://packagist.org/downloads/", 2645 | "license": [ 2646 | "MIT" 2647 | ], 2648 | "authors": [ 2649 | { 2650 | "name": "Cees-Jan Kiewiet", 2651 | "email": "ceesjank@gmail.com" 2652 | } 2653 | ], 2654 | "description": "Detect CPU core count and assign tasks to a specific code", 2655 | "time": "2019-01-19T21:54:34+00:00" 2656 | }, 2657 | { 2658 | "name": "wyrihaximus/file-descriptors", 2659 | "version": "1.0.0", 2660 | "source": { 2661 | "type": "git", 2662 | "url": "https://github.com/WyriHaximus/php-file-descriptors.git", 2663 | "reference": "6b3073409b94912354cc9b6bde600797940c4edf" 2664 | }, 2665 | "dist": { 2666 | "type": "zip", 2667 | "url": "https://api.github.com/repos/WyriHaximus/php-file-descriptors/zipball/6b3073409b94912354cc9b6bde600797940c4edf", 2668 | "reference": "6b3073409b94912354cc9b6bde600797940c4edf", 2669 | "shasum": "" 2670 | }, 2671 | "require": { 2672 | "php": "^7.2", 2673 | "tivie/php-os-detector": "^1.1" 2674 | }, 2675 | "require-dev": { 2676 | "api-clients/cs-fixer-config": "^1.1", 2677 | "api-clients/test-utilities": "^5.4", 2678 | "wyrihaximus/iterator-or-array-to-array": "^1.0" 2679 | }, 2680 | "type": "library", 2681 | "autoload": { 2682 | "psr-4": { 2683 | "WyriHaximus\\FileDescriptors\\": "src/" 2684 | } 2685 | }, 2686 | "notification-url": "https://packagist.org/downloads/", 2687 | "license": [ 2688 | "MIT" 2689 | ], 2690 | "authors": [ 2691 | { 2692 | "name": "Cees-Jan Kiewiet", 2693 | "email": "ceesjank@gmail.com" 2694 | } 2695 | ], 2696 | "description": "List open file descriptors for the current process cross platform", 2697 | "time": "2019-01-15T16:08:10+00:00" 2698 | }, 2699 | { 2700 | "name": "wyrihaximus/json-throwable", 2701 | "version": "2.0.0", 2702 | "source": { 2703 | "type": "git", 2704 | "url": "https://github.com/WyriHaximus/php-json-throwable.git", 2705 | "reference": "8b11703f5974492f4c4e0b313836d0aed2eef01d" 2706 | }, 2707 | "dist": { 2708 | "type": "zip", 2709 | "url": "https://api.github.com/repos/WyriHaximus/php-json-throwable/zipball/8b11703f5974492f4c4e0b313836d0aed2eef01d", 2710 | "reference": "8b11703f5974492f4c4e0b313836d0aed2eef01d", 2711 | "shasum": "" 2712 | }, 2713 | "require": { 2714 | "doctrine/instantiator": "^1.0.5", 2715 | "php": "^7.0", 2716 | "wyrihaximus/json-utilities": "^1.0" 2717 | }, 2718 | "require-dev": { 2719 | "api-clients/test-utilities": "^4.3" 2720 | }, 2721 | "type": "library", 2722 | "autoload": { 2723 | "psr-4": { 2724 | "WyriHaximus\\": "src/" 2725 | }, 2726 | "files": [ 2727 | "src/functions_include.php" 2728 | ] 2729 | }, 2730 | "notification-url": "https://packagist.org/downloads/", 2731 | "license": [ 2732 | "MIT" 2733 | ], 2734 | "authors": [ 2735 | { 2736 | "name": "Cees-Jan Kiewiet", 2737 | "email": "ceesjank@gmail.com" 2738 | } 2739 | ], 2740 | "description": "JSON encode and decode throwables and exceptions", 2741 | "time": "2018-03-15T13:05:59+00:00" 2742 | }, 2743 | { 2744 | "name": "wyrihaximus/json-utilities", 2745 | "version": "1.1.0", 2746 | "source": { 2747 | "type": "git", 2748 | "url": "https://github.com/WyriHaximus/php-json-utilities.git", 2749 | "reference": "f0f5007df750f8e44c8ba8ce9ee8e701472ea4c7" 2750 | }, 2751 | "dist": { 2752 | "type": "zip", 2753 | "url": "https://api.github.com/repos/WyriHaximus/php-json-utilities/zipball/f0f5007df750f8e44c8ba8ce9ee8e701472ea4c7", 2754 | "reference": "f0f5007df750f8e44c8ba8ce9ee8e701472ea4c7", 2755 | "shasum": "" 2756 | }, 2757 | "require": { 2758 | "php": "^7.2" 2759 | }, 2760 | "require-dev": { 2761 | "api-clients/cs-fixer-config": "^1.1", 2762 | "api-clients/test-utilities": "^5.2" 2763 | }, 2764 | "type": "library", 2765 | "autoload": { 2766 | "psr-4": { 2767 | "WyriHaximus\\": "src/" 2768 | }, 2769 | "files": [ 2770 | "src/functions_include.php" 2771 | ] 2772 | }, 2773 | "notification-url": "https://packagist.org/downloads/", 2774 | "license": [ 2775 | "MIT" 2776 | ], 2777 | "authors": [ 2778 | { 2779 | "name": "Cees-Jan Kiewiet", 2780 | "email": "ceesjank@gmail.com" 2781 | } 2782 | ], 2783 | "description": "Utilities for php-json-* packages", 2784 | "time": "2018-12-25T10:58:17+00:00" 2785 | }, 2786 | { 2787 | "name": "wyrihaximus/react-child-process-messenger", 2788 | "version": "2.9.3", 2789 | "source": { 2790 | "type": "git", 2791 | "url": "https://github.com/WyriHaximus/reactphp-child-process-messenger.git", 2792 | "reference": "960fcaa4922d56ddb23e2e187a9c8b8f62b7a73e" 2793 | }, 2794 | "dist": { 2795 | "type": "zip", 2796 | "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/zipball/960fcaa4922d56ddb23e2e187a9c8b8f62b7a73e", 2797 | "reference": "960fcaa4922d56ddb23e2e187a9c8b8f62b7a73e", 2798 | "shasum": "" 2799 | }, 2800 | "require": { 2801 | "cakephp/utility": "^3.4", 2802 | "doctrine/inflector": "^1.0", 2803 | "evenement/evenement": "^3.0 || ^2.0 || ^1.0", 2804 | "indigophp/hash-compat": "^1.0", 2805 | "paragonie/random_compat": "^9.0 || ^2.0", 2806 | "php": "^7.0 || ^5.4", 2807 | "react/child-process": "^0.6 || ^0.5 | ^0.4", 2808 | "react/promise": "^2.2", 2809 | "react/promise-stream": "^1.1", 2810 | "react/promise-timer": "^1.5", 2811 | "react/socket": "^1.0 || ^0.8.1", 2812 | "wyrihaximus/file-descriptors": "^1.0 || ^0.1", 2813 | "wyrihaximus/json-throwable": "^2.0 || ^1.1.1", 2814 | "wyrihaximus/ticking-promise": "^1.4" 2815 | }, 2816 | "require-dev": { 2817 | "clue/block-react": "^1.2", 2818 | "friendsofphp/php-cs-fixer": "^2.2", 2819 | "jakub-onderka/php-console-highlighter": "^0.4", 2820 | "jakub-onderka/php-parallel-lint": "^1.0.0", 2821 | "phpunit/phpunit": "^4.8.35||^5.0||^6.0" 2822 | }, 2823 | "type": "library", 2824 | "autoload": { 2825 | "psr-4": { 2826 | "WyriHaximus\\React\\ChildProcess\\Messenger\\": "src/" 2827 | } 2828 | }, 2829 | "notification-url": "https://packagist.org/downloads/", 2830 | "license": [ 2831 | "MIT" 2832 | ], 2833 | "authors": [ 2834 | { 2835 | "name": "Cees-Jan Kiewiet", 2836 | "email": "ceesjank@gmail.com", 2837 | "homepage": "http://wyrihaximus.net/" 2838 | } 2839 | ], 2840 | "description": "Messenger decorator for react/child-process", 2841 | "time": "2019-03-26T20:05:48+00:00" 2842 | }, 2843 | { 2844 | "name": "wyrihaximus/react-child-process-pool", 2845 | "version": "1.5.1", 2846 | "source": { 2847 | "type": "git", 2848 | "url": "https://github.com/WyriHaximus/reactphp-child-process-pool.git", 2849 | "reference": "d61e27af86e76e2e1045a262a2f4ab43929e521e" 2850 | }, 2851 | "dist": { 2852 | "type": "zip", 2853 | "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-pool/zipball/d61e27af86e76e2e1045a262a2f4ab43929e521e", 2854 | "reference": "d61e27af86e76e2e1045a262a2f4ab43929e521e", 2855 | "shasum": "" 2856 | }, 2857 | "require": { 2858 | "evenement/evenement": "^3.0 || ^2.0", 2859 | "php": "^7.0 || ^5.4", 2860 | "react/event-loop": "^1.1", 2861 | "wyrihaximus/cpu-core-detector": "^1.0.2", 2862 | "wyrihaximus/file-descriptors": "^1.0 || ^0.1", 2863 | "wyrihaximus/react-child-process-messenger": "^2.9", 2864 | "wyrihaximus/ticking-promise": "^1.5" 2865 | }, 2866 | "require-dev": { 2867 | "clue/block-react": "^1.3", 2868 | "phake/phake": "^2.2.1", 2869 | "phpunit/phpunit": "^4.8.35||^5.0", 2870 | "squizlabs/php_codesniffer": "^3.3.2", 2871 | "vectorface/dunit": "~2.0" 2872 | }, 2873 | "suggest": { 2874 | "wyrihaximus/react-child-process-pool-redis-queue": "Redis RPC queue" 2875 | }, 2876 | "type": "library", 2877 | "autoload": { 2878 | "psr-4": { 2879 | "WyriHaximus\\React\\ChildProcess\\Pool\\": "src/" 2880 | }, 2881 | "files": [ 2882 | "src/functions_include.php" 2883 | ] 2884 | }, 2885 | "notification-url": "https://packagist.org/downloads/", 2886 | "license": [ 2887 | "MIT" 2888 | ], 2889 | "authors": [ 2890 | { 2891 | "name": "Cees-Jan Kiewiet", 2892 | "email": "ceesjank@gmail.com" 2893 | } 2894 | ], 2895 | "description": "Pool wyrihaximus/react-child-process-messenger processes", 2896 | "time": "2019-03-20T21:11:00+00:00" 2897 | }, 2898 | { 2899 | "name": "wyrihaximus/react-child-process-promise", 2900 | "version": "2.0.2", 2901 | "source": { 2902 | "type": "git", 2903 | "url": "https://github.com/WyriHaximus/reactphp-child-process-promise.git", 2904 | "reference": "206fe3d5180c7b6f757e8aaa9fef687f42d43164" 2905 | }, 2906 | "dist": { 2907 | "type": "zip", 2908 | "url": "https://api.github.com/repos/WyriHaximus/reactphp-child-process-promise/zipball/206fe3d5180c7b6f757e8aaa9fef687f42d43164", 2909 | "reference": "206fe3d5180c7b6f757e8aaa9fef687f42d43164", 2910 | "shasum": "" 2911 | }, 2912 | "require": { 2913 | "php": "^5.4||^7.0", 2914 | "react/child-process": "^0.6 || ^0.5 || ^0.4", 2915 | "react/promise": "^2.7", 2916 | "wyrihaximus/ticking-promise": "^1.5.2" 2917 | }, 2918 | "require-dev": { 2919 | "phpunit/phpunit": "^4.4||^5.0", 2920 | "squizlabs/php_codesniffer": "^3.3.2", 2921 | "vectorface/dunit": "^2.0" 2922 | }, 2923 | "type": "library", 2924 | "autoload": { 2925 | "psr-4": { 2926 | "WyriHaximus\\React\\": "src/" 2927 | }, 2928 | "files": [ 2929 | "src/functions_include.php" 2930 | ] 2931 | }, 2932 | "notification-url": "https://packagist.org/downloads/", 2933 | "license": [ 2934 | "MIT" 2935 | ], 2936 | "authors": [ 2937 | { 2938 | "name": "Cees-Jan Kiewiet", 2939 | "email": "ceesjank@gmail.com", 2940 | "homepage": "http://wyrihaximus.net/" 2941 | } 2942 | ], 2943 | "description": "Wrapping ticks into a promise", 2944 | "time": "2019-01-18T21:42:17+00:00" 2945 | }, 2946 | { 2947 | "name": "wyrihaximus/ticking-promise", 2948 | "version": "1.6.3", 2949 | "source": { 2950 | "type": "git", 2951 | "url": "https://github.com/WyriHaximus/TickingPromise.git", 2952 | "reference": "4bb99024402bb7526de8880f3dab0c1f0858def5" 2953 | }, 2954 | "dist": { 2955 | "type": "zip", 2956 | "url": "https://api.github.com/repos/WyriHaximus/TickingPromise/zipball/4bb99024402bb7526de8880f3dab0c1f0858def5", 2957 | "reference": "4bb99024402bb7526de8880f3dab0c1f0858def5", 2958 | "shasum": "" 2959 | }, 2960 | "require": { 2961 | "php": "^7.0 || ^5.4", 2962 | "react/event-loop": "^1.0 || ^0.5 || ^0.4", 2963 | "react/promise": "~2.1" 2964 | }, 2965 | "require-dev": { 2966 | "phpunit/phpunit": "~4.4", 2967 | "squizlabs/php_codesniffer": "^1.5.6", 2968 | "vectorface/dunit": "~1.4" 2969 | }, 2970 | "type": "library", 2971 | "autoload": { 2972 | "psr-4": { 2973 | "WyriHaximus\\React\\": "src/" 2974 | }, 2975 | "files": [ 2976 | "src/functions_include.php" 2977 | ] 2978 | }, 2979 | "notification-url": "https://packagist.org/downloads/", 2980 | "license": [ 2981 | "MIT" 2982 | ], 2983 | "authors": [ 2984 | { 2985 | "name": "Cees-Jan Kiewiet", 2986 | "email": "ceesjank@gmail.com", 2987 | "homepage": "http://wyrihaximus.net/" 2988 | } 2989 | ], 2990 | "description": "Wrapping ticks into a promise", 2991 | "time": "2018-04-05T12:36:50+00:00" 2992 | } 2993 | ], 2994 | "packages-dev": [], 2995 | "aliases": [], 2996 | "minimum-stability": "dev", 2997 | "stability-flags": [], 2998 | "prefer-stable": true, 2999 | "prefer-lowest": false, 3000 | "platform": { 3001 | "php": "^7.1.3", 3002 | "ext-ctype": "*", 3003 | "ext-iconv": "*" 3004 | }, 3005 | "platform-dev": [] 3006 | } 3007 | -------------------------------------------------------------------------------- /config/bootstrap.php: -------------------------------------------------------------------------------- 1 | =1.2) 9 | if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) { 10 | $_ENV += $env; 11 | } elseif (!class_exists(Dotenv::class)) { 12 | throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'); 13 | } else { 14 | // load all the .env files 15 | (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env'); 16 | } 17 | 18 | $_SERVER += $_ENV; 19 | $_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev'; 20 | $_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV']; 21 | $_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0'; 22 | -------------------------------------------------------------------------------- /config/bundles.php: -------------------------------------------------------------------------------- 1 | ['all' => true], 5 | ]; 6 | -------------------------------------------------------------------------------- /config/packages/cache.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | cache: 3 | # Put the unique name of your app here: the prefix seed 4 | # is used to compute stable namespaces for cache keys. 5 | #prefix_seed: your_vendor_name/app_name 6 | 7 | # The app cache caches to the filesystem by default. 8 | # Other options include: 9 | 10 | # Redis 11 | #app: cache.adapter.redis 12 | #default_redis_provider: redis://localhost 13 | 14 | # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) 15 | #app: cache.adapter.apcu 16 | 17 | # Namespaced pools use the above "app" backend by default 18 | #pools: 19 | #my.dedicated.cache: ~ 20 | -------------------------------------------------------------------------------- /config/packages/dev/routing.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | router: 3 | strict_requirements: true 4 | -------------------------------------------------------------------------------- /config/packages/framework.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | secret: '%env(APP_SECRET)%' 3 | #default_locale: en 4 | #csrf_protection: true 5 | #http_method_override: true 6 | 7 | # Enables session support. Note that the session will ONLY be started if you read or write from it. 8 | # Remove or comment this section to explicitly disable session support. 9 | session: 10 | handler_id: ~ 11 | cookie_secure: auto 12 | cookie_samesite: lax 13 | 14 | #esi: true 15 | #fragments: true 16 | php_errors: 17 | log: true 18 | -------------------------------------------------------------------------------- /config/packages/routing.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | router: 3 | strict_requirements: ~ 4 | utf8: true 5 | -------------------------------------------------------------------------------- /config/packages/test/framework.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | test: true 3 | session: 4 | storage_id: session.storage.mock_file 5 | -------------------------------------------------------------------------------- /config/packages/test/routing.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | router: 3 | strict_requirements: true 4 | -------------------------------------------------------------------------------- /config/routes.yaml: -------------------------------------------------------------------------------- 1 | put: 2 | path: /values/{key} 3 | controller: App\Controller\PutValueController 4 | methods: ["PUT"] 5 | 6 | delete: 7 | path: /values/{key} 8 | controller: App\Controller\DeleteValueController 9 | methods: ["DELETE"] 10 | 11 | get: 12 | path: /values/{key} 13 | controller: App\Controller\GetValueController 14 | methods: ["GET"] 15 | -------------------------------------------------------------------------------- /config/services.yaml: -------------------------------------------------------------------------------- 1 | # This file is the entry point to configure your own services. 2 | # Files in the packages/ subdirectory configure your dependencies. 3 | 4 | # Put parameters here that don't need to change on each machine where the app is deployed 5 | # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration 6 | parameters: 7 | 8 | services: 9 | # default configuration for services in *this* file 10 | _defaults: 11 | autowire: true # Automatically injects dependencies in your services. 12 | autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. 13 | 14 | # makes classes in src/ available to be used as services 15 | # this creates a service per class whose id is the fully-qualified class name 16 | App\: 17 | resource: '../src/*' 18 | exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}' 19 | 20 | # controllers are imported separately to make sure services can be injected 21 | # as action arguments even if you don't extend any base controller class 22 | App\Controller\: 23 | resource: '../src/Controller' 24 | tags: ['controller.service_arguments'] 25 | 26 | # add more service definitions when explicit configuration is needed 27 | # please note that last definitions always *replace* previous ones 28 | 29 | App\Redis\RedisConfig: 30 | arguments: 31 | - "localhost" 32 | - 6379 33 | -------------------------------------------------------------------------------- /src/Controller/DeleteValueController.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | use App\Redis\RedisWrapper; 16 | use React\Promise\PromiseInterface; 17 | use React\Promise\RejectedPromise; 18 | use Symfony\Component\HttpFoundation\JsonResponse; 19 | use Symfony\Component\HttpFoundation\Request; 20 | 21 | /** 22 | * Class DeleteValueController 23 | */ 24 | class DeleteValueController 25 | { 26 | /** 27 | * @var RedisWrapper 28 | * 29 | * Redis Wrapper 30 | */ 31 | private $redisWrapper; 32 | 33 | /** 34 | * PutValueController constructor. 35 | * 36 | * @param RedisWrapper $redisWrapper 37 | */ 38 | public function __construct(RedisWrapper $redisWrapper) 39 | { 40 | $this->redisWrapper = $redisWrapper; 41 | } 42 | 43 | /** 44 | * Invoke 45 | * 46 | * @param Request $request 47 | * 48 | * @return PromiseInterface 49 | */ 50 | public function __invoke(Request $request) 51 | { 52 | $key = $request 53 | ->attributes 54 | ->get('key'); 55 | 56 | return $this 57 | ->redisWrapper 58 | ->getClient() 59 | ->del($key) 60 | ->then(function(string $response) use ($key) { 61 | return new JsonResponse( 62 | [ 63 | 'key' => $key, 64 | 'message' => $response === '1' 65 | ? 'OK' 66 | : 'Key not found' 67 | , 68 | ], 69 | 200 70 | ); 71 | }); 72 | } 73 | } -------------------------------------------------------------------------------- /src/Controller/GetValueController.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | use App\Redis\RedisWrapper; 16 | use React\Promise\PromiseInterface; 17 | use Symfony\Component\HttpFoundation\JsonResponse; 18 | use Symfony\Component\HttpFoundation\Request; 19 | 20 | /** 21 | * Class GetValueController 22 | */ 23 | class GetValueController 24 | { 25 | /** 26 | * @var RedisWrapper 27 | * 28 | * Redis Wrapper 29 | */ 30 | private $redisWrapper; 31 | 32 | /** 33 | * PutValueController constructor. 34 | * 35 | * @param RedisWrapper $redisWrapper 36 | */ 37 | public function __construct(RedisWrapper $redisWrapper) 38 | { 39 | $this->redisWrapper = $redisWrapper; 40 | } 41 | 42 | /** 43 | * Invoke 44 | * 45 | * @param Request $request 46 | * 47 | * @return PromiseInterface 48 | */ 49 | public function __invoke(Request $request) 50 | { 51 | $key = $request 52 | ->attributes 53 | ->get('key'); 54 | 55 | return $this 56 | ->redisWrapper 57 | ->getClient() 58 | ->get($key) 59 | ->then(function($value) use ($key) { 60 | return new JsonResponse( 61 | [ 62 | 'key' => $key, 63 | 'value' => is_string($value) 64 | ? $value 65 | : null, 66 | ], 67 | 200 68 | ); 69 | }); 70 | } 71 | } -------------------------------------------------------------------------------- /src/Controller/PutValueController.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | use App\Redis\RedisWrapper; 16 | use React\Promise\FulfilledPromise; 17 | use React\Promise\PromiseInterface; 18 | use React\Promise\RejectedPromise; 19 | use Symfony\Component\HttpFoundation\JsonResponse; 20 | use Symfony\Component\HttpFoundation\Request; 21 | 22 | /** 23 | * Class PutValueController 24 | */ 25 | class PutValueController 26 | { 27 | /** 28 | * @var RedisWrapper 29 | * 30 | * Redis Wrapper 31 | */ 32 | private $redisWrapper; 33 | 34 | /** 35 | * PutValueController constructor. 36 | * 37 | * @param RedisWrapper $redisWrapper 38 | */ 39 | public function __construct(RedisWrapper $redisWrapper) 40 | { 41 | $this->redisWrapper = $redisWrapper; 42 | } 43 | 44 | /** 45 | * Invoke 46 | * 47 | * @param Request $request 48 | * 49 | * @return PromiseInterface 50 | */ 51 | public function __invoke(Request $request) 52 | { 53 | 54 | $key = $request 55 | ->attributes 56 | ->get('key'); 57 | 58 | $value = $request->getContent(false); 59 | 60 | if (empty($value)) { 61 | return new RejectedPromise(new \Exception( 62 | 'Value should have a non empty value' 63 | )); 64 | } 65 | 66 | return $this 67 | ->redisWrapper 68 | ->getClient() 69 | ->set($key, $value) 70 | ->then(function(string $response) use ($key, $value) { 71 | return new JsonResponse( 72 | [ 73 | 'key' => $key, 74 | 'value' => $value, 75 | 'message' => $response 76 | ], 77 | 200 78 | ); 79 | }); 80 | } 81 | } -------------------------------------------------------------------------------- /src/Kernel.php: -------------------------------------------------------------------------------- 1 | getProjectDir().'/config/bundles.php'; 21 | foreach ($contents as $class => $envs) { 22 | if ($envs[$this->environment] ?? $envs['all'] ?? false) { 23 | yield new $class(); 24 | } 25 | } 26 | } 27 | 28 | public function getProjectDir(): string 29 | { 30 | return \dirname(__DIR__); 31 | } 32 | 33 | protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void 34 | { 35 | $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php')); 36 | $container->setParameter('container.dumper.inline_class_loader', true); 37 | $confDir = $this->getProjectDir().'/config'; 38 | 39 | $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob'); 40 | $loader->load($confDir.'/{packages}/'.$this->environment.'/**/*'.self::CONFIG_EXTS, 'glob'); 41 | $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob'); 42 | $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob'); 43 | } 44 | 45 | protected function configureRoutes(RouteCollectionBuilder $routes): void 46 | { 47 | $confDir = $this->getProjectDir().'/config'; 48 | 49 | $routes->import($confDir.'/{routes}/'.$this->environment.'/**/*'.self::CONFIG_EXTS, '/', 'glob'); 50 | $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob'); 51 | $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob'); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/Redis/RedisConfig.php: -------------------------------------------------------------------------------- 1 | 12 | */ 13 | 14 | declare(strict_types=1); 15 | 16 | namespace App\Redis; 17 | 18 | /** 19 | * Class RedisConfig. 20 | */ 21 | class RedisConfig 22 | { 23 | /** 24 | * @var string 25 | * 26 | * Host 27 | */ 28 | private $host; 29 | 30 | /** 31 | * @var int 32 | * 33 | * Port 34 | */ 35 | private $port; 36 | 37 | /** 38 | * @var string|null 39 | * 40 | * Database 41 | */ 42 | private $database; 43 | 44 | /** 45 | * RedisConfig constructor. 46 | * 47 | * @param string $host 48 | * @param int $port 49 | * @param string $database 50 | */ 51 | public function __construct( 52 | string $host, 53 | int $port, 54 | string $database = null 55 | ) { 56 | $this->host = $host; 57 | $this->port = $port; 58 | $this->database = $database; 59 | } 60 | 61 | /** 62 | * Get Host. 63 | * 64 | * @return string 65 | */ 66 | public function getHost(): string 67 | { 68 | return $this->host; 69 | } 70 | 71 | /** 72 | * Get Port. 73 | * 74 | * @return int 75 | */ 76 | public function getPort(): int 77 | { 78 | return $this->port; 79 | } 80 | 81 | /** 82 | * Get Database. 83 | * 84 | * @return string|null 85 | */ 86 | public function getDatabase(): ? string 87 | { 88 | return $this->database; 89 | } 90 | 91 | /** 92 | * Serialize configuration. 93 | * 94 | * @return string 95 | */ 96 | public function serialize() 97 | { 98 | return json_encode([ 99 | $this->host, 100 | $this->port, 101 | $this->database, 102 | ]); 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /src/Redis/RedisFactory.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | 16 | use Clue\React\Redis\Client; 17 | use Clue\React\Redis\Factory; 18 | use React\EventLoop\LoopInterface; 19 | 20 | /** 21 | * Class RedisFactory 22 | */ 23 | class RedisFactory 24 | { 25 | /** 26 | * @var client[] 27 | * 28 | * Redis instances 29 | */ 30 | private $redisInstances = []; 31 | 32 | /** 33 | * @var Factory 34 | * 35 | * Redis Async Factory 36 | */ 37 | private $factory; 38 | 39 | /** 40 | * AsyncRedisFactory constructor. 41 | * 42 | * @param LoopInterface $eventLoop 43 | */ 44 | public function __construct(LoopInterface $eventLoop) 45 | { 46 | $this->factory = new Factory($eventLoop); 47 | } 48 | 49 | /** 50 | * Generate new Predis instance. 51 | * 52 | * @param RedisConfig $redisConfig 53 | * 54 | * @return Client 55 | */ 56 | public function create(RedisConfig $redisConfig): Client 57 | { 58 | $key = md5($redisConfig->serialize()); 59 | if (isset($this->redisInstances[$key])) { 60 | return $this->redisInstances[$key]; 61 | } 62 | 63 | $this->redisInstances[$key] = $this->createSimple($redisConfig); 64 | 65 | return $this->redisInstances[$key]; 66 | } 67 | 68 | /** 69 | * Create simple. 70 | * 71 | * @param RedisConfig $redisConfig 72 | * 73 | * @return Client 74 | */ 75 | private function createSimple(RedisConfig $redisConfig): Client 76 | { 77 | return $this 78 | ->factory 79 | ->createLazyClient(rtrim(sprintf( 80 | '%s:%s/%s', 81 | $redisConfig->getHost(), 82 | $redisConfig->getPort(), 83 | $redisConfig->getDatabase() 84 | ), '/')); 85 | } 86 | } -------------------------------------------------------------------------------- /src/Redis/RedisWrapper.php: -------------------------------------------------------------------------------- 1 | redisFactory = $redisFactory; 37 | $this->redisConfig = $redisConfig; 38 | } 39 | 40 | /** 41 | * Get client. 42 | * 43 | * @return Client 44 | */ 45 | public function getClient(): Client 46 | { 47 | return $this 48 | ->redisFactory 49 | ->create($this->redisConfig); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /symfony.lock: -------------------------------------------------------------------------------- 1 | { 2 | "apisearch-io/react-symfony-server": { 3 | "version": "dev-master" 4 | }, 5 | "apisearch-io/symfony-async-http-kernel": { 6 | "version": "dev-master" 7 | }, 8 | "apisearch-io/symfony-react-server": { 9 | "version": "dev-master" 10 | }, 11 | "cakephp/core": { 12 | "version": "3.8.1" 13 | }, 14 | "cakephp/utility": { 15 | "version": "3.8.1" 16 | }, 17 | "clue/redis-protocol": { 18 | "version": "v0.3.1" 19 | }, 20 | "clue/redis-react": { 21 | "version": "v2.3.0" 22 | }, 23 | "doctrine/inflector": { 24 | "version": "v1.3.0" 25 | }, 26 | "doctrine/instantiator": { 27 | "version": "1.2.0" 28 | }, 29 | "evenement/evenement": { 30 | "version": "v3.0.1" 31 | }, 32 | "indigophp/hash-compat": { 33 | "version": "v1.1.0" 34 | }, 35 | "psr/cache": { 36 | "version": "1.0.1" 37 | }, 38 | "psr/container": { 39 | "version": "1.0.0" 40 | }, 41 | "psr/http-message": { 42 | "version": "1.0.x-dev" 43 | }, 44 | "psr/log": { 45 | "version": "1.1.0" 46 | }, 47 | "psr/simple-cache": { 48 | "version": "1.0.1" 49 | }, 50 | "react/cache": { 51 | "version": "v0.5.0" 52 | }, 53 | "react/child-process": { 54 | "version": "v0.6.1" 55 | }, 56 | "react/dns": { 57 | "version": "v0.4.17" 58 | }, 59 | "react/event-loop": { 60 | "version": "v1.1.0" 61 | }, 62 | "react/filesystem": { 63 | "version": "v0.1.2" 64 | }, 65 | "react/http": { 66 | "version": "dev-master" 67 | }, 68 | "react/promise": { 69 | "version": "2.x-dev" 70 | }, 71 | "react/promise-stream": { 72 | "version": "v1.1.1" 73 | }, 74 | "react/promise-timer": { 75 | "version": "v1.5.1" 76 | }, 77 | "react/socket": { 78 | "version": "v1.2.0" 79 | }, 80 | "react/stream": { 81 | "version": "v1.1.0" 82 | }, 83 | "ringcentral/psr7": { 84 | "version": "1.2.2" 85 | }, 86 | "symfony/cache": { 87 | "version": "v4.2.8" 88 | }, 89 | "symfony/config": { 90 | "version": "v4.2.8" 91 | }, 92 | "symfony/console": { 93 | "version": "3.3", 94 | "recipe": { 95 | "repo": "github.com/symfony/recipes", 96 | "branch": "master", 97 | "version": "3.3", 98 | "ref": "482d233eb8de91ebd042992077bbd5838858890c" 99 | }, 100 | "files": [ 101 | "bin/console", 102 | "config/bootstrap.php" 103 | ] 104 | }, 105 | "symfony/contracts": { 106 | "version": "v1.1.0" 107 | }, 108 | "symfony/debug": { 109 | "version": "v4.2.8" 110 | }, 111 | "symfony/dependency-injection": { 112 | "version": "v4.2.8" 113 | }, 114 | "symfony/dotenv": { 115 | "version": "v4.2.8" 116 | }, 117 | "symfony/event-dispatcher": { 118 | "version": "v4.2.8" 119 | }, 120 | "symfony/filesystem": { 121 | "version": "v4.2.8" 122 | }, 123 | "symfony/finder": { 124 | "version": "v4.2.8" 125 | }, 126 | "symfony/flex": { 127 | "version": "1.0", 128 | "recipe": { 129 | "repo": "github.com/symfony/recipes", 130 | "branch": "master", 131 | "version": "1.0", 132 | "ref": "dc3fc2e0334a4137c47cfd5a3ececc601fa61a0b" 133 | }, 134 | "files": [ 135 | ".env" 136 | ] 137 | }, 138 | "symfony/framework-bundle": { 139 | "version": "4.2", 140 | "recipe": { 141 | "repo": "github.com/symfony/recipes", 142 | "branch": "master", 143 | "version": "4.2", 144 | "ref": "f64037a414de7d861f68e9b5b5c0e4f7425e2002" 145 | }, 146 | "files": [ 147 | "config/bootstrap.php", 148 | "config/packages/cache.yaml", 149 | "config/packages/framework.yaml", 150 | "config/packages/test/framework.yaml", 151 | "config/services.yaml", 152 | "public/index.php", 153 | "src/Controller/.gitignore", 154 | "src/Kernel.php" 155 | ] 156 | }, 157 | "symfony/http-foundation": { 158 | "version": "v4.2.8" 159 | }, 160 | "symfony/http-kernel": { 161 | "version": "v4.2.8" 162 | }, 163 | "symfony/polyfill-mbstring": { 164 | "version": "v1.11.0" 165 | }, 166 | "symfony/routing": { 167 | "version": "4.2", 168 | "recipe": { 169 | "repo": "github.com/symfony/recipes", 170 | "branch": "master", 171 | "version": "4.2", 172 | "ref": "5374e24d508ba8fd6ba9eb15170255fdb778316a" 173 | }, 174 | "files": [ 175 | "config/packages/dev/routing.yaml", 176 | "config/packages/routing.yaml", 177 | "config/packages/test/routing.yaml", 178 | "config/routes.yaml" 179 | ] 180 | }, 181 | "symfony/var-exporter": { 182 | "version": "v4.2.8" 183 | }, 184 | "symfony/yaml": { 185 | "version": "v4.2.8" 186 | }, 187 | "tivie/php-os-detector": { 188 | "version": "1.1.0" 189 | }, 190 | "wyrihaximus/cpu-core-detector": { 191 | "version": "1.0.2" 192 | }, 193 | "wyrihaximus/file-descriptors": { 194 | "version": "1.0.0" 195 | }, 196 | "wyrihaximus/json-throwable": { 197 | "version": "2.0.0" 198 | }, 199 | "wyrihaximus/json-utilities": { 200 | "version": "1.1.0" 201 | }, 202 | "wyrihaximus/react-child-process-messenger": { 203 | "version": "2.9.3" 204 | }, 205 | "wyrihaximus/react-child-process-pool": { 206 | "version": "1.5.1" 207 | }, 208 | "wyrihaximus/react-child-process-promise": { 209 | "version": "2.0.2" 210 | }, 211 | "wyrihaximus/ticking-promise": { 212 | "version": "1.6.3" 213 | } 214 | } 215 | --------------------------------------------------------------------------------