Home

Awesome

⛔ ABANDONED

This project answered a need I had many moons ago for a version of Laravel long gone.<br> Times have changed. Please consider using Jetstream.

:bust_in_silhouette: Silhouette

A useful quick boilerplate on top of the default laravel auth scaffolding that provides an interface for users to manage their profile.

Requirements

Basic install of Laravel 5.4 and up. Auth scaffolding & a user to login as.

Install

First you will need to have installed the default Laravel Auth scaffolding.

Instructions can be found here, but basically:

artisan make:auth
artisan migrate

Now you can install using Composer

composer require twmbx/silhouette dev-master

If you're on Laravel 5.4: Add the service provider to your the providers array in config/app.php

Twmbx\Silhouette\ServiceProvider::class,

Publish package assets to get

artisan vendor:publish

You can customise the view as needed and use the ProfileController to add your own functionality.

In your resources/views/layouts/app.blade.php find <a href="{{ route('logout') }}" and add the following above it:

<a href="{{ route('profile.view') }}">Profile</a>

Contributing

Please see CONTRIBUTING

License

The MIT License (MIT). Please see License File for more information.

Made with :heart: in :zambia: