A routing engine simple enough for small blogs, yet strong enough for enterprise behemoths
Go to file
Funky Waddle 29980d8bc6 feat: implement milestone 2 - basic URI matching and methods
- Implement fluent HTTP methods: get(), post(), put(), patch(), delete()
- Build URI matcher for static paths with PSR-7 ServerRequestInterface support
- Implement match() returning null for no match scenarios
- Implement matchOrFail() throwing NotFoundRouteException for missing routes
- Add path normalization (trailing slashes, leading slashes)
- Create NotFoundRouteException for global 404 handling
- Add comprehensive test coverage with 19 tests passing

All tests passing: 19 tests, 34 assertions

Closes milestone 2 from MILESTONES.md
2026-02-13 15:54:36 -06:00
src feat: implement milestone 2 - basic URI matching and methods 2026-02-13 15:54:36 -06:00
tests/Unit feat: implement milestone 2 - basic URI matching and methods 2026-02-13 15:54:36 -06:00
.gitignore feat: implement milestone 1 - foundation and core architecture 2026-02-13 15:07:59 -06:00
composer.json Update project documentation and composer.json with explicit optional parameter logic and author details 2026-02-12 14:34:25 -06:00
LICENSE.md Initial repository setup with LICENSE, .gitignore, and composer.json 2026-02-12 13:36:48 -06:00
MILESTONES.md feat: implement milestone 2 - basic URI matching and methods 2026-02-13 15:54:36 -06:00
NOTES.md Update project documentation and composer.json with explicit optional parameter logic and author details 2026-02-12 14:34:25 -06:00
SPECS.md Update project documentation and composer.json with explicit optional parameter logic and author details 2026-02-12 14:34:25 -06:00
test_url_generation.php feat: implement milestone 1 - foundation and core architecture 2026-02-13 15:07:59 -06:00