2017 © Pedro Peláez
 

library laravel-extended-user

This Laravel package adds profile page, account page, and extra features to Laravel's authenticated users.

image

aliabdulaziz/laravel-extended-user

This Laravel package adds profile page, account page, and extra features to Laravel's authenticated users.

  • Sunday, May 13, 2018
  • by Aliabdulaziz
  • Repository
  • 0 Watchers
  • 1 Stars
  • 2 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

laravel-extended-user

This Laravel package adds profile page, account page, and extra features to Laravel's built-in Auth system, (*1)

Requirements

  • Bootstrap 4
  • Laravel 5.3+

Screenshots

Profile page, (*2)

Account page, (*3)

Delete account page, (*4)

Installation

It is recommended to install this package in a fresh installation of Laravel., (*5)

Laravel's built-in Auth System

This package is integrated with Laravel's built-in Auth System, so you must first run this command if you have not run it yet:, (*6)

php artisan make:auth

Now go to your (env) file and make sure that you have selected your database., (*7)

Install the package using composer

Now install the package using composer by running the following command:, (*8)

composer require aliabdulaziz/laravel-extended-user

Add the service provider (for Laravel < 5.5)

Go to: (Your Laravel App) --> config --> app.php, (*9)

and add the following line under 'Package Service Providers' comment:, (*10)

Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider::class

Publish the config file

Run the following command to publish the package config file:, (*11)

php artisan vendor:publish --provider="Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider" --tag=config

The config file is named (laravelextendeduser.php) and will be located in the 'config' folder., (*12)

Publish the assets (CSS and JS files)

Run the following command to publish the package assets:, (*13)

php artisan vendor:publish --provider="Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider" --tag=assets

Migrate

Run the artisan migrate command to create the users table:, (*14)

this command will also migrate the package migration file by which the profile field is added to the users table., (*15)

php artisan migrate

The following command will create a symbolic link from 'public/storage' to 'storage/app/public'. This is neccessary to access the user profile image (avatar)., (*16)

php artisan storage:link

Access 'Profile' and 'Account' pages

Now you can access the 'profile' and the 'account' pages by visiting the following routes:, (*17)

  • /profile
  • /account

Customization

To customize the package default views publish them to your views folder by running the following command:, (*18)

php artisan vendor:publish --provider="Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider" --tag=views

Now make whatever customization you want on the published views., (*19)

you can also publish the assets source files (sass and js files) by running the following command:, (*20)

php artisan vendor:publish --provider="Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider" --tag=src

these files will be located in (Your Laravel app) --> resources --> assets --> vendor --> laravelextendeduser., (*21)

The Versions

13/05 2018

dev-master

9999999-dev

This Laravel package adds profile page, account page, and extra features to Laravel's authenticated users.

  Sources   Download

MIT

The Requires

 

by Ali Abdulaziz

13/05 2018

v1.0.0

1.0.0.0

This Laravel package adds profile page, account page, and extra features to Laravel's authenticated users.

  Sources   Download

MIT

The Requires

 

by Ali Abdulaziz