kiwi/laravel5-usermanager

This package helps you to start a project with all routes, controllers and views for users management (registration, profile, password edit/reset, login, logout)

dev-master / 1.0.x-dev 2015-09-07 13:21 UTC

This package is not auto-updated.

Last update: 2024-04-22 20:27:45 UTC


README

Software License

This package helps you to start a project with all routes, controllers and views for users management (registration, profile, password edit/reset, login, logout)

Install

Via Composer

$ composer require kiwi/lavarel5-usermanager

Config

App Provider

'providers' => [
	...,
    Kiwi\UserManager\UserManagerServiceProvider::class
],
'aliases' => [
	...
	'UserManager' => Kiwi\UserManager\Facades\UserManager::class
]

Edit your User model

use Kiwi\UserManager\Models\User as UserManagerUser;

class User extends UserManagerUser
{
}

Publish views / config / translations

php artisan vendor:publish

Env - If NoCaptcha ReCaptcha is enabled

NOCAPTCHA_SECRET=[YOUR_SECRET_KEY]
NOCAPTCHA_SITEKEY=[YOUR_SITEKEY]

Conf file

/config/kiwi/usermanager.php

Usage

Helpers

UserManager::getProfileFormView()
UserManager::getRegisterFormView()
UserManager::getLoginFormView()
UserManager::getEditPasswordFormView()
UserManager::getResetPasswordMailFormView()
UserManager::getResetPasswordResetFormView()
UserManager::isNoCaptchaActive()

Routes

As a known user

	user/password @POST,GET
	user/profile @POST, GET
	user/logout @GET

As a guest

	user/login @POST
	user/register @POST
	password/email @GET, POST
	password/reset @POST
	password/reset/{token} @GET

Change log

Please see CHANGELOG for more information what has changed recently.

Security

If you discover any security related issues, please email contact@kevin-anidjar.com instead of using the issue tracker.

Credits

License

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