alireza / myauthtutor
a simple authentication
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/alireza/myauthtutor
Requires
- php: >=5.3.0
- illuminate/support: 4.1.*
- morrislaptop/laravel-five-package-bridges: dev-master
This package is not auto-updated.
Last update: 2025-09-23 11:41:49 UTC
README
Simple Authentication Package for Laravel 5.0. I've made this for sitepoint deep dive in laravel Packages
Article.
Directions:
to use this package you would know about two main method and two properties.
-
Login: login() method can automatically get Post which include
username
andpassword
input or You can do it manually like this :MyAuth::login(array('username'=>'Alireza@isawesome.me','password'=>'test');
If argument leave empty It'll search for POST input. -
logout: just call it. :)
-
redirect_login or redirect_logout: are properties for changing directory after login/out action.