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)
Requires
- php: >=5.3.0
- anhskohbo/no-captcha: 2.*
- guzzlehttp/guzzle: ~5.3|~6.0
- illuminate/support: ~5.1
- laravel/framework: 5.1.*
- laravelcollective/html: 5.1.*
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is not auto-updated.
Last update: 2024-04-22 20:27:45 UTC
README
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
- [Kevin Anidjar][http://www.kevin-anidjar.com]
License
The MIT License (MIT). Please see License File for more information.