kaushalkishorejaiswal / users
Zend Users is a user authentication module for Zend Framework 2, which provides all the users login and authentication process. Such as login, remember me, forgot password etc.
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 0
Type:module
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2025-05-06 04:54:50 UTC
README
Created by Kaushal Kishore
Email : kaushal.rahuljaiswal@gmail.com
Website : http://www.kaushalkishore.com
Introduction
Zend Users is a user authentication module for Zend Framework 2, which provides all the users login and authentication process. Such as login, remember me, forgot password etc.Functionality of the Users Module:
- User Login Authentication
- Change Password
- Remember Me Functionality
- Reset Password
- Forgot Password
- Forgot Password Mail Functionality
Installation
- Clone the Users Module into your vendor folder
- Enabling it in your application.config.phpfile.
- Import the Users.sql file in your database, located in data folder of Users module
- Copy the users.local.php.dist in your config/autoload folder
- Rename it to users.local.php
- Modify the settings of users.local.php according to you
Enable the module in application.config.php
<?php return array( 'modules' => array( // ... 'Users', ), // ... );
Routes of the Actions:
- Login : /users
- Login : /users/index
- Logout : /users/logout
- Forgot Password : /users/forgot-password
- Reset Password : /users/reset-password
- Change Password : /users/change-password
Database Table Installation:
CREATE TABLE `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(101) NOT NULL, `password` varchar(45) NOT NULL, `login_attempts` int(11) NOT NULL DEFAULT '0', `login_attempt_time` int(11) NOT NULL DEFAULT '0', `first_name` varchar(45) NOT NULL, `last_name` varchar(45) NOT NULL, `status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `last_signed_in` datetime DEFAULT NULL, PRIMARY KEY (`id`) )INSERT INTO
users
(id
,password
,login_attempts
,login_attempt_time
,first_name
,last_name
,status
,last_signed_in
) VALUES (1, 'kaushal.rahuljaiswal@gmail.com', 'd4cb903787695a544172af6f0af88fef583a81c8', 0, 0, '', '', 'Active', NULL);
Default Credentials
- Email : kaushal.rahuljaiswal@gmail.com
- Password : Kaushal@123