Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Base Path Router Laravel Package

middlewares/base-path-router

Laravel middleware for routing applications from a configurable base path, making subdirectory deployments easier without rewriting route definitions. Helps keep route matching and URL generation consistent.

Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
middlewares/base-path 0.90 A small Laravel middleware package for apps served from a subdirectory. It helps normalize the base path so routes, redirects, and generated URLs work correctly behind a path prefix, with simple middleware registration and minimal setup. 3 3 0 131K 0 0.0 55.3 MIT 1 year ago
View on GitHub
middlewares/trailing-slash 0.85 Laravel middleware that normalizes trailing slashes by redirecting URLs to your preferred format, with configurable behavior, query-string preservation, and clean handling of requests that already match. 32 34 2 17K 0 0.2 37.6 MIT 1 year ago
View on GitHub
middlewares/fast-route 0.83 PSR-15 middleware that integrates FastRoute for route matching and handler discovery. Adds the matched handler and route parameters as request attributes, and can generate 404/405 responses via a PSR-17 response factory (auto-detected by default). 94 98 7 5K 0 5.5 23.4 MIT 1 year ago
View on GitHub
developermarius/simple-router 0.82 A lightweight, easy-to-use router for Laravel and PHP applications. Define clean routes with minimal configuration, map URLs to controllers or closures, and keep setup simple—ideal for small projects or developers who want straightforward routing without extra complexity. 11 11 8 35 2 0.7 8.2 — 1 year ago
View on GitHub
middlewares/request-handler 0.82 PSR-15/PSR-7 request handler middleware for PHP. Build a flexible pipeline that routes an incoming ServerRequest to your handler stack, with clean delegation and composable middlewares—ideal for frameworks or custom apps needing standard request processing. 43 46 5 71K 0 4.9 44.3 MIT 1 year ago
View on GitHub
http-interop/http-middleware 0.82 Interfaces for reusable PSR-7/PSR-15-style HTTP middleware components, enabling interoperability across frameworks and libraries. Define, compose, and share middleware pipelines with minimal coupling between request handlers and implementations. 71 76 7 10K 0 0.3 20.9 MIT —
View on GitHub
yiisoft/middleware-dispatcher 0.82 A PSR-15 middleware dispatcher for Yii applications. Build and execute middleware pipelines with lazy resolution through the DI container, fallback request handlers, and support for individual middleware or grouped stacks. Integrates cleanly with Yii's request handling and the PSR-7/PSR-15 ecosystem... 18 — 8 — 1 2.8 0.4 BSD-3-Clause 10 months ago
psr/http-server-middleware 0.82 PSR-15 HTTP server middleware interfaces for PHP. Provides the MiddlewareInterface specification used by request handlers and middleware stacks; no implementation included. Install via psr/http-server-middleware and use with compatible frameworks or libraries. 187 201 11 6M 0 1.6 55.3 MIT 3 years ago
View on GitHub
pecee/simple-router 0.81 A fast, lightweight PHP router with a simple, expressive API. Supports route groups, middleware, custom regex patterns, named routes and reverse routing, plus optional parameter binding and subdomain routing. Works with or without a framework. 672 694 124 8K 41 19.9 30.7 — 2 years ago
View on GitHub
middlewares/utils 0.81 Common utilities for Middlewares PSR packages: auto-discovered PSR-7/PSR-17 Factory (Diactoros, Guzzle, Slim, Nyholm, Sunrise) plus PSR-15 Dispatcher for testing, callable handler helpers, and HTTP error exceptions. 49 50 12 138K 1 9.7 47.5 MIT 1 year ago
View on GitHub
middlewares/client-ip 0.81 A Laravel middleware for reliably resolving the client's real IP address, including requests passing through proxies, load balancers, and CDNs. Supports forwarded headers and configurable trusted proxies for accurate IP detection. 16 — 8 — 1 0.4 — MIT 1 year ago
rareloop/router 0.81 Rareloop Router is a lightweight, fast PHP router built around PSR-7 and PSR-15. It supports route parameters, groups, middleware, named routes and route caching, making it easy to add clean, expressive routing to any PHP application without a full framework. 87 — 9 — 0 11.5 — MIT 5 months ago
mezon/router 0.81 Mezon Router is a fast, lightweight routing library for PHP with support for route groups, middleware, controllers, and RESTful routes. It provides a simple API for defining and dispatching routes, making it a flexible choice for small to medium PHP applications. 272 271 18 474 3 2.6 6.4 — —
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin