OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jefersson Nathan [Thu, 13 Feb 2014 11:20:13 +0000 (09:20 -0200)]
Replace tabs to space on identation
- Remove file not used and triling lines and tabs of files
Jefersson Nathan [Wed, 12 Feb 2014 18:35:02 +0000 (16:35 -0200)]
Remove method map() of PHPRouter\Router
Jefersson Nathan [Wed, 12 Feb 2014 18:11:19 +0000 (16:11 -0200)]
Separate responsabilities of Classes
- Refactor on PHPRouter\Route and PHPRouter\Router to accept a collection of routers. That is now more flexible and simple to manager yours routers.
- Update README.md with new form to create Routers
- Add "type" and PHPUnit like "require-dev" on composer.json file
- Update example.php file with new syntax
Jefersson Nathan [Wed, 12 Feb 2014 11:54:10 +0000 (09:54 -0200)]
PSR-0 compliance
- Add namespaces for classes Router and Route. Now it is PHPRouter\Router and PHPRouter\Router.
- Add autoload by PSR-0 compliance
- Make small refactors on classes
Danny van Kooten [Thu, 12 Sep 2013 19:15:32 +0000 (21:15 +0200)]
Fixed variable name
Property name fix.
Danny van Kooten [Tue, 31 Jul 2012 19:16:17 +0000 (21:16 +0200)]
updated readme
Danny van Kooten [Mon, 30 Jul 2012 09:19:19 +0000 (11:19 +0200)]
More examples.
Danny van Kooten [Mon, 30 Jul 2012 09:14:24 +0000 (02:14 -0700)]
Merge pull request #12 from niahoo/precedence
same priorities for url match and generate
Danny van Kooten [Tue, 19 Jun 2012 12:48:56 +0000 (14:48 +0200)]
Fixes #10
Ludovic Demblans [Tue, 19 Jun 2012 11:42:30 +0000 (13:42 +0200)]
same priorities for url match and generate
Danny van Kooten [Sun, 8 Apr 2012 13:47:35 +0000 (15:47 +0200)]
Strips GET variables from URL before matching. Fixes #9
Danny van Kooten [Sat, 7 Apr 2012 11:38:26 +0000 (13:38 +0200)]
Added LICENSE file
Danny van Kooten [Sat, 7 Apr 2012 11:37:58 +0000 (13:37 +0200)]
Merge branch 'master' of github.com:dannyvankooten/PHP-Router
Danny van Kooten [Sat, 7 Apr 2012 11:36:17 +0000 (13:36 +0200)]
Added LICENSE file
Danny van Kooten [Mon, 2 Apr 2012 08:10:00 +0000 (01:10 -0700)]
Merge pull request #8 from laokaplow/patch-1
Fixed minor indentation error
laokaplow [Sun, 1 Apr 2012 03:08:59 +0000 (20:08 -0700)]
Fixed misleading indentation
Danny van Kooten [Mon, 27 Feb 2012 14:17:07 +0000 (15:17 +0100)]
Removed sublime files
Danny van Kooten [Mon, 27 Feb 2012 14:13:33 +0000 (15:13 +0100)]
Removed sublime files
Danny van Kooten [Mon, 27 Feb 2012 14:13:02 +0000 (15:13 +0100)]
Removed sublime files
Danny van Kooten [Mon, 27 Feb 2012 14:11:50 +0000 (15:11 +0100)]
Fixes #5
Danny van Kooten [Fri, 10 Feb 2012 09:21:59 +0000 (10:21 +0100)]
Fixes #4
- Forced suffixing of Route URL's with a forward slash.
- Added getters and setters for parameters.
Danny van Kooten [Thu, 9 Feb 2012 20:14:32 +0000 (21:14 +0100)]
Readme fix
Danny van Kooten [Thu, 9 Feb 2012 20:13:00 +0000 (21:13 +0100)]
Updated readme for 1.1
Danny van Kooten [Thu, 9 Feb 2012 20:09:33 +0000 (21:09 +0100)]
1.1 changes
- Better inline documentation
- More examples
- Changed the way Route targets are handled. You can now specify anything (string|array) and use your own custom method to do something with this target.
- Code clean up
Danny van Kooten [Sun, 15 Jan 2012 22:06:06 +0000 (23:06 +0100)]
readme fix
Danny van Kooten [Sun, 15 Jan 2012 22:05:29 +0000 (23:05 +0100)]
Updated readme file for v1.1
Danny van Kooten [Sun, 15 Jan 2012 22:01:04 +0000 (23:01 +0100)]
Implemented match and matchCurrentRequest methods.
Danny van Kooten [Sun, 15 Jan 2012 21:45:24 +0000 (22:45 +0100)]
More rewriting..
Danny van Kooten [Sun, 15 Jan 2012 21:06:21 +0000 (22:06 +0100)]
First commit after rewriting the class. Added a Route class that holds the
various route information.
Improved the matching, only the essential stuff is done for every route. The
way the Router class works has been changed entirely. This comes with
various benefits including improved readability."
Danny van Kooten [Tue, 3 Jan 2012 08:35:00 +0000 (09:35 +0100)]
Uncommented some examples
Danny van Kooten [Tue, 3 Jan 2012 08:30:09 +0000 (09:30 +0100)]
Fixes #2 - now compatible with PHP 5.2.17, did not test any lower versions.
Danny van Kooten [Mon, 2 Jan 2012 22:46:15 +0000 (23:46 +0100)]
Fixes #1
Danny van Kooten [Sun, 4 Dec 2011 13:36:25 +0000 (14:36 +0100)]
Added :controller and :action segments. Added regex filters for URL variables.
Danny van Kooten [Tue, 29 Nov 2011 07:40:08 +0000 (08:40 +0100)]
Updated example, small typo.
Danny van Kooten [Sun, 27 Nov 2011 22:22:17 +0000 (23:22 +0100)]
Fixed REQUEST_METHOD hack for PUT and DELETE requests.
Danny van Kooten [Sun, 27 Nov 2011 20:34:46 +0000 (21:34 +0100)]
Removed var_dump, fixed trailing slash issue for resources.
Danny van Kooten [Sun, 27 Nov 2011 19:17:31 +0000 (20:17 +0100)]
Fixed case sensitivity. Fixed extracting target from URL when using base_url.
Danny van Kooten [Sun, 27 Nov 2011 16:17:11 +0000 (17:17 +0100)]
updated readme
Danny van Kooten [Sun, 27 Nov 2011 16:10:44 +0000 (17:10 +0100)]
updated example
Danny van Kooten [Sun, 27 Nov 2011 16:08:47 +0000 (17:08 +0100)]
Method naming consistency. Updated readme.
Danny van Kooten [Sun, 27 Nov 2011 16:02:58 +0000 (17:02 +0100)]
Added readme
Danny van Kooten [Sun, 27 Nov 2011 15:56:57 +0000 (16:56 +0100)]
First commit