Commit Graph

30 Commits

Author SHA1 Message Date
Joe Ginley 17c58ae362 Added php minimum version badge and removed the requirements text.
Updated composer libraries, fixed phpunit errors after updating.
Updated docker-compose version.
Updated docker to use php 7.4.
2020-02-04 00:05:42 -05:00
PJ Dietz 645bcf227c Upgrade PHPUnit to v8 2019-06-17 16:04:55 -04:00
PJ Dietz de46c8e089 Rework Server to be configured with setters 2018-06-25 15:46:37 -04:00
PJ Dietz 64628c4065 Move MethodMap to Route namespace 2018-06-22 15:54:01 -04:00
PJ Dietz ac8bdce037 Remove MethodMapInterface 2018-06-22 15:10:50 -04:00
PJ Dietz 9b29f2a09e Add Route::register method to delegate to MethodMap 2018-06-22 14:44:43 -04:00
PJ Dietz 50f1004be5 Test cleanup 2017-08-03 14:29:54 -04:00
PJ Dietz 36a170bcff Upgrade PHPUnit to ^6 2017-07-22 15:21:41 -04:00
PJ Dietz 36bb00dc1a Refactor route tests 2016-05-21 08:45:55 -04:00
PJ Dietz 139e3c43da Template Routes do not match slash prefix variables that contain slashes as the non-first character 2015-05-25 10:17:42 -04:00
PJ Dietz a825654336 Refactor MiddlewareInterface::dispatch to MiddlewareInterface::__invoke 2015-05-19 18:35:29 -04:00
PJ Dietz 15602d8e97 Remove suppression operator from RegexRoute 2015-05-15 19:11:43 -04:00
PJ Dietz 6232f67b9c Update RouteInterface and routes 2015-05-13 21:53:33 -04:00
PJ Dietz 61fd0f3354 TemplateRoute more throughly implements URI Templates as defined in RFC 6570
Template support:
- Simple strings /{var}
- Reserved string /{+var}
- Multiple variables per expression /{hello,larry}
- Dot-prefixes /{.filename,extension}
- Slash-prefiex {/path,to,here}
- Explosion {/paths*}, /cats/{ids*} explode to list arrays
2015-05-13 21:53:27 -04:00
PJ Dietz 1bb93434b2 Store variables from URI as uriVariables attributes 2015-05-12 17:58:35 -04:00
PJ Dietz 37af085ec5 Pass DispatcherInterface to RouteFactory on construction 2015-05-10 11:46:51 -04:00
PJ Dietz 36263ba3de Update routes to match new MiddlewareInterface 2015-05-10 09:05:05 -04:00
PJ Dietz 1d30fcbbba Remove RouteTable, revise RouteFactory, 2015-05-08 01:03:07 -04:00
PJ Dietz 09ea17d349 Update TemplateRoute 2015-05-08 00:25:15 -04:00
PJ Dietz 8f4165cdb6 Revise RegexRoute 2015-05-07 23:56:47 -04:00
PJ Dietz cfcc3b9690 Revise PrefixRoute 2015-05-07 23:30:42 -04:00
PJ Dietz 86d36e8c15 Revise StaticRoute 2015-05-07 23:25:08 -04:00
PJ Dietz 58b5107289 Revise Route 2015-05-07 23:14:48 -04:00
PJ Dietz 4a75f4e3a6 Update tests to to avoid passing a reveal() return value by reference. 2015-04-13 19:46:03 -04:00
PJ Dietz cb87660548 Add RouteFactoryInterface 2015-04-06 20:24:40 -04:00
PJ Dietz 6d9adfc7ee Update Template Route to accept one parameter for the default variable pattern or map of patterns 2015-04-06 19:55:04 -04:00
PJ Dietz 57271fa19f Add RouteFactory 2015-04-02 22:15:07 -04:00
PJ Dietz e4ef1a8cb3 Add TemplateRoute 2015-04-02 20:53:54 -04:00
PJ Dietz c82acfa380 Add RegexRoute 2015-04-02 20:21:49 -04:00
PJ Dietz d367f1de79 Add Static- and PrefixRoutes 2015-04-02 20:10:13 -04:00