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
Build Agents and Models on One Platform
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of simple-router!