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 Laravel Package

middlewares/base-path

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
middlewares/base-path-router 0.90 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. 4 — 0 — 0 0.0 — MIT 1 year ago
selective/basepath 0.80 Selective Basepath lets Laravel routes use a different base path per request, so apps deployed in a subdirectory can still serve selected routes from the domain root. Middleware-driven configuration keeps URL generation, redirects, and assets correct without duplicating routes or rewriting config. 48 49 7 20K 1 5.9 37.6 MIT 9 months ago
View on GitHub
middlewares/trailing-slash 0.79 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
nscreed/laravel-migration-paths 0.77 Laravel Migration Paths lets you register additional migration directories beyond the default database/migrations folder. Keep package, module, or domain migrations organized and discoverable while running artisan migrate normally. 25 — 3 — 0 0.5 — MIT 5 years ago
View on GitHub
barryvdh/laravel-stack-middleware 0.77 A Laravel package by barryvdh that lets you register named middleware stacks and apply multiple middleware to routes with a single reference, keeping route definitions tidy and middleware configuration reusable. 41 43 7 4K 0 19.2 30.2 MIT 3 months ago
View on GitHub
fsasvari/laravel-trailing-slash 0.77 A small Laravel package for consistent trailing slashes in URLs. It provides middleware and helpers to add, remove, or enforce trailing slashes, helping avoid duplicate routes and SEO issues while keeping redirects and canonical URLs predictable. 61 61 21 3K 3 19.6 27.2 MIT 1 month ago
View on GitHub
jackiedo/path-helper 0.77 PHP helper for working with local filesystem paths. Normalize directory separators, restyle paths for Unix/Windows/current OS, build absolute/relative paths, check if paths are absolute/relative, and test ancestor/descendant relationships. Composer install. 2 2 0 8K 0 0.3 47.7 MIT 4 years ago
View on GitHub
Context7
illuminatech/url-trailing-slash 0.77 Laravel middleware that enforces consistent trailing slashes by redirecting requests to the canonical URL form. Avoid duplicate-content SEO issues and keep links predictable, with flexible per-route configuration for when a trailing slash should or shouldn't appear. 49 50 6 7K 0 0.4 29.7 NOASSERTION —
View on GitHub
laravel-admin/base 0.76 Alpha Laravel package that adds a Bootstrap-compatible admin interface with login and role-based access. Includes migrations and configurable routes (domain or /admin prefix), middleware, roles, menu, and extra CSS/JS. Scaffold admin routes via Admin::routes(). 3 3 0 18 0 11.2 11.1 — 6 months ago
View on GitHub
illuminate/routing 0.76 Laravel's standalone routing component maps HTTP requests to closures or controllers, with route groups, middleware, parameters, named routes, model binding, and resourceful routes. Framework-agnostic enough to power the router in any PHP application. 122 140 76 354K 0 2.9 47.8 MIT —
View on GitHub
zendframework/zend-stratigility 0.76 Zend Stratigility is a lightweight middleware pipeline for PHP, built around PSR-7 HTTP messages. Compose request/response processing with reusable middleware, route-like piping, and error handling—ideal for building microservices or adding middleware to existing apps. 225 252 52 10K 3 6.3 17.2 BSD-3-Clause 7 years ago
View on GitHub
imanghafoori/laravel-middlewarize 0.76 — 113 114 5 7 0 2.2 0.4 MIT 2 years ago
View on GitHub
gnahotelsolutions/laravel-trailing-slash 0.76 Laravel middleware that normalizes trailing slashes on incoming URLs, redirecting requests to your preferred format (with or without a trailing slash) through configurable, SEO-friendly redirects. Easy to install and customize for cleaner, consistent routes. 11 — 1 — 0 0.4 — MIT 1 year ago
View on GitHub
dontdrinkandroot/path 0.76 — 1 1 0 38 3 1.6 18.3 NOASSERTION 4 years ago
View on GitHub
Context7
webmozart/path-util 0.76 Lightweight PHP utility for safe, cross-platform path handling. Normalize, join, resolve and compare filesystem paths, with helpers for absolute/relative paths and canonicalization. Useful for file operations and libraries needing consistent path logic. 469 456 27 410K 7 8.8 43.7 MIT 10 years ago
View on GitHub
Deep Wiki
Context7
ahmadwaleed/laravel-blanket 0.75 Laravel Blanket wraps controller actions in a single, reusable layer so you can apply consistent logic like caching, logging, or authorization without repeating code. Lightweight and simple, it keeps controllers clean and behavior predictable across your app. 215 — 17 — 3 2.7 0.8 MIT 5 years ago
View on GitHub
konekt/concord 0.75 Laravel extension for building modular applications using conventions on top of service providers. Manage in-app and external modules with isolation-friendly structure, version compatibility across Laravel releases, and tooling around module registration and organization. 237 237 15 97K 3 2.3 36.3 MIT —
View on GitHub
yiisoft/aliases 0.75 yiisoft/aliases stores and resolves path aliases (strings starting with @) for filesystem paths or URLs. Define aliases like @root, @vendor, @bin and expand them on demand, supporting nested aliases (e.g., @bin => @vendor/bin) without checking path existence. 24 24 9 64K 3 3.9 48.0 BSD-3-Clause 11 months ago
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console