PHPackages                             arkecosystem/fortify - 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. arkecosystem/fortify

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

arkecosystem/fortify
====================

Authentication Scaffolding for Laravel. Powered by Laravel Fortify.

6.0.0(4y ago)080.3k11MITPHPPHP ^8.0

Since Oct 15Pushed 4y ago4 watchersCompare

[ Source](https://github.com/ArkEcosystemArchive/laravel-fortify)[ Packagist](https://packagist.org/packages/arkecosystem/fortify)[ RSS](/packages/arkecosystem-fortify/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (10)Dependencies (24)Versions (160)Used By (1)

Laravel Fortify
===============

[](#laravel-fortify)

 [![](./banner.png)](./banner.png)

> Authentication Scaffolding for Laravel. Powered by Laravel Fortify.

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

[](#installation)

1. Require with composer: `composer require arkecosystem/fortify`
2. Publish all the assets / views with `php artisan vendor:publish --provider="ARKEcosystem\Fortify\FortifyServiceProvider" --tag=config --tag=images`.
3. Disable auto-discovery for all fortify packages. This step is required so that we can control the loading order of `laravel/fortify` and `arkecosystem/fortify`.

```
"extra": {
    "laravel": {
        "dont-discover": ["arkecosystem/fortify", "laravel/fortify"]
    }
},
```

4. Required Image

Projects require an image to be provided: `resources/images/auth/verify-email.svg`

This is omitted from fortify to prevent it being overwritten, but allows for it to be customised per project.

In the future, a config file may be a better route if there are multiple instances of images being required.

5. Register the service providers in this exact order. This will ensure that our package can overwrite any bindings that `laravel/fortify` created.

```
Laravel\Fortify\FortifyServiceProvider::class,
ARKEcosystem\Fortify\FortifyServiceProvider::class,
```

6. Enable or disable the login/register with username or email by using the `username_alt` setting in the `config/fortify.php` file

```
