PHPackages                             luminark/url - 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. [Database &amp; ORM](/categories/database)
4. /
5. luminark/url

ActiveLibrary[Database &amp; ORM](/categories/database)

luminark/url
============

Luminark URL package.

0.5.0(10y ago)011MITPHP

Since Dec 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/luminark/url)[ Packagist](https://packagist.org/packages/luminark/url)[ RSS](/packages/luminark-url/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (6)Used By (0)

\#Luminark URL Package

[![Build Status](https://camo.githubusercontent.com/9a442a835729fd3bcb0a04f19bdfa1344af9cfd824d3e7c0ba49ad6663667df1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c756d696e61726b2f75726c2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/luminark/url)[![Code Coverage](https://camo.githubusercontent.com/bffdc333a7cf14b6e97aa1c0c4f54fb81550ef6c6ae427ef3bd08bba448f5382/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6c756d696e61726b2f75726c2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/luminark/url)[![SensioLabsInsight](https://camo.githubusercontent.com/44d2acdd908ab052107dbacc4c6b70b88dfc78c236f207753839e7410e040a5e/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f61343538376562322d623039622d343235392d396131392d3365333961313164373561622e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/a4587eb2-b09b-4259-9a19-3e39a11d75ab)[![Scrutinizer](https://camo.githubusercontent.com/9dd0905d4c4657c5d8753af7eaee87714ae2c13038897ca8e80563a11ac3a51c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c756d696e61726b2f75726c2e737667)](https://scrutinizer-ci.com/g/luminark/url)

\##Installation

```
composer require luminark/url
```

Add service provider to your `config/app.php`:

```
Luminark/Url/UrlServiceProvider::class,
```

\##Resource Model

Have the Eloquent model URLs will be pointing to use the `Luminark/Url/Traits/HasUrlTrait` trait and implement the `Luminark/Url/Interfaces/HasUrlInterface` interface.

\##Resource Controller

The controller which will be handling URLs needs to use the `Luminark/Url/Traits/HandlesUrlTrait` trait and extend the `getUrlResourceResponse(Url $url)` method which receives the requested `Url` model.

In your `routes.php` (at the bottom) add a wildcard route handler which uses `getUrlResource` method. E.g.:

```
Route::get('{uri?}', ['uses' => 'UrlController@getUrlResource'])->where('uri', '.*');
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~2 days

Total

4

Last Release

3798d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f84895d9d8a19c2cfb1681e48e8228b799bbd4c839dbd2195c4a1927486fefa?d=identicon)[mvrkljan](/maintainers/mvrkljan)

---

Top Contributors

[![mvrkljan](https://avatars.githubusercontent.com/u/694929?v=4)](https://github.com/mvrkljan "mvrkljan (22 commits)")

---

Tags

urllaraveleloquentluminark

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[cviebrock/eloquent-sluggable

Easy creation of slugs for your Eloquent models in Laravel

4.0k13.6M250](/packages/cviebrock-eloquent-sluggable)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[watson/validating

Eloquent model validating trait.

9723.3M46](/packages/watson-validating)[cybercog/laravel-ban

Laravel Ban simplify blocking and banning Eloquent models.

1.1k651.8k11](/packages/cybercog-laravel-ban)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)

PHPackages © 2026

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