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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow simple-router

simple-router Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of simple-router!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Libraries

Registered

2024-06-03