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)239[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 today

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

27

—

LowBetter than 47% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity12

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

546d 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

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M201](/packages/laravel-ai)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M307](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

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