PHPackages                             dframe/token - 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. dframe/token

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

dframe/token
============

Token component Dframe

v4.2.0(3y ago)05MITPHPPHP &gt;=7.3

Since Aug 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dframe/token)[ Packagist](https://packagist.org/packages/dframe/token)[ Docs](https://dframeframework.com)[ RSS](/packages/dframe-token/feed)WikiDiscussions master Synced 1w ago

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

Dframe/Token - Component
========================

[](#dframetoken---component)

[![Build Status](https://camo.githubusercontent.com/96b7bd4363fe8486270430f80f637cfedf4bf6cd562b7df285f2a6644b277ce5/68747470733a2f2f7472617669732d63692e6f72672f646672616d652f746f6b656e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dframe/token) [![Latest Stable Version](https://camo.githubusercontent.com/6b24e0de24ef05f3f4f7a080b88e238d9c4eaa0d3f81125c259b0d236b4c900f/68747470733a2f2f706f7365722e707567782e6f72672f646672616d652f746f6b656e2f762f737461626c65)](https://packagist.org/packages/dframe/token) [![Total Downloads](https://camo.githubusercontent.com/2c6f20c28c417ba97cc7e5560ae7882139ea3f7ee516a6682bfa747a859a365f/68747470733a2f2f706f7365722e707567782e6f72672f646672616d652f746f6b656e2f646f776e6c6f616473)](https://packagist.org/packages/dframe/token) [![Latest Unstable Version](https://camo.githubusercontent.com/9aefa45c258ba220196293fd08678cf88c4f58abbe5a59d57c91509c9a6a0bd8/68747470733a2f2f706f7365722e707567782e6f72672f646672616d652f746f6b656e2f762f756e737461626c65)](https://packagist.org/packages/dframe/token) [![License](https://camo.githubusercontent.com/41520ff2b3eb002f4fc2a2156dead01202c6d73644df4312f4ab463d0ee310f8/68747470733a2f2f706f7365722e707567782e6f72672f646672616d652f746f6b656e2f6c6963656e7365)](https://packagist.org/packages/dframe/token)

[![php framework dframe logo](https://camo.githubusercontent.com/fd0e41a4616aeae28318df2698482c0f1538928857ff531019f4481606ff8d2b/68747470733a2f2f646672616d656672616d65776f726b2e636f6d2f696d672f6c6f676f5f66756c6c2e706e67)](https://camo.githubusercontent.com/fd0e41a4616aeae28318df2698482c0f1538928857ff531019f4481606ff8d2b/68747470733a2f2f646672616d656672616d65776f726b2e636f6d2f696d672f6c6f676f5f66756c6c2e706e67)

### Composer

[](#composer)

```
$ composer require dframe/token
```

### Standalone

[](#standalone)

```
use Dframe\Session\Session;
use Dframe\Token\Token;

$driver = new Session('sessionName');

/**
 * $driver Can be any class implements interface \Psr\SimpleCache\CacheInterface
 */
$token  = new Token($driver);
$key = $token->generate('evidenceToken')->get('evidenceToken');  // Generate hash
$isValid = $token->isValid('evidenceToken', $key);            // Return true/false
$has = $token->has('evidenceToken');            // Return true/false
```

License
-------

[](#license)

Open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~79 days

Recently: every ~68 days

Total

11

Last Release

1298d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/954f9b5cd3e021b52a7bb0cabe07b2d7763edf98485fe47cccf835124d79205c?d=identicon)[dusta](/maintainers/dusta)

---

Top Contributors

[![dusta](https://avatars.githubusercontent.com/u/9001348?v=4)](https://github.com/dusta "dusta (15 commits)")

---

Tags

PHP tokendframe

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dframe-token/health.svg)

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

###  Alternatives

[illuminate/contracts

The Illuminate Contracts package.

704122.9M10.1k](/packages/illuminate-contracts)[phiki/phiki

Syntax highlighting using TextMate grammars in PHP.

3573.0M23](/packages/phiki-phiki)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k51](/packages/flow-php-etl)[gehrisandro/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

1391.5M9](/packages/gehrisandro-tailwind-merge-php)[bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

26534.8k4](/packages/bakame-laravel-domain-parser)

PHPackages © 2026

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