PHPackages                             sambindoff/laravel-gust - 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. sambindoff/laravel-gust

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

sambindoff/laravel-gust
=======================

Laravel Gust is a backend agnostic VueJS authentication frontend for Laravel.

v1.2.0(4y ago)19991MITVuePHP ^8.0CI failing

Since Dec 3Pushed 2y ago3 watchersCompare

[ Source](https://github.com/y0rdie/laravel-gust)[ Packagist](https://packagist.org/packages/sambindoff/laravel-gust)[ Docs](https://github.com/sambindoff/laravel-gust)[ RSS](/packages/sambindoff-laravel-gust/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (6)Versions (13)Used By (0)

Laravel Gust\*
==============

[](#laravel-gust)

[![Latest Version on Packagist](https://camo.githubusercontent.com/26d9447439d2daa00e392628d868f88f5839e9eebb1663c56350d4e44a1eed34/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616d62696e646f66662f6c61726176656c2d67757374)](https://packagist.org/packages/sambindoff/laravel-gust)[![Total Downloads](https://camo.githubusercontent.com/8b9ad8d144b0b0edd933edcf94aca0a0f27f6be7bad0aa028b7eec2a97a3c4a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616d62696e646f66662f6c61726176656c2d67757374)](https://packagist.org/packages/sambindoff/laravel-gust)[![License](https://camo.githubusercontent.com/6eb54f2dfad49988f4acec2f2e11bb115161d8f8f1cecd97ede91e88ba5e0512/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73616d62696e646f66662f6c61726176656c2d67757374)](https://packagist.org/packages/sambindoff/laravel-gust)[![Buy us a tree](https://camo.githubusercontent.com/130148911f548b001b2ac68a32c0a06559977ca60ada3bf480c72ae4ea093175/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e)](https://plant.treeware.earth/y0rdie/laravel-gust)

- [Introduction](#introduction)
    - [Installation](#installation)
        - [Install with Fortify](#install-with-fortify)
        - [Install with Breeze](#install-with-breeze)
        - [Install with UI](#install-with-ui)
    - [What this does to your application](#what-this-does-to-your-application)
        - [What all stacks do](#what-all-stacks-do)
        - [What the Fortify stack does](#what-the-fortify-stack-does)
        - [What the Breeze stack does](#what-the-breeze-stack-does)
        - [What the UI stack does](#what-the-ui-stack-does)
    - [Changelog](#changelog)
    - [Contributing](#contributing)
    - [Security Vulnerabilities](#security-vulnerabilities)
    - [Credits](#credits)
    - [License](#license)

Introduction
------------

[](#introduction)

Laravel Gust is a backend agnostic Vue.js authentication frontend for Laravel. Gust can power the registration and authentication features of your Laravel backend when using Laravel Fortify, Breeze or UI.

Gust is powered by Vue.js v3, Vue Router v4, Vuex v4 and Tailwind CSS v2 on the frontend and provides scaffolding to get you started with a basic Vue.js SPA that is compatible with all Laravel backend authentication packages.

Gust uses Laravel Sanctum on the backend to authenticate your SPA regardless of the stack you choose.

You can read more about how to install each stack and the changes they make to your application below.

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

[](#installation)

You can install the package via composer:

```
composer require y0rdie/laravel-gust --dev
```

Usage
-----

[](#usage)

Gust offers a choice of three backend stacks: Fortify, Breeze or UI (for you dinosaurs among us).

#### Install with Fortify

[](#install-with-fortify)

The Fortify stack is a good choice if you don't need to customise the backend authentication logic this package provides as this is all handled by the package itself.

```
php artisan gust:install fortify
```

Read about the changes this makes to your application in the [What the Fortify stack does](#what-the-fortify-stack-does) section below.

#### Install with Breeze

[](#install-with-breeze)

The Breeze stack is a good choice if you want greater control over the backend authentication logic this package provides as this is all published into your application.

```
php artisan gust:install breeze
```

Read about the changes this makes to your application in the [What the Breeze stack does](#what-the-breeze-stack-does) section below.

#### Install with UI

[](#install-with-ui)

The UI stack is a good choice if you're already familiar with the backend authentication logic this package provides and not quite ready to make the switch to Breeze or Fortify.

```
php artisan gust:install ui
```

Read about the changes this makes to your application in the [What the UI stack does](#what-the-ui-stack-does) section below.

#### Finalising the Installation

[](#finalising-the-installation)

```
php artisan migrate
npm install && npm run dev
```

What this does to your application
----------------------------------

[](#what-this-does-to-your-application)

#### What all stacks do

[](#what-all-stacks-do)

In order for any SPA to be compatible with Laravel, here is an exhaustive list of all the changes required:

- Composer require the `laravel/sanctum` package.
- Run the Sanctum `vendor:publish` command.
- Add `SANCTUM_STATEFUL_DOMAINS` as an environment variable.
- Add the Sanctum middleware to `app/Http/Kernel.php`.
- Add the `MustVerifyEmail` interface to `app/Models/User.php`.
- Copy the `routes/api.php` and `routes/web.php` stubs.
- Delete the `resources/sass` directory.
- Delete the `resources/js/bootstrap.js` file.
- Delete the `resources/views` directory ready for the new stubs.
- Publish all the SPA stubs.
- Update `package.json` to require Vue.js, Vue Router, Vuex and Tailwind CSS.
- Customise the password reset link URL using the `ResetPassword::createUrlUsing` method in `app/Providers/AuthServiceProvider.php` as recommended [here](https://laravel.com/docs/master/passwords#reset-link-customization), due to the GET route definition no longer existing in a SPA.
- Change `route('login')` with `url('login')` in `app/Http/Middleware/Authenticate.php` due to the GET route definition no longer existing in a SPA.

#### What the Fortify stack does

[](#what-the-fortify-stack-does)

- Composer require the `laravel/fortify` package.
- Run the Fortify `vendor:publish` command.
- Add the `FortifyServiceProvider` to the providers key in `config/app.php`.
- Update `config/fortify.php` to set `'views' => false,` and only enable the registration, reset passwords, email verification features.
- Update `app/Providers/FortifyServiceProvider.php` to only register the `CreateNewUser` and `ResetUserPassword` actions.
- Delete the `app/Actions/Fortify/UpdateUserPassword.php` file.
- Delete the `app/Actions/Fortify/UpdateUserProfileInformation.php` file.

You can find out more about Laravel Fortify in the [official repository](https://github.com/laravel/fortify).

#### What the Breeze stack does

[](#what-the-breeze-stack-does)

- Run the Breeze `vendor:publish` command.
- Copy the `routes/auth-breeze.php` stubs to `routes/auth.php` and require it in `routes/web.php`.
- Copy the `app/Http/Controllers/Auth/NewPasswordController.php` stub. This ensures a validation exception is thrown for a mismatching token, and also changes `route('login')` with `to('login')` due to the GET route definition no longer existing in a SPA.
- Delete the `app/Views` directory.

You can find out more about Laravel Breeze in the [official repository](https://github.com/laravel/breeze).

#### What the UI stack does

[](#what-the-ui-stack-does)

- Composer require the `laravel/ui` package.
- Run the `ui:controllers` command.
- Copy the `routes/auth-ui.php` stubs to `routes/auth.php` and require it in `routes/web.php`.
- Copy the `app/Http/Controllers/Auth/LoginController.php` stub. This overrides the `logout` method to explicitally use the auth web guard.
- Delete the `app/Http/Controllers/HomeController.php` file.

You can find out more about Laravel UI in the [official repository](https://github.com/laravel/ui).

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Loris Leiva - Unlock your frontend skills](https://lorisleiva.com/unlock-your-frontend-skills/)
- [Markus Oberlehner - Implementing a Simple Middleware with Vue Router](https://markus.oberlehner.net/blog/implementing-a-simple-middleware-with-vue-router/)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

This package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/y0rdie/laravel-gust) to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

**\*This package might have a catchy one word name just like many other first party Laravel packages, however, this is most definitely an unoffical package and in no way endorsed by the Laravel team. It's more of a tongue-in-cheek reference, but hopefully just as brilliant.**

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~43 days

Recently: every ~114 days

Total

12

Last Release

1560d ago

Major Versions

v0.3.0 → v1.0.02021-01-05

PHP version history (3 changes)v0.1.0PHP ^7.4|^8.0

v1.0.0PHP ^7.3|^8.0

v1.2.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1503629?v=4)[Sam Bindoff](/maintainers/y0rdie)[@y0rdie](https://github.com/y0rdie)

---

Top Contributors

[![y0rdie](https://avatars.githubusercontent.com/u/1503629?v=4)](https://github.com/y0rdie "y0rdie (8 commits)")

---

Tags

laraveluiauthAuthenticationsanctumtailwindvuebreezefortifylaravel-gust

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sambindoff-laravel-gust/health.svg)

```
[![Health](https://phpackages.com/badges/sambindoff-laravel-gust/health.svg)](https://phpackages.com/packages/sambindoff-laravel-gust)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.7k51.8M371](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84611.1M63](/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.

2795.3M3](/packages/auth0-login)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[kamona/kui-laravel-fortify

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

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

PHPackages © 2026

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