Download the PHP package imageplus/auth-scaffolding without Composer
On this page you can find all versions of the php package imageplus/auth-scaffolding. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download imageplus/auth-scaffolding
More information about imageplus/auth-scaffolding
Files in imageplus/auth-scaffolding
Package auth-scaffolding
Short Description Creates authentication views for fortify
License MIT
Informations about the package auth-scaffolding
Imageplus Authentication
Simple authentication scaffolding based off Laravel Fortify built with InertiaJS, VueJS and Bootstrap
Getting Started
To install the package you must run
Once the package has installed run
This will generate the auth scaffolding in the application
The package required certain npm packages so after running the above please run to install the required packages
The package uses the database session driver so to create this table run the migration with
Toggling Functionality
Some of the Fortify features are optional. You may disable the features by removing them from the features array found at . 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 but this first must be published
2 Factor Authentication
This comes enabled by default within fortify but the trait must be added to the User model to enable this functionality
Email Verification
To enable this uncomment the line in and implement the contract
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
which must first be published using the below command
Once published you can change the array values to the Inertia Component you want to use
The ImageplusAuthServiceProvider
Routes can be changed in here by removing the line and calling the below functions directly with an Inertia view
Please note additional data can be given as a second parameter as either an array or a function
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
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 middleware must be enabled
Other Help
Any information not found here can be found on the official documentation for the other packages required
All versions of auth-scaffolding with dependencies
laravel/fortify Version ^1.4
jenssegers/agent Version ^2.6.4