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 2w ago

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 40% 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

3755d 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.4M354](/packages/psalm-plugin-laravel)[propaganistas/laravel-disposable-email

Disposable email validator

6023.2M7](/packages/propaganistas-laravel-disposable-email)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k2](/packages/mike-bronner-laravel-model-caching)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)

PHPackages © 2026

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