Search by

light-it-labs / lightit-auth-laravel

soj3da

An optional-feature authentication package for Laravel projects. It layers Google SSO, 2FA, OTP, forgot password and role-permission systems on top of a boilerplate that already owns base authentication, with standardized examples for seamless integration into your projects.

Package info

github.com/Light-it-labs/lightit-auth-laravel

Homepage

pkg:composer/light-it-labs/lightit-auth-laravel

Fund package maintenance!

Light-it Labs

Statistics

Installs: 24

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 25

1.3.0 2026-04-30 18:06 UTC

This package is auto-updated.

Last update: 2026-09-25 21:11:24 UTC


README

Laravel Auth Package

Laravel Auth Package adds optional auth features - 2FA, roles and permissions, OTP, forgot password and social login - on top of the Light-it Laravel Boilerplate, which owns the base authentication. Supporting the following packages

Contents

Installation

Important

This package is based on and tightly coupled with the Light-it Laravel Boilerplate.
It assumes conventions like:

  • Main namespace: Lightit
  • Specific file paths
  • Custom exceptions structure

Keep this in mind if you plan to integrate it into a different project.

First, add the repository to your composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Light-it-labs/lightit-auth-laravel.git"
        }
    ]
}

Then install the package via Composer:

composer require light-it-labs/lightit-auth-laravel

Once installed, run the setup command:

php artisan auth:setup

If you are using Laravel Sail, you can run:

./vendor/bin/sail artisan auth:setup

This command walks you through the optional features it can add on top of the boilerplate's own authentication. It no longer configures an authentication driver.

Changelog

For recent changes, see the CHANGELOG.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.