Justlaravel wrote a new tutorial about custom authentication in Laravel.

If you don't want to use the Laravel scaffold, this is a tutorial that you may need.

Custom Authentication in Laravel

custom authentication in Laravel

As routing and pagination is very simple in laravel, authentication is not much different, it is very simple too, everything is configured out of the box.

By default, laravel comes with 2 authentication controllers: Auth Controller and Password Controller.

Auth Controller, handles new registrations and authentication, Password Controller, manages forgotten passwords.

Default routes for authentication are,

// Authentication routes...
Route::get('auth/login', 'Auth\[email protected]');
Route::post('auth/login', 'Auth\[email protected]');
Route::get('auth/logout', 'Auth\[email protected]');

// Registration routes...
Route::get('auth/register', 'Auth\[email protected]');
Route::post('auth/register', 'Auth\[email protected]');