PHPackages                             ericlagarda/temporal - 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. ericlagarda/temporal

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ericlagarda/temporal
====================

Laravel 5 package to create temporal url resources

1.0(10y ago)123MITPHPPHP &gt;=5.4.0

Since May 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Krato/temporal)[ Packagist](https://packagist.org/packages/ericlagarda/temporal)[ RSS](/packages/ericlagarda-temporal/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

Temporal Tokens for Laravel
===========================

[](#temporal-tokens-for-laravel)

This package generates temporary tokens to use with your models, urls, controllers or whatever you want.

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

[](#installation)

Use composer to install:

```
composer require ericlagarda/temporal
```

Add provider to your `config/app.php`

```
EricLagarda\Temporal\TemporalServiceProvider::class
```

`Temporal` facade is automatically registered as an alias for `EricLagarda\Temporal\Facades\Temporal` class.

### How to use

[](#how-to-use)

You have two helpers to create and recieve temporal urls.

To create your token just call `create` method:

```
$myToken = Temporal::create($modelId, $expireTime); //$expireTime in minutes to expire
```

To decrypt this token and check if is valid, you can use `check` method:

```
$isValid = Temporal::check($token); //$token appended to url
```

Method `check` will return `false` in case token is invalid. Or object with `id`, `expires`, `created_at` if is valid.

### License

[](#license)

The MIT License (MIT).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3709d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3865030b01e29299f1f6837852ba6a70fea204ceb46e58a917d4e4398268800f?d=identicon)[Krato1](/maintainers/Krato1)

---

Top Contributors

[![Krato](https://avatars.githubusercontent.com/u/74367?v=4)](https://github.com/Krato "Krato (1 commits)")

---

Tags

laraveltemporal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ericlagarda-temporal/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[cmgmyr/messenger

Simple user messaging tool for Laravel

2.6k2.5M6](/packages/cmgmyr-messenger)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[propaganistas/laravel-disposable-email

Disposable email validator

6012.9M7](/packages/propaganistas-laravel-disposable-email)[anahkiasen/former

A powerful form builder

1.3k1.4M14](/packages/anahkiasen-former)[prologue/alerts

Prologue Alerts is a package that handles global site messages.

3486.4M36](/packages/prologue-alerts)

PHPackages © 2026

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