-
Notifications
You must be signed in to change notification settings - Fork 2
A URI Template Parser for PHP
License
GPL-2.0, MIT licenses found
Licenses found
GPL-2.0
GPL-LICENSE.txt
MIT
MIT-LICENSE.txt
kevburnsjr/php-uri-template-parser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PHP URI Template Parser A feature-complete URI Template Parser class for PHP >= 5.2.3 http://lab.kevburnsjr.com/php-uri-template-parser Dual licensed under the MIT or GPL Version 2 licenses. As of this writing, URI Template is still very much a moving target. The latest version of the URI Template Spec can be found at http://tools.ietf.org/html/draft-gregorio-uritemplate-04 # Usage require 'URI_Template_Parser.class.php'; $template = new URI_Template_Parser("/users/{userid}"); $url = $parser->expand(array('userid' => 5)); Additional usage examples can be found in the tests file. TODO: * Implement partial modifiers (":" and "^") * Throw some meaningful errors when things go wrong
About
A URI Template Parser for PHP
Resources
License
GPL-2.0, MIT licenses found
Licenses found
GPL-2.0
GPL-LICENSE.txt
MIT
MIT-LICENSE.txt
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published