Fence is a package for authentication views using Laravel fortify package! It using tailwind css!
Hey, Make you sure you do not include
fence
into your existing app. Please addfence
in your new laravel project.
laravel new app
Next, you will need to install the fortify package, it's required.
composer require laravel/fortify
Next, publish Fortify's resources using the vendor:publish
command:
php artisan vendor:publish --provider="Laravel\Fortify\FortifyServiceProvider"
Next, you will need to register FortifyServiceProvider
in the config/app.php
. Open that file, and add this one line of code.
'providers' => [
// ...
App\Providers\FortifyServiceProvider::class,
],
After that, we can start by installing the fence package like so:
composer require irsyadadl/fence --dev
When it's done, we can continue to install that boilerplate like this.
php artisan fence:install
And you're done, things you need to do next is configure your database connection so that you can run php artisan migrate
.