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
99.99% Uptime for MySQL and PostgreSQL on Google Cloud
Cloud SQL Enterprise Plus gives you a 99.99% availability SLA with near-zero downtime maintenance—typically under 10 seconds. Get 2x better read/write performance, intelligent data caching, and 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server with built-in vector search for gen AI apps. New customers get $300 in free credit.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of simple-router!