PHPackages                             codecng/fortify-sanctum - 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. codecng/fortify-sanctum

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

codecng/fortify-sanctum
=======================

A zero config laravel package to use fortify flavours in sanctum.

v1.0.1(today)01↑2900%MITPHPPHP ^8.3|^8.4|^8.5

Since Apr 3Pushed todayCompare

[ Source](https://github.com/codecng/fortify-sanctum)[ Packagist](https://packagist.org/packages/codecng/fortify-sanctum)[ RSS](/packages/codecng-fortify-sanctum/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

🚀 Laravel Fortify + Sanctum Integration (fortify-sanctum)
=========================================================

[](#-laravel-fortify--sanctum-integration-fortify-sanctum)

[![Latest Version on Packagist](https://camo.githubusercontent.com/948848cd5652917ead558d6f42147a581ac8721fdd7ce7265b62452411507c4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646576636861726c65732f666f72746966792d73616e6374756d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devcharles/fortify-sanctum)[![Total Downloads](https://camo.githubusercontent.com/c4dcd9013888e6e03c1b2b19534dc6ca2c51f877a1659cb4625d7812d41b8282/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646576636861726c65732f666f72746966792d73616e6374756d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devcharles/fortify-sanctum)[![GitHub Issues](https://camo.githubusercontent.com/36487f30e1eff67ac1bd072951450b8a2c90b3473e60fe0c38fe601192d35506/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6465762d636861726c657331353533312f666f72746966792d73616e6374756d2e7376673f7374796c653d666c61742d737175617265)](https://github.com/dev-charles15531/fortify-sanctum/issues)[![License](https://camo.githubusercontent.com/1b607fdb8f215335eb120606be2c301142102cfb792558d10769145b318aab4f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6465762d636861726c657331353533312f666f72746966792d73616e6374756d)](https://img.shields.io/github/license/dev-charles15531/fortify-sanctum)

Easily integrate Laravel Fortify's authentication features with Laravel Sanctum for API token authentication — **Zero Config!** 🎉

✨ Features
----------

[](#-features)

- 🔒 **Secure Authentication:** Leverage the power of Laravel Fortify to manage authentication seamlessly with Laravel Sanctum.
- ⚙️ **Zero Configuration:** Simply install and you're good to go. No complex setup required!
- 🔑 **API Token Support:** Protect your APIs with Sanctum while enjoying Fortify's robust authentication features.
- 🚀 **Lightweight &amp; Fast:** Minimal footprint with maximum functionality.

📦 Installation
--------------

[](#-installation)

Getting started is as simple as:

1. **Require the package via Composer:**

    ```
    composer require devcharles/fortify-sanctum
    ```
2. **That's it!** You're ready to use Laravel Fortify with Sanctum! 🚀

🎯 Usage
-------

[](#-usage)

Once installed, your Laravel application will automatically integrate Fortify's authentication features with Sanctum. You can start utilizing Fortify's authentication features like:

- Registration
- Login
- Two-Factor Authentication
- Password Reset
- And more...

📚 Documentation
---------------

[](#-documentation)

For detailed information on Laravel Fortify and Sanctum, refer to their official documentation:

- [Laravel Fortify Documentation](https://laravel.com/docs/11.x/fortify)
- [Laravel Sanctum Documentation](https://laravel.com/docs/11.x/sanctum)

🤝 Contributing
--------------

[](#-contributing)

Contributions are welcome! If you find a bug or have a feature request, feel free to open an issue or submit a pull request.

📄 License
---------

[](#-license)

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

👨🏽‍💻 Author
-----------

[](#‍-author)

Developed with ❤️ by [Charles Paul](https://github.com/dev-charles15531).

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~0 days

Total

2

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9ed1877b62dc934efc3ccc88eca3001133214b5cfe496447b4eb024cfeb38c2?d=identicon)[codecng](/maintainers/codecng)

---

Top Contributors

[![dev-charles15531](https://avatars.githubusercontent.com/u/68998548?v=4)](https://github.com/dev-charles15531 "dev-charles15531 (5 commits)")[![ChristianJoniel](https://avatars.githubusercontent.com/u/21225974?v=4)](https://github.com/ChristianJoniel "ChristianJoniel (2 commits)")

---

Tags

laravelauthsanctumfortifyfortify-sanctum

### Embed Badge

![Health badge](/badges/codecng-fortify-sanctum/health.svg)

```
[![Health](https://phpackages.com/badges/codecng-fortify-sanctum/health.svg)](https://phpackages.com/packages/codecng-fortify-sanctum)
```

###  Alternatives

[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6692.1k2](/packages/hasinhayder-tyro)[setiawanhu/sanctum-auth

Laravel package for generating user authentication feature using Laravel Sanctum

132.8k](/packages/setiawanhu-sanctum-auth)[kamona/kui-laravel-fortify

Front-end scafolding for laravel/fortify based on kui-dashboard

132.7k](/packages/kamona-kui-laravel-fortify)

PHPackages © 2026

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