├── .gitignore ├── src ├── LoneStar │ └── README.md └── Nimble │ └── README.md ├── bootstrap └── autoload.php ├── web └── index.php ├── Makefile ├── composer.json ├── LICENSE ├── README.md └── composer.lock /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | -------------------------------------------------------------------------------- /src/LoneStar/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Nimble/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/autoload.php: -------------------------------------------------------------------------------- 1 | =5.3.0", 25 | "psr/http-message": "^1.0" 26 | }, 27 | "type": "library", 28 | "extra": { 29 | "branch-alias": { 30 | "dev-master": "1.0.x-dev" 31 | } 32 | }, 33 | "autoload": { 34 | "psr-4": { 35 | "Interop\\Http\\Factory\\": "src/" 36 | } 37 | }, 38 | "notification-url": "https://packagist.org/downloads/", 39 | "license": [ 40 | "MIT" 41 | ], 42 | "authors": [ 43 | { 44 | "name": "PHP-FIG", 45 | "homepage": "http://www.php-fig.org/" 46 | } 47 | ], 48 | "description": "Common interface for HTTP message factories", 49 | "keywords": [ 50 | "factory", 51 | "http", 52 | "message", 53 | "psr", 54 | "psr-17", 55 | "psr-7", 56 | "request", 57 | "response" 58 | ], 59 | "time": "2017-03-24T14:48:51+00:00" 60 | }, 61 | { 62 | "name": "http-interop/http-factory-diactoros", 63 | "version": "0.3.0", 64 | "source": { 65 | "type": "git", 66 | "url": "https://github.com/http-interop/http-factory-diactoros.git", 67 | "reference": "60e10aa7d1788107d2b8d3080c70bb9debd9116f" 68 | }, 69 | "dist": { 70 | "type": "zip", 71 | "url": "https://api.github.com/repos/http-interop/http-factory-diactoros/zipball/60e10aa7d1788107d2b8d3080c70bb9debd9116f", 72 | "reference": "60e10aa7d1788107d2b8d3080c70bb9debd9116f", 73 | "shasum": "" 74 | }, 75 | "require": { 76 | "http-interop/http-factory": "^0.3", 77 | "zendframework/zend-diactoros": "^1.3" 78 | }, 79 | "provide": { 80 | "psr/http-factory-implementation": "^1.0" 81 | }, 82 | "require-dev": { 83 | "http-interop/http-factory-tests": "^0.3" 84 | }, 85 | "type": "library", 86 | "autoload": { 87 | "psr-4": { 88 | "Http\\Factory\\Diactoros\\": "src/" 89 | } 90 | }, 91 | "notification-url": "https://packagist.org/downloads/", 92 | "license": [ 93 | "MIT" 94 | ], 95 | "authors": [ 96 | { 97 | "name": "PHP-FIG", 98 | "homepage": "http://www.php-fig.org/" 99 | } 100 | ], 101 | "description": "An HTTP Factory using Zend Diactoros", 102 | "keywords": [ 103 | "factory", 104 | "http", 105 | "psr-17", 106 | "psr-7" 107 | ], 108 | "time": "2017-03-29T10:51:41+00:00" 109 | }, 110 | { 111 | "name": "http-interop/http-middleware", 112 | "version": "0.4.1", 113 | "source": { 114 | "type": "git", 115 | "url": "https://github.com/http-interop/http-middleware.git", 116 | "reference": "9a801fe60e70d5d608b61d56b2dcde29516c81b9" 117 | }, 118 | "dist": { 119 | "type": "zip", 120 | "url": "https://api.github.com/repos/http-interop/http-middleware/zipball/9a801fe60e70d5d608b61d56b2dcde29516c81b9", 121 | "reference": "9a801fe60e70d5d608b61d56b2dcde29516c81b9", 122 | "shasum": "" 123 | }, 124 | "require": { 125 | "php": ">=5.3.0", 126 | "psr/http-message": "^1.0" 127 | }, 128 | "type": "library", 129 | "extra": { 130 | "branch-alias": { 131 | "dev-master": "1.0.x-dev" 132 | } 133 | }, 134 | "autoload": { 135 | "psr-4": { 136 | "Interop\\Http\\ServerMiddleware\\": "src/" 137 | } 138 | }, 139 | "notification-url": "https://packagist.org/downloads/", 140 | "license": [ 141 | "MIT" 142 | ], 143 | "authors": [ 144 | { 145 | "name": "PHP-FIG", 146 | "homepage": "http://www.php-fig.org/" 147 | } 148 | ], 149 | "description": "Common interface for HTTP server-side middleware", 150 | "keywords": [ 151 | "factory", 152 | "http", 153 | "middleware", 154 | "psr", 155 | "psr-17", 156 | "psr-7", 157 | "request", 158 | "response" 159 | ], 160 | "time": "2017-01-14T15:23:42+00:00" 161 | }, 162 | { 163 | "name": "http-interop/response-sender", 164 | "version": "1.0.0", 165 | "source": { 166 | "type": "git", 167 | "url": "https://github.com/http-interop/response-sender.git", 168 | "reference": "fd63be06cd6c9216ef3c725af1a3f6b155eebc84" 169 | }, 170 | "dist": { 171 | "type": "zip", 172 | "url": "https://api.github.com/repos/http-interop/response-sender/zipball/fd63be06cd6c9216ef3c725af1a3f6b155eebc84", 173 | "reference": "fd63be06cd6c9216ef3c725af1a3f6b155eebc84", 174 | "shasum": "" 175 | }, 176 | "require": { 177 | "psr/http-message": "^1.0" 178 | }, 179 | "require-dev": { 180 | "guzzlehttp/psr7": "^1.4", 181 | "php-mock/php-mock-phpunit": "^1.1", 182 | "phpunit/phpunit": "^5.6" 183 | }, 184 | "type": "library", 185 | "autoload": { 186 | "files": [ 187 | "src/functions.php" 188 | ] 189 | }, 190 | "notification-url": "https://packagist.org/downloads/", 191 | "license": [ 192 | "MIT" 193 | ], 194 | "authors": [ 195 | { 196 | "name": "Woody Gilk", 197 | "email": "woody.gilk@gmail.com" 198 | } 199 | ], 200 | "description": "A function to convert PSR-7 Response to HTTP output", 201 | "time": "2017-03-17T15:46:19+00:00" 202 | }, 203 | { 204 | "name": "illuminate/container", 205 | "version": "v5.4.17", 206 | "source": { 207 | "type": "git", 208 | "url": "https://github.com/illuminate/container.git", 209 | "reference": "1fc0d2451e23d2ea73c10462d74add4767e2b74c" 210 | }, 211 | "dist": { 212 | "type": "zip", 213 | "url": "https://api.github.com/repos/illuminate/container/zipball/1fc0d2451e23d2ea73c10462d74add4767e2b74c", 214 | "reference": "1fc0d2451e23d2ea73c10462d74add4767e2b74c", 215 | "shasum": "" 216 | }, 217 | "require": { 218 | "illuminate/contracts": "5.4.*", 219 | "php": ">=5.6.4" 220 | }, 221 | "type": "library", 222 | "extra": { 223 | "branch-alias": { 224 | "dev-master": "5.4-dev" 225 | } 226 | }, 227 | "autoload": { 228 | "psr-4": { 229 | "Illuminate\\Container\\": "" 230 | } 231 | }, 232 | "notification-url": "https://packagist.org/downloads/", 233 | "license": [ 234 | "MIT" 235 | ], 236 | "authors": [ 237 | { 238 | "name": "Taylor Otwell", 239 | "email": "taylor@laravel.com" 240 | } 241 | ], 242 | "description": "The Illuminate Container package.", 243 | "homepage": "https://laravel.com", 244 | "time": "2017-03-13T14:14:19+00:00" 245 | }, 246 | { 247 | "name": "illuminate/contracts", 248 | "version": "v5.4.17", 249 | "source": { 250 | "type": "git", 251 | "url": "https://github.com/illuminate/contracts.git", 252 | "reference": "ab2825726bee46a67c8cc66789852189dbef74a9" 253 | }, 254 | "dist": { 255 | "type": "zip", 256 | "url": "https://api.github.com/repos/illuminate/contracts/zipball/ab2825726bee46a67c8cc66789852189dbef74a9", 257 | "reference": "ab2825726bee46a67c8cc66789852189dbef74a9", 258 | "shasum": "" 259 | }, 260 | "require": { 261 | "php": ">=5.6.4" 262 | }, 263 | "type": "library", 264 | "extra": { 265 | "branch-alias": { 266 | "dev-master": "5.4-dev" 267 | } 268 | }, 269 | "autoload": { 270 | "psr-4": { 271 | "Illuminate\\Contracts\\": "" 272 | } 273 | }, 274 | "notification-url": "https://packagist.org/downloads/", 275 | "license": [ 276 | "MIT" 277 | ], 278 | "authors": [ 279 | { 280 | "name": "Taylor Otwell", 281 | "email": "taylor@laravel.com" 282 | } 283 | ], 284 | "description": "The Illuminate Contracts package.", 285 | "homepage": "https://laravel.com", 286 | "time": "2017-03-29T13:17:47+00:00" 287 | }, 288 | { 289 | "name": "middlewares/utils", 290 | "version": "v0.11.0", 291 | "source": { 292 | "type": "git", 293 | "url": "https://github.com/middlewares/utils.git", 294 | "reference": "9e9b87f44feb9041ebf4946b437a978ec4b5c80c" 295 | }, 296 | "dist": { 297 | "type": "zip", 298 | "url": "https://api.github.com/repos/middlewares/utils/zipball/9e9b87f44feb9041ebf4946b437a978ec4b5c80c", 299 | "reference": "9e9b87f44feb9041ebf4946b437a978ec4b5c80c", 300 | "shasum": "" 301 | }, 302 | "require": { 303 | "http-interop/http-factory": "^0.3", 304 | "http-interop/http-middleware": "^0.4", 305 | "php": "^5.6 || ^7.0", 306 | "psr/http-message": "^1.0" 307 | }, 308 | "require-dev": { 309 | "friendsofphp/php-cs-fixer": "^2.0", 310 | "guzzlehttp/psr7": "^1.3", 311 | "phpunit/phpunit": "^5.5", 312 | "psr/container": "^1.0", 313 | "slim/slim": "^3.5", 314 | "squizlabs/php_codesniffer": "^2.7", 315 | "zendframework/zend-diactoros": "^1.3" 316 | }, 317 | "suggest": { 318 | "psr/container": "Can be used to automatically resolve callables" 319 | }, 320 | "type": "library", 321 | "autoload": { 322 | "psr-4": { 323 | "Middlewares\\Utils\\": "src/" 324 | } 325 | }, 326 | "notification-url": "https://packagist.org/downloads/", 327 | "license": [ 328 | "MIT" 329 | ], 330 | "description": "Common utils to create PSR-15 middleware packages", 331 | "homepage": "https://github.com/middlewares/utils", 332 | "keywords": [ 333 | "PSR-11", 334 | "http", 335 | "middleware", 336 | "psr-15", 337 | "psr-7" 338 | ], 339 | "time": "2017-03-25T12:12:17+00:00" 340 | }, 341 | { 342 | "name": "nikic/fast-route", 343 | "version": "v0.6.0", 344 | "source": { 345 | "type": "git", 346 | "url": "https://github.com/nikic/FastRoute.git", 347 | "reference": "31fa86924556b80735f98b294a7ffdfb26789f22" 348 | }, 349 | "dist": { 350 | "type": "zip", 351 | "url": "https://api.github.com/repos/nikic/FastRoute/zipball/31fa86924556b80735f98b294a7ffdfb26789f22", 352 | "reference": "31fa86924556b80735f98b294a7ffdfb26789f22", 353 | "shasum": "" 354 | }, 355 | "require": { 356 | "php": ">=5.4.0" 357 | }, 358 | "type": "library", 359 | "autoload": { 360 | "psr-4": { 361 | "FastRoute\\": "src/" 362 | }, 363 | "files": [ 364 | "src/functions.php" 365 | ] 366 | }, 367 | "notification-url": "https://packagist.org/downloads/", 368 | "license": [ 369 | "BSD-3-Clause" 370 | ], 371 | "authors": [ 372 | { 373 | "name": "Nikita Popov", 374 | "email": "nikic@php.net" 375 | } 376 | ], 377 | "description": "Fast request router for PHP", 378 | "keywords": [ 379 | "router", 380 | "routing" 381 | ], 382 | "time": "2015-06-18T19:15:47+00:00" 383 | }, 384 | { 385 | "name": "psr/container", 386 | "version": "1.0.0", 387 | "source": { 388 | "type": "git", 389 | "url": "https://github.com/php-fig/container.git", 390 | "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" 391 | }, 392 | "dist": { 393 | "type": "zip", 394 | "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", 395 | "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", 396 | "shasum": "" 397 | }, 398 | "require": { 399 | "php": ">=5.3.0" 400 | }, 401 | "type": "library", 402 | "extra": { 403 | "branch-alias": { 404 | "dev-master": "1.0.x-dev" 405 | } 406 | }, 407 | "autoload": { 408 | "psr-4": { 409 | "Psr\\Container\\": "src/" 410 | } 411 | }, 412 | "notification-url": "https://packagist.org/downloads/", 413 | "license": [ 414 | "MIT" 415 | ], 416 | "authors": [ 417 | { 418 | "name": "PHP-FIG", 419 | "homepage": "http://www.php-fig.org/" 420 | } 421 | ], 422 | "description": "Common Container Interface (PHP FIG PSR-11)", 423 | "homepage": "https://github.com/php-fig/container", 424 | "keywords": [ 425 | "PSR-11", 426 | "container", 427 | "container-interface", 428 | "container-interop", 429 | "psr" 430 | ], 431 | "time": "2017-02-14T16:28:37+00:00" 432 | }, 433 | { 434 | "name": "psr/http-message", 435 | "version": "1.0.1", 436 | "source": { 437 | "type": "git", 438 | "url": "https://github.com/php-fig/http-message.git", 439 | "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" 440 | }, 441 | "dist": { 442 | "type": "zip", 443 | "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", 444 | "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", 445 | "shasum": "" 446 | }, 447 | "require": { 448 | "php": ">=5.3.0" 449 | }, 450 | "type": "library", 451 | "extra": { 452 | "branch-alias": { 453 | "dev-master": "1.0.x-dev" 454 | } 455 | }, 456 | "autoload": { 457 | "psr-4": { 458 | "Psr\\Http\\Message\\": "src/" 459 | } 460 | }, 461 | "notification-url": "https://packagist.org/downloads/", 462 | "license": [ 463 | "MIT" 464 | ], 465 | "authors": [ 466 | { 467 | "name": "PHP-FIG", 468 | "homepage": "http://www.php-fig.org/" 469 | } 470 | ], 471 | "description": "Common interface for HTTP messages", 472 | "homepage": "https://github.com/php-fig/http-message", 473 | "keywords": [ 474 | "http", 475 | "http-message", 476 | "psr", 477 | "psr-7", 478 | "request", 479 | "response" 480 | ], 481 | "time": "2016-08-06T14:39:51+00:00" 482 | }, 483 | { 484 | "name": "symfony/polyfill-mbstring", 485 | "version": "v1.3.0", 486 | "source": { 487 | "type": "git", 488 | "url": "https://github.com/symfony/polyfill-mbstring.git", 489 | "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" 490 | }, 491 | "dist": { 492 | "type": "zip", 493 | "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", 494 | "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", 495 | "shasum": "" 496 | }, 497 | "require": { 498 | "php": ">=5.3.3" 499 | }, 500 | "suggest": { 501 | "ext-mbstring": "For best performance" 502 | }, 503 | "type": "library", 504 | "extra": { 505 | "branch-alias": { 506 | "dev-master": "1.3-dev" 507 | } 508 | }, 509 | "autoload": { 510 | "psr-4": { 511 | "Symfony\\Polyfill\\Mbstring\\": "" 512 | }, 513 | "files": [ 514 | "bootstrap.php" 515 | ] 516 | }, 517 | "notification-url": "https://packagist.org/downloads/", 518 | "license": [ 519 | "MIT" 520 | ], 521 | "authors": [ 522 | { 523 | "name": "Nicolas Grekas", 524 | "email": "p@tchwork.com" 525 | }, 526 | { 527 | "name": "Symfony Community", 528 | "homepage": "https://symfony.com/contributors" 529 | } 530 | ], 531 | "description": "Symfony polyfill for the Mbstring extension", 532 | "homepage": "https://symfony.com", 533 | "keywords": [ 534 | "compatibility", 535 | "mbstring", 536 | "polyfill", 537 | "portable", 538 | "shim" 539 | ], 540 | "time": "2016-11-14T01:06:16+00:00" 541 | }, 542 | { 543 | "name": "twig/twig", 544 | "version": "v2.3.1", 545 | "source": { 546 | "type": "git", 547 | "url": "https://github.com/twigphp/Twig.git", 548 | "reference": "437efc435619c8e67acacda37b3984344854142c" 549 | }, 550 | "dist": { 551 | "type": "zip", 552 | "url": "https://api.github.com/repos/twigphp/Twig/zipball/437efc435619c8e67acacda37b3984344854142c", 553 | "reference": "437efc435619c8e67acacda37b3984344854142c", 554 | "shasum": "" 555 | }, 556 | "require": { 557 | "php": "^7.0", 558 | "symfony/polyfill-mbstring": "~1.0" 559 | }, 560 | "require-dev": { 561 | "psr/container": "^1.0", 562 | "symfony/debug": "~2.7", 563 | "symfony/phpunit-bridge": "~3.3@dev" 564 | }, 565 | "type": "library", 566 | "extra": { 567 | "branch-alias": { 568 | "dev-master": "2.3-dev" 569 | } 570 | }, 571 | "autoload": { 572 | "psr-0": { 573 | "Twig_": "lib/" 574 | } 575 | }, 576 | "notification-url": "https://packagist.org/downloads/", 577 | "license": [ 578 | "BSD-3-Clause" 579 | ], 580 | "authors": [ 581 | { 582 | "name": "Fabien Potencier", 583 | "email": "fabien@symfony.com", 584 | "homepage": "http://fabien.potencier.org", 585 | "role": "Lead Developer" 586 | }, 587 | { 588 | "name": "Armin Ronacher", 589 | "email": "armin.ronacher@active-4.com", 590 | "role": "Project Founder" 591 | }, 592 | { 593 | "name": "Twig Team", 594 | "homepage": "http://twig.sensiolabs.org/contributors", 595 | "role": "Contributors" 596 | } 597 | ], 598 | "description": "Twig, the flexible, fast, and secure template language for PHP", 599 | "homepage": "http://twig.sensiolabs.org", 600 | "keywords": [ 601 | "templating" 602 | ], 603 | "time": "2017-04-18T21:50:11+00:00" 604 | }, 605 | { 606 | "name": "zendframework/zend-diactoros", 607 | "version": "1.4.0", 608 | "source": { 609 | "type": "git", 610 | "url": "https://github.com/zendframework/zend-diactoros.git", 611 | "reference": "b03f285a333f51e58c95cce54109a4a9ed691436" 612 | }, 613 | "dist": { 614 | "type": "zip", 615 | "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/b03f285a333f51e58c95cce54109a4a9ed691436", 616 | "reference": "b03f285a333f51e58c95cce54109a4a9ed691436", 617 | "shasum": "" 618 | }, 619 | "require": { 620 | "php": "^5.4 || ^7.0", 621 | "psr/http-message": "~1.0" 622 | }, 623 | "provide": { 624 | "psr/http-message-implementation": "1.0" 625 | }, 626 | "require-dev": { 627 | "ext-dom": "*", 628 | "ext-libxml": "*", 629 | "phpunit/phpunit": "^4.6 || ^5.5", 630 | "zendframework/zend-coding-standard": "~1.0.0" 631 | }, 632 | "type": "library", 633 | "extra": { 634 | "branch-alias": { 635 | "dev-master": "1.4-dev", 636 | "dev-develop": "1.5-dev" 637 | } 638 | }, 639 | "autoload": { 640 | "psr-4": { 641 | "Zend\\Diactoros\\": "src/" 642 | } 643 | }, 644 | "notification-url": "https://packagist.org/downloads/", 645 | "license": [ 646 | "BSD-2-Clause" 647 | ], 648 | "description": "PSR HTTP Message implementations", 649 | "homepage": "https://github.com/zendframework/zend-diactoros", 650 | "keywords": [ 651 | "http", 652 | "psr", 653 | "psr-7" 654 | ], 655 | "time": "2017-04-06T16:18:34+00:00" 656 | } 657 | ], 658 | "packages-dev": [], 659 | "aliases": [], 660 | "minimum-stability": "stable", 661 | "stability-flags": [], 662 | "prefer-stable": false, 663 | "prefer-lowest": false, 664 | "platform": [], 665 | "platform-dev": [] 666 | } 667 | --------------------------------------------------------------------------------