PHPackages                             tarek/fsa - 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. tarek/fsa

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

tarek/fsa
=========

Full Sanctum Authentication

022PHP

Since Jul 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/tareqkian/fsa)[ Packagist](https://packagist.org/packages/tarek/fsa)[ RSS](/packages/tarek-fsa/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

About FSA Package
-----------------

[](#about-fsa-package)

FSA Package stands for Full Sanctum Authentication Package

FSA Features:
-------------

[](#fsa-features)

- Must Verify Email.
- Can Reset Password.
- Socialite Login.

Installation Guide
------------------

[](#installation-guide)

```
composer require tarek/fsa
php artisan vendor:publish --provider="Tarek\Fsa\FSAServiceProvider" or php artisan vendor:publish --tag=fsa
php artisan migrate
```

---

These credentials should be placed in your application's `config/services.php` configuration file, depending on the providers your application requires
for Example

```
'' => [
    'client_id' => env('_CLIENT_ID'),
    'client_secret' => env('_CLIENT_SECRET'),
    'redirect' => env('_REDIRECT'),
],

```

To reference your `_CLIENT_ID` and `_CLIENT_SECRET` and `_REDIRECT`you have to adapt your `.env` file and set your keys and values from your providers
for Example:

```
GOOGLE_CLIENT_ID=xyz
GOOGLE_CLIENT_SECRET=123
GOOGLE_REDIRECT=/api/auth//callback
```

---

Afterwards, include the authentication routes in your `route/api.php` using:

```
require __DIR__ . '/Authentication/authentication.php';

```

Afterwards, Implement the following implementation in your `Models/User.php` Model using:

```
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordImplementation;

implements MustVerifyEmail, CanResetPasswordImplementation

```

Then use Traits

```
use Illuminate\Auth\Passwords\CanResetPassword;
use Tarek\Fsa\Traits\Providers;
use Tarek\Fsa\Traits\CheckEmailVerifyImplementation;
use Tarek\Fsa\Traits\FsaProfile;

use CanResetPassword, FsaProfile, Providers, CheckEmailVerifyImplementation;

```

---

License
-------

[](#license)

The FSA Package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe684335ac0bc94bbec6c2e85e94912e44d80066471ece76f3b34d4b0dc780a4?d=identicon)[tareq-kirito](/maintainers/tareq-kirito)

---

Top Contributors

[![tareq-abdelwhap](https://avatars.githubusercontent.com/u/64751211?v=4)](https://github.com/tareq-abdelwhap "tareq-abdelwhap (11 commits)")

### Embed Badge

![Health badge](/badges/tarek-fsa/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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