Skip to content

hummingbird-dev/laravel-auth-profile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-Auth-Profile

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

  1. Open PROJECT_NAME/config/app.php
  2. In the 'providers' => [] array, under Illuminate\View\ViewServiceProvider::class, add MrEssex\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

  1. [Login] view doesn't exist Ensure you have ran php 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

About

Extending off of the Laravel Auth scaffolding, this package creates a profile for the current user

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 57.8%
  • HTML 42.2%