This laravel package takes advantage of the already provided Auth generation and extends it, enabling user profiles.
These instructions will enable you to plug this package into your laravel installation and customise with ease.
Step 1: Run laravel's Authentiaction scaffolding
php artisan make:auth
Step 2: Open a command window in the your laravel project folder and run
composer require mressex/laravel-auth-profile
Step 3: Register the AuthProfileServiceProvider::class
- Open PROJECT_NAME/config/app.php
- In the
'providers' => []
array, underIlluminate\View\ViewServiceProvider::class,
addMrEssex\LaravelAuthProfile\AuthProfileServiceProvider::class,
Step 4: To customise the views run php artisan vendor:publish
. Now you can edit the views in PROJECT_NAME/resources/views/vendor/laravelauthprofile
Step 5: In your resources/views/layouts/app.blade.php
Navigate to line 63, or <a href="{{ route('logout') }}"
and add the following above it:
<a href="{{ route('profile') }}">Profile</a>
[Login] view doesn't exist
Ensure you have ranphp artisan make:auth
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Kyle Essex - Initial work - MrEssex
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details