router
routing
router | routing | |
---|---|---|
4 | 3 | |
1,062 | 7,542 | |
- | 0.2% | |
0.0 | 7.6 | |
about 2 months ago | 2 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
router
-
Seeking recommendation for drop in Router for legacy file based PHP app
I've found bramus/router to be pretty convenient for migrating projects. It has middleware support, so it's easier to migrate your authorization/authentication stuff.
- Optimizing my MVC Routing Class
-
How can i create route endpoints with hiding folder and file names?
As an example with bramus/router:
-
Laravel or Yii in 2022
I just use a router like Bramus together with a PDO wrapper and my views are just old-school PHP templates (no Twig/Blade/Smarty). For logging check out monolog.
routing
-
olvlvl/composer-attribute-collector v1.2.0
Packages that support attributes for configuration need to roll out their own attribute collector for PHP doesn't provide a feature to query the entire code base for attributes. For example, here's one of the classes that deal with attributes for symfony/routing: https://github.com/symfony/routing/blob/6.2/Loader/AnnotationClassLoader.php. That's what this plugin offers: "a convenient and near zero-cost way to retrieve targets of PHP 8 attributes.". If you're not the maintainer of a package that deals with attributes you probably don't need that.
-
Piko router, a lightweight and blazing fast router for PHP
To demonstrate this search efficiency, I wrote some benchmark tests to compare Piko router against Fastroute and Symfony Router which are references in their domain.
-
Trying to Learn MVC for Laravel but kind of not sold on it , can someone explain/help?
- Symfony's Router
What are some alternatives?
Route - Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.
Fast Route - Fast request router for PHP
mezon-router - Small and fast router
clean-code-php - :bathtub: Clean Code concepts adapted for PHP
router - Lightweird, easy to use and understand router which doubles as a micro framework if utilizing build-in support for Syrus.
slim4-skeleton - A Slim 4 Skeleton
Siler - ⚡ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.
router - Router implementation for fasthttp
php-mvc - A simple PHP model-view-controller framework, built step-by-step as part of the "Write PHP like a pro: build an MVC framework from scratch" course on Udemy.
Monolog - Sends your logs to files, sockets, inboxes, databases and various web services
dispatch - a tiny library for quick and easy PHP apps