felixdorn/laravel-url-resolver
最新稳定版本:2.0.2
Composer 安装命令:
composer require felixdorn/laravel-url-resolver
包简介
Resolve routes and urls with one function.
README 文档
README
Repository has been moved from laravel-honda/url-resolver to felixdorn/laravel-url-resolver.
Url Resolver for Laravel
Resolve routes and urls with one function.
Installation
Supports PHP 8.0 and PHP 8.1.
You can install the package via composer:
composer require felixdorn/laravel-url-resolver
Usages
use Felix\UrlResolver\UrlResolver; UrlResolver::guess('welcome', []);
- The route exists:
route('...', $context) - The route does not exist:
url(...') - The "route" is an external URL: returns it
Testing
composer test
Url Resolver for Laravel was created by Félix Dorn under the MIT License
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-18