Simple, fast, and yet powerful PHP router that is easy to integrate in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expandability in mind. With a simple-router, you can create a new project fast, without depending on a framework.
Features
- Basic routing (GET, POST, PUT, PATCH, UPDATE, DELETE) with support for custom multiple verbs
- Regular Expression Constraints for parameters
- Middleware (classes that intercepts before the route is rendered)
- Generating url to routes
- Custom boot managers to rewrite urls to "nicer" ones
- Input manager; easily manage GET, POST and FILE values
- Optional parameters
- IP based restrictions
Categories
LibrariesLicense
MIT LicenseFollow simple-router
Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform
Build, govern, and optimize agents and models with Gemini Enterprise Agent Platform.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of simple-router!