PHPackages                             lcloss/simple-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. lcloss/simple-auth

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

lcloss/simple-auth
==================

Auth screens for new Laravel project

0.0.9(2y ago)015MITCSS

Since Sep 28Pushed 2y ago1 watchersCompare

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

READMEChangelog (8)Dependencies (1)Versions (7)Used By (0)

SimpleAuth
==========

[](#simpleauth)

SimpleAuth is a package to have a quick authorizations screen in conjunction with Laravel Fortify. It is designed with Laravel 10, but may work with other versions. With this package, you can Login, Register, Recover password and handle Email verification.

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

[](#installation)

1. Install the package via composer:

    ```
    composer require lcloss/simple-auth
    ```
2. Publish the config file:

    ```
    php artisan vendor:publish --provider="Lcloss\SimpleAuth\SimpleAuthServiceProvider"
    ```
3. Publish the Fortify file:

    ```
    php artisan vendor:publish --provider="Laravel\Fortify\FortifyServiceProvider"
    ```
4. Regiter `login` and `register` views in the Fortify config file:

    ```
    // app\Providers\FortifyServiceProvider.php
    public function boot(): void
    {
        /* Login */
        Fortify::loginView(function () {
            return view( config('simple-auth.views.login') );
        });

        /* Register */
        Fortify::registerView(function () {
            return view(config('simple-auth.views.register'));
        });

        // Forgot Password view
        Fortify::requestPasswordResetLinkView(function () {
            return view(config('simple-auth.views.forgot-password'));
        });

        // Reset password view
        Fortify::resetPasswordView(function ($request) {
            return view(config('simple-auth.views.reset-password'), ['request' => $request]);
        });

        // Verify email view
        Fortify::verifyEmailView(function () {
            return view(config('simple-auth.views.verify-email'));
        });

        // Confirm password view
        Fortify::confirmPasswordView(function () {
            return view(config('simple-auth.views.confirm-password'));
        });
    ```
5. Create a user name from first and last names:

Note that this version of registration screen came with First name and Last name. User's table has a `name` field, so you can use it to store the full name.

Change the CreateNewUser action to create the name from first and last names:

```
    // app/Actions/Fortify/CreateNewUser.php
        Validator::make($input, [
            'first_name' => ['required', 'string', 'max:255'],
            'last_name' => ['nullable', 'string', 'max:255'],
            'email' => [
                'required',
                'string',
                'email',
                'max:255',
                Rule::unique(User::class),
            ],
            'password' => $this->passwordRules(),
            'password_confirmation' => ['required', 'same:password'],
        ])->validate();

        $name = trim($input['first_name'] . ' ' . $input['last_name']);
```

5. Check the FortifyServiceProvider at `config/app.php`:

    ```
    // config/app.php
    'providers' => [
        // ...
        App\Providers\FortifyServiceProvider::class,
    ],
    ```
6. Do the migrations with seed:

    ```
    php artisan migrate --seed
    ```
7. Do the `npm install` and `npm run dev` commands.
8. Open your project in the browser and go to `/login` or `/register` to see the new views.

Tip: First registration will be the super user.

Configuration
-------------

[](#configuration)

You can change this package's configuration by editing the `config/simple-auth.php` file.

TODOs
-----

[](#todos)

- Add tests
- Add translations

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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 ~2 days

Total

5

Last Release

952d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3338044b423a7d652c1788cb6a2247ac01877258d3c16362ac2645ff4de4707?d=identicon)[lcloss](/maintainers/lcloss)

---

Top Contributors

[![lcloss](https://avatars.githubusercontent.com/u/10761341?v=4)](https://github.com/lcloss "lcloss (28 commits)")

### Embed Badge

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

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

###  Alternatives

[zacksmash/fortify-ui

Fortify-driven Laravel UI replacement

24617.0k6](/packages/zacksmash-fortify-ui)[orchid/fortify

Orchid template for Laravel Fortify

3179.9k1](/packages/orchid-fortify)[wychoong/filament-fortify

Laravel Fortify for Filament Admin

3313.7k](/packages/wychoong-filament-fortify)

PHPackages © 2026

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