Skip to content

Kenura-R-Gunarathna/Sroute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sroute - Simple PHP Router

Sroute is a lightweight, zero-dependency routing library for PHP. It supports RESTful methods, named routes, middleware, and controller-based routing.

Installation

composer require krag/sroute

Documentation

Full documentation is available at sroute.krag.lk.

Features

  • RESTful Verbs: GET, POST, PUT, PATCH, DELETE support.
  • Named Routes: Generate URLs for routes using their names.
  • Middleware: Chainable middleware support.
  • Controller Support: Clean syntax for controller-based routing.
  • Zero Dependencies: Lightweight and fast.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple Routing package based on php. You can use this to build your own website with beautiful urls and with much better sequrity. You can even confgure tailwind css for this also.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages