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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of simple-router!