PHPackages                             codelabmw/suave - 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. codelabmw/suave

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

codelabmw/suave
===============

A Laravel package that scaffolds API authentication for both token &amp; session based authentication using laravel/sanctum.

v1.0.0(1y ago)236[1 issues](https://github.com/codelabmw/suave/issues)MITPHPPHP ^8.3

Since Jan 4Pushed 1y agoCompare

[ Source](https://github.com/codelabmw/suave)[ Packagist](https://packagist.org/packages/codelabmw/suave)[ Docs](https://github.com/codelabmw/suave)[ GitHub Sponsors](https://github.com/codelabmw)[ RSS](/packages/codelabmw-suave/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (19)Versions (2)Used By (0)

 [![Suave](art/suave-banner.png)](art/suave-banner.png)

 [![GitHub Workflow Status (master)](https://github.com/codelabmw/suave/actions/workflows/run-tests.yml/badge.svg)](https://github.com/codelabmw/suave/actions) [![Total Downloads](https://camo.githubusercontent.com/a50c1d5096c0c19e69ae93244e28a507eb209c74a232a791638437bb720b0d54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656c61626d772f7375617665)](https://packagist.org/packages/codelabmw/suave) [![Latest Version](https://camo.githubusercontent.com/373e55ac0eb9b5703fa43d72de748d4894984a926f9e7aae87e734310ae6d0ae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656c61626d772f7375617665)](https://packagist.org/packages/codelabmw/suave) [![License](https://camo.githubusercontent.com/75c685008e967b08532ec7596bb4cc7bf5c60ebcaccfa78a9118462f82bc380d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f64656c61626d772f7375617665)](https://packagist.org/packages/codelabmw/suave)

A Laravel package that scaffolds API authentication for both token &amp; session based authentication using `laravel/sanctum`. It uses verification codes for email verification and temporary passwords for forgot password instead of redirecting users to frontend.

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

[](#installation)

> Requires PHP ^8.3

You can install the package via composer:

```
composer require codelabmw/suave --dev
```

Usage
-----

[](#usage)

After package installation, run the following artisan command to scaffold API.

```
php artisan suave:install
```

This will install [Sanctum](https://laravel.com/docs/11.x/sanctum) and copy necessary files for api routing. You are allowed to edit any of these files to customize the behavior suitable for your application however the default state is adequate for most applications. Copied files includes:

- Routes
- Contracts
- Controllers
- Middlewares
- Models
- Notifications
- Events
- Listeners
- Traits
- Tests

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Chikondi Kamwendo](https://github.com/kondi3)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

499d ago

### Community

Maintainers

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

---

Top Contributors

[![chikondikamwendo](https://avatars.githubusercontent.com/u/68282071?v=4)](https://github.com/chikondikamwendo "chikondikamwendo (17 commits)")

---

Tags

email-verificationlaravellaravel-apilaravel-authlaravel-sessionlaravel-tokenlaravel-verificationphpverification-codeapilaravelauthAuthenticationsanctumverificationverification Codeapi authenticationCodelabMWsuave

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/codelabmw-suave/health.svg)

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[hasinhayder/tyro

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

6712.1k2](/packages/hasinhayder-tyro)[benbjurstrom/cognito-jwt-guard

A laravel auth guard for JSON Web Tokens issued by Amazon AWS Cognito

1113.1k](/packages/benbjurstrom-cognito-jwt-guard)

PHPackages © 2026

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