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

ActiveLibrary

imageplus/auth-scaffolding
==========================

Creates authentication views for fortify

1.0(5y ago)016MITVue

Since Sep 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/imageplus/AuthScaffolding)[ Packagist](https://packagist.org/packages/imageplus/auth-scaffolding)[ RSS](/packages/imageplus-auth-scaffolding/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Imageplus Authentication
========================

[](#imageplus-authentication)

Simple authentication scaffolding based off Laravel Fortify built with InertiaJS, VueJS and Bootstrap

Getting Started
---------------

[](#getting-started)

To install the package you must run

```
composer require imageplus/auth-scaffolding

```

Once the package has installed run

```
php artisan imageplus:scaffold-auth

```

This will generate the auth scaffolding in the application

The package required certain npm packages so after running the above please run `npm i` to install the required packages

The package uses the database session driver so to create this table run the migration with `php artisan migrate`

Toggling Functionality
----------------------

[](#toggling-functionality)

Some of the Fortify features are optional. You may disable the features by removing them from the features array found at `config/fortify.php`. You're free to only remove some of these features, or you can even remove all of these if you need to.

This package does have some of its own custom functionality which can be disabled in its config file locations at `config/imageplus-auth-scaffolding.php` but this first must be published

### 2 Factor Authentication

[](#2-factor-authentication)

This comes enabled by default within fortify but the trait `TwoFactorAuthenticatable` must be added to the User model to enable this functionality

### Email Verification

[](#email-verification)

To enable this uncomment the line `Features::emailVerification()` in `config/fortify.php` and implement the contract `MustVerifyEmail`

Routes
------

[](#routes)

Please use the ImagePlusAuthScaffolding class or config as apposed to Fortify as the custom provider allows the use of InertiaJS authentication views

The views themselves are configured in 2 places.

#### The config file

[](#the-config-file)

which must first be published using the below command

```
php artisan vendor:publish --tag=imageplus-auth-scaffolding-config

```

Once published you can change the array values to the Inertia Component you want to use

#### The ImageplusAuthServiceProvider

[](#the-imageplusauthserviceprovider)

Routes can be changed in here by removing the line `ImageplusAuthScaffolding::useDefaultViews();` and calling the below functions directly with an Inertia view

```
ImageplusAuthScaffolding::loginView($view)
ImageplusAuthScaffolding::twoFactorChallengeView($view)
ImageplusAuthScaffolding::resetPasswordView(
    $view,
    function($request) {
        return [
            'token' => $request->route()->parameter('token')
        ];
    }
);
ImageplusAuthScaffolding::registerView($view)
ImageplusAuthScaffolding::verifyEmailView($view)
ImageplusAuthScaffolding::confirmPasswordView($view)
ImageplusAuthScaffolding::requestPasswordResetLinkView($view)

```

*Please note additional data can be given as a second parameter as either an array or a function*

##### Changing The Login View

[](#changing-the-login-view)

The below code shows an example of how to change the login view. It will change the login view to the Login component inside the Auth folder in the Pages directory as well as passing the additional prop foo

```
ImageplusAuthScaffolding::loginView('Auth/Login', ['foo' => 'bar'])

```

Browser Sessions
----------------

[](#browser-sessions)

The package can logout all other instances of a users account with the *logout-other-sessions* feature enabled but for this to work the `\Illuminate\Session\Middleware\AuthenticateSession::class` middleware must be enabled

Other Help
----------

[](#other-help)

Any information not found here can be found on the official documentation for the other packages required

- [Fortify](https://github.com/laravel/fortify).
- [InertiaJS](https://inertiajs.com/).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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

2063d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6733ad87ac5b70e5e01b6a022e80475bec93eb8bef4c88d706807d46d4f9b672?d=identicon)[imageplus](/maintainers/imageplus)

---

Top Contributors

[![harryhindson-glitch](https://avatars.githubusercontent.com/u/243531910?v=4)](https://github.com/harryhindson-glitch "harryhindson-glitch (6 commits)")[![imageplus](https://avatars.githubusercontent.com/u/176192?v=4)](https://github.com/imageplus "imageplus (1 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[joaopaulolndev/filament-edit-profile

Filament package to edit profile

250258.1k34](/packages/joaopaulolndev-filament-edit-profile)[inertiaui/modal

Inertia Modal

225213.5k](/packages/inertiaui-modal)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)

PHPackages © 2026

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