PHPackages                             iwedmak/url-auth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. iwedmak/url-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

iwedmak/url-auth
================

Auth urls in laravel 5 by token with lifetime

v0.0.1(7y ago)09MITPHPPHP &gt;=5.5.0

Since Jun 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/iWedmak/laravel-5-url-auth)[ Packagist](https://packagist.org/packages/iwedmak/url-auth)[ RSS](/packages/iwedmak-url-auth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

laravel-5-url-auth
==================

[](#laravel-5-url-auth)

Mostly for use in emails, so user can click url and get redirected with authentication. Url in email have lifetime, in hours. Monitors url visits reads, have event UrlVisit.

- install

```
composer require iwedmak/url-auth
```

- Or

```
php composer.phar require iwedmak/url-auth
```

- Or add to composer.json

```
"iwedmak/url-auth": "*"
```

Register provider, add this to config/app.php in providers array:

```
iWedmak\UrlAuth\UrlAuthServiceProvider::class,
```

After that u will need to publish config

```
php artisan vendor:publish
```

and publish migrations and migrate

```
php artisan urlauth:migration
php artisan migrate
```

Now you can user `urlauth($user_id, $url)` function in your blade template(or anywhere), like this:

```
{{urlauth($user['id'], route('some.route'))}}
```

You can listen for `\iWedmak\UrlAuth\Events\UrlVisit` event. in `EventServiceProvider.php`

```
protected $listen = [
    '\iWedmak\UrlAuth\Events\UrlVisit' => [
        'App\Listeners\SomeListener',
    ],
];
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

2880d ago

### Community

Maintainers

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

---

Top Contributors

[![iWedmak](https://avatars.githubusercontent.com/u/994005?v=4)](https://github.com/iWedmak "iWedmak (2 commits)")

---

Tags

urllaravelauthmaililluminatelifetime

### Embed Badge

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

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

###  Alternatives

[mpyw/scoped-auth

Apply specific scope for user authentication.

1180.5k](/packages/mpyw-scoped-auth)[codebot/entrust

This package provides a flexible way to add Role-based Permissions to Laravel

1596.6k](/packages/codebot-entrust)

PHPackages © 2026

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