PHPackages                             mout/auth - 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. mout/auth

ActiveLibrary

mout/auth
=========

Simplified integration of laravel authentication

012PHP

Since Sep 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lekurs/mout-auth)[ Packagist](https://packagist.org/packages/mout/auth)[ RSS](/packages/mout-auth/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel-Auth
============

[](#laravel-auth)

Laravel-auth provide ready-to-use authentication and allow you to easily customize the code published in your controllers

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

[](#installation)

Laravel-auth is installed via the package manager composer

`composer require mout/auth`

you must then publish all the files via the command `php artisan mout-auth:install`

Then you have to install the packages necessary for the proper functioning of the frontend

Via npm :

`npm i tailwindcss @tailwindcss/aspect-ratio @tailwindcss/forms @tailwindcss/jit @tailwindcss/typography alpinejs`

Via Yarn :

`yarn add tailwindcss @tailwindcss/aspect-ratio @tailwindcss/forms @tailwindcss/jit @tailwindcss/typography alpinejs`

It is also necessary to modify the configuration file of Tailwindcss

Note: you don't have to use Tailwindcss. You will have to modify the views in the folder `resources/views/vendor/laravel-auth`.

```
//tailwind.config.js
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
    purge: [
        './resources/**/*.blade.php',
        './resources/**/*.js',
        './resources/**/*.vue',
        './packages/**/*.blade.php',
        './packages/**/*.js',
        './packages/**/*.vue',
    ],
    darkMode: 'media',
    theme: {
        extend: {
            fontFamily: {
                sans: ['Roboto', ...defaultTheme.fontFamily.sans],
            },
            colors: {
                transparent: 'transparent',
                current: 'currentColor',
                teal: colors.teal,
                cyan: colors.cyan,
                'light-blue': colors.lightBlue,
                'blue-gray': colors.blueGray,
                'cool-gray': colors.coolGray,
            }
        },
    },
    variants: {
        extend: {},
    },
    plugins: [
        require('@tailwindcss/forms'),
        require('@tailwindcss/typography'),
        require('@tailwindcss/aspect-ratio'),
    ],
}
```

You can also modify the `webpack.mix.js` file to include Tailwind

```
mix.js('resources/js/app.js', 'public/js')
mix.postCss('resources/css/app.css', 'public/css').options({
    postCss: [
        require('@tailwindcss/jit'),
        require('autoprefixer')
    ],
});
mix.sourceMaps()
mix.disableNotifications()
```

You can then start the build of your application with the command `npm run watch`

```
Route::group(['middleware' => 'web'], function () {
    Route::view('privacy', 'pages.statics.privacy')->name('privacy');
    Route::view('terms', 'pages.statics.terms')->name('terms');

    Route::group(['middleware' => 'guest', 'prefix' => ''], function () {
        Route::get('register', [RegisteredUserController::class, 'create'])->name('register');
        Route::post('register', [RegisteredUserController::class, 'store']);
        Route::get('login', [AuthenticatedSessionController::class, 'create'])->name('login');
        Route::post('login', [AuthenticatedSessionController::class, 'store']);
        Route::get('forgot-password', [PasswordResetLinkController::class, 'create'])->name('password.request');
        Route::post('forgot-password', [PasswordResetLinkController::class, 'store'])->name('password.email');
        Route::get('reset-password/{token}', [NewPasswordController::class, 'create'])->name('password.reset');
        Route::post('reset-password', [NewPasswordController::class, 'store'])->name('password.update');
    });

    Route::group(['middleware' => 'auth', 'prefix' => ''], function () {
        Route::get('verify-email', EmailVerificationPromptController::class)->name('verification.notice');
        Route::get('verify-email/{id}/{hash}', VerifyEmailController::class)->middleware(['signed', 'throttle:6,1'])->name('verification.verify');
        Route::post('verify-email/verification-notification', [EmailVerificationNotificationController::class, 'store'])->middleware(['throttle:6,1'])->name('verification.send');
        Route::get('confirm-password', [ConfirmablePasswordController::class, 'show'])->name('password.confirm');
        Route::post('confirm-password', [ConfirmablePasswordController::class, 'store']);
        Route::get('logout', [AuthenticatedSessionController::class, 'destroy'])->name('logout');
    });
});
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

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/1d96cf037dd6be091e7eae9f3fd6150830032a3cfb1b6cb1cbdccda28136db18?d=identicon)[bidule](/maintainers/bidule)

### Embed Badge

![Health badge](/badges/mout-auth/health.svg)

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

PHPackages © 2026

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