iag / blank-auth
Laravel authentication views
Requires
- php: ^7.2.0
- illuminate/console: ^7.0
- illuminate/support: ^7.0
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-10-29 06:05:41 UTC
README
This package gives you a blank starting point for your authentication views.
v2.0 supports Laravel ^7.0
Beside the most common laravel/ui package blank-auth
gives you only the general blank starting point, without any preset, of the common authentication views.
Setup
- Require the package with Composer
composer require iag/blank-auth
or inside your composer.json:
{ "iag/blank-auth": "^2.0" }
- Once the
iag/blank-auth
package has been installed, you MUST install the frontend views using the Install Artisan command:
php artisan blankauth:install
-
Go to your
../resources/views
folder and style or modify the auth views as your needs. -
Open the auth routes on
routes/web.php
using theAuth::routes();
function. -
If you wish to use the
account
landing page, remember to open the route:
Route::get('/account', function () { return view('account.index'); })->name('account.index');
or simply:
Route::view('/account', 'account.index')->name('account.index');
Integration with laravel/ui
This package can be easily integrate with laravel/ui
. Use iag/blank-auth
to scaffold a blank, solid and semantic structure for your auth process and use laravel/ui
to manage the entire auth process.
- You can require
laravel/ui
package:
{ "iag/blank-auth": "^2.0", "laravel/ui": "^2.0" }
- Integrates only controllers:
php artisan ui:controllers
- Path customization
You can customize the post-authentication redirect path using the HOME
constant defined in your RouteServiceProvider
:
public const HOME = '/account';
Extras
This package gives you a solid HTML5 semantic for the following views:
- a layout and navbar preset,
- a blank account index views,
- all Laravel auth views.