Danny van Kooten
|
a8ee8e875f
|
Merge pull request #130 from dannyvankooten/strpos-request-method
Use `stripos` to compare request method (instead of `explode` + `in_array`) for improved performance.
|
2016-06-21 22:37:56 +02:00 |
|
Danny van Kooten
|
48524b67cb
|
Add benchmark script to tests directory for easy benchmarking.
|
2016-06-21 15:27:21 +02:00 |
|
Danny van Kooten
|
39c5009247
|
Merge pull request #136 from koenpunt/travis-docker
Optimize Travis builds, thanks @koenpunt!
v1.2.0
|
2015-11-30 07:47:43 +07:00 |
|
Koen Punt
|
018771bee3
|
add php 7.0
|
2015-11-29 16:30:06 +01:00 |
|
Koen Punt
|
13f227e843
|
add composer to travis cache
|
2015-11-29 16:26:36 +01:00 |
|
Koen Punt
|
d5f3643888
|
disable sudo to use docker builds
|
2015-11-29 16:10:24 +01:00 |
|
Danny van Kooten
|
6fe6f4b196
|
Use stripos to compare request method, instead of explode + in_array .
|
2015-11-03 08:13:51 +07:00 |
|
Danny van Kooten
|
b0d115431e
|
Add tests for non-regex routes, see #100
|
2015-11-03 08:03:34 +07:00 |
|
Danny van Kooten
|
97b2ba7daf
|
Add PHPDocs for class properties.
|
2015-11-03 07:37:53 +07:00 |
|
Danny van Kooten
|
c3f7a669a8
|
Add @throws declaration to method that can throw an Exception.
|
2015-11-03 07:37:36 +07:00 |
|
Danny van Kooten
|
c9ce952af1
|
Remove unused alteration of $_REQUEST superglobal. Closes #104
|
2015-11-03 07:37:04 +07:00 |
|
Danny van Kooten
|
e7c5afefca
|
Add .gitattributes to ignore certain files & dirs when preparing export for things as Composer. (http://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production/)
|
2015-03-28 11:51:38 +01:00 |
|
Koen Punt
|
f0e9c913a6
|
blacklist vendor
|
2015-03-02 16:51:27 +01:00 |
|
Koen Punt
|
7b2e59a444
|
Merge pull request #107 from dannyvankooten/phpunit-config
Use local phpunit
|
2015-03-02 15:41:30 +01:00 |
|
Koen Punt
|
2035dab8be
|
rename phpunit.xml to phpunit.xml.dist
|
2015-03-02 15:13:56 +01:00 |
|
Koen Punt
|
88af3a6fa5
|
remove path to individual test
|
2015-03-02 15:10:38 +01:00 |
|
Koen Punt
|
ed1c3edfbd
|
Use local phpunit
Also, no need to specify the path to the config
|
2015-03-02 15:10:03 +01:00 |
|
Danny van Kooten
|
0e1e2b7d63
|
Add CodeClimate test coverage reporter to Travis. Refactor tests into /tests subdirectory.
|
2015-03-02 19:35:56 +07:00 |
|
Danny van Kooten
|
0c01df1128
|
Add Test Coverage badge to README
|
2015-03-02 19:28:32 +07:00 |
|
Koen Punt
|
179d2fe5bc
|
Merge pull request #105 from koenpunt/add-getroutes
add test for getRoutes
|
2015-03-01 20:53:39 +01:00 |
|
Koen Punt
|
3a932e7588
|
add test for getRoutes
remove obsolete getRoutes method from debug class
|
2015-03-01 20:47:54 +01:00 |
|
Danny van Kooten
|
60cf81c963
|
Merge pull request #103 from koenpunt/phpunit-composer
add phpunit to composer.json
|
2015-03-01 23:09:36 +07:00 |
|
Koen Punt
|
9bf911515c
|
add phpunit to composer.json
|
2015-03-01 17:07:47 +01:00 |
|
Danny van Kooten
|
fa50148d7b
|
Merge pull request #97 from SebastianPoell/patch-1
Update AltoRouter.php
|
2015-03-01 22:35:53 +07:00 |
|
Danny van Kooten
|
24d42506ec
|
Fix badges in README
|
2015-03-01 22:32:15 +07:00 |
|
Danny van Kooten
|
6a77802419
|
Add badges to README
|
2015-03-01 22:29:40 +07:00 |
|
Danny van Kooten
|
f4b09c3b6c
|
Add CodeClimate to README. Update MIT copyright year.
|
2015-03-01 22:27:17 +07:00 |
|
Sebastian Pöll
|
40adf80fd2
|
Update AltoRouter.php
|
2014-12-19 16:20:11 +01:00 |
|
Sebastian Pöll
|
3de8ea70d5
|
Update AltoRouter.php
Added @return to getRoutes. Removed unnecessary whitespaces.
|
2014-12-19 16:13:03 +01:00 |
|
Sebastian Pöll
|
009f163c3d
|
Update AltoRouter.php
Added function getRoutes(). Often it's nice to process routes or display them without extending AltoRouter.
|
2014-12-19 15:26:51 +01:00 |
|
Danny van Kooten
|
a7a6b99ac8
|
Merge branch 'master' of github.com:dannyvankooten/AltoRouter
|
2014-10-07 18:13:18 +02:00 |
|
Danny van Kooten
|
384d0ed35b
|
Readme update, link usage sections to AltoRouter.com
|
2014-10-07 18:11:22 +02:00 |
|
Koen Punt
|
4acd26880c
|
Fix incorrect example
|
2014-10-07 10:22:05 +02:00 |
|
Danny van Kooten
|
c0041d10e7
|
Merge pull request #79 from dannyvankooten/cleanup-readme
Update/Cleanup README
|
2014-10-07 09:24:30 +02:00 |
|
John Long
|
f468fe9c02
|
Merge pull request #88 from Nyholm/patch-1
Added PHP 5.6 and HHVM to travis.yml
|
2014-09-25 06:41:42 -05:00 |
|
Tobias Nyholm
|
fdadb3119d
|
Added PHP 5.6 and HHVM to travis.yml
|
2014-09-25 08:21:10 +02:00 |
|
Koen Punt
|
768d3ea445
|
mention addRoutes
|
2014-05-10 17:52:49 +02:00 |
|
Koen Punt
|
4b1c205de4
|
Cleanup README
|
2014-05-10 17:44:34 +02:00 |
|
Koen Punt
|
cd145f993e
|
Merge pull request #78 from koenpunt/escape-dash
escape dash to fix tests
|
2014-05-10 14:58:06 +02:00 |
|
Koen Punt
|
99f75c28e6
|
escape dash to fix tests
|
2014-05-10 14:56:15 +02:00 |
|
Danny van Kooten
|
aa0706284d
|
Merge pull request #75 from dannyvankooten/add-patch-method-type
Add PATCH to comment as valid method.
|
2014-05-08 11:16:37 +02:00 |
|
Koen Punt
|
55da8fcbda
|
Add PATCH to comment as valid method.
In frameworks like Rails the PATCH method is preferred over PUT. More on this: http://weblog.rubyonrails.org/2012/2/25/edge-rails-patch-is-the-new-primary-http-method-for-updates/
|
2014-05-07 13:39:15 +02:00 |
|
Danny van Kooten
|
353596ec4f
|
Merge pull request #66 from MathB/master
Add matching documentation
|
2014-04-17 13:25:07 +02:00 |
|
Danny van Kooten
|
09d9d946c5
|
Merge pull request #69 from koenpunt/unicode-regex
Add support for unicode regular expressions
v1.1.0
|
2014-04-16 11:44:40 +02:00 |
|
Danny van Kooten
|
b749633151
|
Merge pull request #68 from koenpunt/fix-coverage
Add addRoutes method for bulk adding routes, props @koenpunt
|
2014-04-16 11:43:40 +02:00 |
|
Koen Punt
|
b29440e117
|
Allow instance of iterator in addRoutes
|
2014-04-16 11:39:57 +02:00 |
|
Koen Punt
|
dbe416b9b9
|
Add addRoutes method for bulk adding routes
|
2014-04-16 11:17:42 +02:00 |
|
Koen Punt
|
fc6d743e0a
|
Add support for unicode regular expressions
|
2014-04-16 11:09:59 +02:00 |
|
MathB
|
5cf275f1b5
|
Add matching documentation
|
2014-04-08 23:14:24 +02:00 |
|
Koen Punt
|
fb41766c3d
|
Merge pull request #61 from frosso/patch-1
Typo in example
|
2014-03-11 19:30:45 +01:00 |
|