All Projects → trafficinc → Codeigniter Authit

trafficinc / Codeigniter Authit

Licence: other
CodeIgniter 3 User Authentication Library thats Lightweight, flexible, and Secure

Projects that are alternatives of or similar to Codeigniter Authit

tendoo-cms
This version of Tendoo CMS is not supported by Nexo Solutions. If you want to use Gastro, you need to have NexoPOS
Stars: ✭ 51 (+121.74%)
Mutual labels:  codeigniter
Codeigniter Composer Installer
Installs the offical CodeIgniter 3 with secure folder structure via Composer
Stars: ✭ 357 (+1452.17%)
Mutual labels:  codeigniter
Hookphp
HookPHP基于C扩展搭建内置AI编程的架构系统-支持微服务部署|热插拔业务组件-集成业务模型|权限模型|UI组件库|多模板|多平台|多域名|多终端|多语言-含常驻内存|前后分离|API平台|LUA QQ群:679116380
Stars: ✭ 575 (+2400%)
Mutual labels:  codeigniter
codeigniter-cache-helper
📤 A CodeIgniter output cache helper.
Stars: ✭ 19 (-17.39%)
Mutual labels:  codeigniter
Mini Inventory And Sales Management System
An Inventory and Sales Management System written in PHP (codeIgniter) with support for MySQL and Sqlite3 databases
Stars: ✭ 273 (+1086.96%)
Mutual labels:  codeigniter
Ci bootstrap 3
A multi-tenant website template based on CodeIgniter 3 with integration of some useful tools
Stars: ✭ 378 (+1543.48%)
Mutual labels:  codeigniter
codeigniter-role-base-access-control
CodeIgniter Role Base Access Control library is an easy understandable, comprehensive and convenient way to manage users.
Stars: ✭ 59 (+156.52%)
Mutual labels:  codeigniter
Codeigniter Summernote Landing Page Builder
Landing page builder system using Codeigniter / Summernote
Stars: ✭ 17 (-26.09%)
Mutual labels:  codeigniter
Codeigniter4
Open Source PHP Framework (originally from EllisLab)
Stars: ✭ 3,839 (+16591.3%)
Mutual labels:  codeigniter
Ci Phpunit Test
An easier way to use PHPUnit with CodeIgniter 3.x.
Stars: ✭ 535 (+2226.09%)
Mutual labels:  codeigniter
perpus-ci3
Sistem Informasi Perpustakaan Berbasis Website
Stars: ✭ 18 (-21.74%)
Mutual labels:  codeigniter
Ci Adminlte
CodeIgniter 3.1.10 with AdminLTE 2.3.11
Stars: ✭ 259 (+1026.09%)
Mutual labels:  codeigniter
Cron Manager
A PHP cron task manager for MVC-type applications
Stars: ✭ 396 (+1621.74%)
Mutual labels:  codeigniter
CodeIgniter-phpstorm-plugin
PhpStorm plugin for CodeIgniter development
Stars: ✭ 18 (-21.74%)
Mutual labels:  codeigniter
Ecommerce Codeigniter Bootstrap
Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
Stars: ✭ 788 (+3326.09%)
Mutual labels:  codeigniter
codeigniter-queue-worker
CodeIgniter 3 Daemon Queue Worker (Consumer) Management Controller
Stars: ✭ 67 (+191.3%)
Mutual labels:  codeigniter
Codeigniter Aauth
Authorization, Authentication and User Management library for Codeigniter 2.x and 3.x to make easy user management and permission operations
Stars: ✭ 360 (+1465.22%)
Mutual labels:  codeigniter
Academic Alumni
A web application that can be maintain as a social web for alumni of an academic institute
Stars: ✭ 17 (-26.09%)
Mutual labels:  codeigniter
Codeigniter Smartgrid
A simple PHP datagrid control for CodeIgniter framework with Bootstrap
Stars: ✭ 16 (-30.43%)
Mutual labels:  codeigniter
Mapos
Sistema de Controle de Ordens de Serviço
Stars: ✭ 421 (+1730.43%)
Mutual labels:  codeigniter

CodeIgniter Authit

A lightweight and flexible CodeIgniter 3 authentication library. It comes packaged with an example Auth class and related views so that you can get your CI project up and running in minutes. Test/View, sent emails with an email preview that allows you to view the last sent email by going to ...auth/sentemails. See config/authit to turn on for development, off for production, and on each authentication action you want it on, already enabled on password reset functionality by default.

Requirements

  • CodeIgniter 3.0+
  • PHP 5.5+
  • MySQL

Installation

  1. Download and unpack the contents of the application folder to your CodeIgniter project.
  2. That's it! Visit /auth to signup and login.
  3. If you want you can edit application/config/authit.php to change some settings, but the defaults are fine.

Usage

See example Auth controller which provides a functioning example of login, sign up, logout and forget/reset password. The Authit library provides several API methods:

logged_in() - Returns true if the current user logged in, false otherwise.

login($email, $password) - Attempts to login a user with a given $email and $password. Returns true if successful and false otherwise.

logout([$redirect = false]) - Logs out the current user (by destroying the session). Accepts an optional $redirect parameter to redirect to a given URI after logout.

signup($email, $password) - Attempts to create a user with a given $email and $password. Returns true if successful and false otherwise.

reset_password($user_id, $new_password) - Resets the password of the user with the given $user_id.

The Authit helper includes the following helper functions:

logged_in() - Returns true if the current user logged in, false otherwise (shortcut to the Authit library logged_in() function).

user([$key = '']) - Returns the session data for the currently logged in user. If you specifiy a $key you can get specific info, for exmaple user('id') returns the currently logged in user ID.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].