mressex / laravel-auth-profile
Building off of the default Laravel Authentication. View and Edit User Profiles
Installs: 1 875
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 4
Open Issues: 0
Requires
- php: >=5.4.0
- illuminate/support: ^5.4
This package is not auto-updated.
Last update: 2020-11-27 10:04:39 UTC
README
This laravel package takes advantage of the already provided Auth generation and extends it, enabling user profiles.
Getting Started
These instructions will enable you to plug this package into your laravel installation and customise with ease.
Installing
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>
Common Errors
[Login] view doesn't exist
Ensure you have ranphp artisan make:auth
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Kyle Essex - Initial work - MrEssex
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details