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

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

academy01/auth-token
====================

authentication manager system for php

1.1.x-dev(2y ago)216MITPHPPHP &gt;=7.3

Since Sep 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mhnobakht/AuthToken)[ Packagist](https://packagist.org/packages/academy01/auth-token)[ RSS](/packages/academy01-auth-token/feed)WikiDiscussions 1.1 Synced 1mo ago

READMEChangelog (3)DependenciesVersions (1)Used By (0)

AuthToken
=========

[](#authtoken)

Simple `Authentication Token Manager` System.

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

[](#installation)

just include `AuthToken.php` into your document. and edit `$domain` and `$salt`

```
include_once "AuthToken.php";
```

Usage
-----

[](#usage)

Generate Token:

- you can pass the username to this method (`optional`)
- If you have already created a session called `username`, the `username` will be set automatically and does not need to be set separately.

```
AuthToken::generate();
```

Check Token:

- You must use a username if you used it to Generate a token.
- this method returns `true` or `false`

```
AuthToken::check();
```

Delete Token:

```
AuthToken::delete();
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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

985d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98ce2ef28d2083496859584b153a9dfeee2298e6b2ed3e0e96c41b28ca1aff91?d=identicon)[mhnobakht](/maintainers/mhnobakht)

---

Top Contributors

[![mhnobakht](https://avatars.githubusercontent.com/u/80899303?v=4)](https://github.com/mhnobakht "mhnobakht (6 commits)")

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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