PHPackages                             honda/url-resolver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. honda/url-resolver

Abandoned → [felixdorn/laravel-url-resolver](/?search=felixdorn%2Flaravel-url-resolver)Library[Utility &amp; Helpers](/categories/utility)

honda/url-resolver
==================

Resolve routes and urls with one function.

1.0.0(4y ago)02.6k[3 PRs](https://github.com/felixdorn/url-resolver/pulls)1MITPHPPHP ^8CI passing

Since Mar 22Pushed 4mo agoCompare

[ Source](https://github.com/felixdorn/url-resolver)[ Packagist](https://packagist.org/packages/honda/url-resolver)[ RSS](/packages/honda-url-resolver/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (6)Versions (8)Used By (1)

[![](art/banner.png)](art/banner.png)

Url Resolver for Laravel
========================

[](#url-resolver-for-laravel)

Resolve routes and urls with one function.

[![Tests](https://github.com/laravel-honda/url-resolver/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/laravel-honda/url-resolver/actions/workflows/tests.yml)[![Formats](https://github.com/laravel-honda/url-resolver/actions/workflows/formats.yml/badge.svg?branch=master)](https://github.com/laravel-honda/url-resolver/actions/workflows/formats.yml)[![Version](https://camo.githubusercontent.com/8b53ff5b5eaf7d356a691fe0b28751d0c9ce8be68bef22c33efb2ba662182014/68747470733a2f2f706f7365722e707567782e6f72672f686f6e64612f75726c2d7265736f6c7665722f76657273696f6e)](//packagist.org/packages/honda/url-resolver)[![Total Downloads](https://camo.githubusercontent.com/a825013d4a73a2e2f182bd540f6278caa76c24a4cf5148194d9457b472a56a27/68747470733a2f2f706f7365722e707567782e6f72672f686f6e64612f75726c2d7265736f6c7665722f646f776e6c6f616473)](//packagist.org/packages/honda/url-resolver)[![License](https://camo.githubusercontent.com/41138b147797c5c578322886af9a38b7f8d553fd81cd804d525f87aaa5d3fad3/68747470733a2f2f706f7365722e707567782e6f72672f686f6e64612f75726c2d7265736f6c7665722f6c6963656e7365)](//packagist.org/packages/honda/url-resolver)

Installation
------------

[](#installation)

> Requires [PHP 8.0+](https://php.net/releases)

You can install the package via composer:

```
composer require felixdorn/laravel-url-resolver
```

Usage
-----

[](#usage)

```
use Honda\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
-------

[](#testing)

Runs the entire test suite:

```
composer test
```

Runs PHP CS Fixer:

```
composer lint
```

Runs PHPStan:

```
composer test:types
```

Runs unit tests

```
composer test:unit
```

**Url Resolver for Laravel** was created by [Félix Dorn](https://twitter.com/afelixdorn) under the [MIT License](LICENSE.md)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance50

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~76 days

Total

4

Last Release

1649d ago

Major Versions

0.2.0 → 1.0.02021-11-07

PHP version history (3 changes)0.1.0PHP ^7.4

0.2.0PHP ^7.4 | ^8

1.0.0PHP ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/eeca3822ab1a1281e77e0c4f7bdb671c840417def9884107629952224ce42eb0?d=identicon)[felixdorn](/maintainers/felixdorn)

---

Top Contributors

[![felixdorn](https://avatars.githubusercontent.com/u/55788595?v=4)](https://github.com/felixdorn "felixdorn (20 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")

---

Tags

routeurl

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/honda-url-resolver/health.svg)

```
[![Health](https://phpackages.com/badges/honda-url-resolver/health.svg)](https://phpackages.com/packages/honda-url-resolver)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[tonysm/rich-text-laravel

Integrates Trix content with Laravel

46577.8k1](/packages/tonysm-rich-text-laravel)[mauricius/laravel-htmx

Laravel helper library for Htmx

364101.1k1](/packages/mauricius-laravel-htmx)[illuminate/reflection

The Illuminate Reflection package.

361.6M3](/packages/illuminate-reflection)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[spatie/laravel-screenshot

Take screenshots of web pages in Laravel apps

7615.9k2](/packages/spatie-laravel-screenshot)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
