More Than Just An Authentication Library
Community Auth is a user authentication application for CodeIgniter. It is completely unique, and not based on anyone's previous work. If you've come here looking for a CodeIgniter authentication library, then please keep in mind that Community Auth is more than just a library. Community Auth is distributed with example controllers, models, views, and should be considered a project foundation. All of this is available 3 ways:
- Tip - The most current code in development. Installed in CodeIgniter 2.1.3 for your convenience. May contain code not fully tested.
- v2.0.1 - The last tagged version in the repository. Installed in CodeIgniter 2.1.3 for your convenience. Fully tested.
- v2.0.1 Files Only - Isolated code not installed in CodeIgniter. Downloaded files are manually merged with your existing CodeIgniter application. Only suitable for experienced developers.
Core Authentication Features
- User Authentication (User Login)
- Access Granted by Level / Role
- Access Granted by Role Group
- Content Switching in Views
- Limits Failed Login Attempts
- Limits Login to a Single Device (Default)
- Deny Access by IP (Requires Local Apache Configuration File)
- Persistent Login (Remember Me) (Turned Off by Default)
- Forgotten Password and Username Recovery
- New User Registration
- Off by Default
- Instant Registration Mode
- Registration by Email Verification Mode
- Registration by Admin Approval Mode
- User Account Update
- Self Update
- Update by Superior Role
Built-in Debugging & Time Saving Examples
Community Auth also makes for a great learning tool for developers who are new to CodeIgniter. FirePHP is included and autoloaded in the distribution, and by installing Firebug, and either the FirePHP or DeveloperCompanion extensions for Firefox, you've got an impressive debugging tool at your disposal. For those of you who prefer Chrome, ChromePHP is also loaded in both development and testing environments. Community Auth also shows examples of extending the CodeIgniter controller class, extending other CodeIgniter libraries, overriding CodeIgniter helpers, pagination, and ajax using jQuery. An ajax uploader shows you how to upload images and store them on the filesystem or in the database. A "custom uploader" shows you how to use jQuery UI's draggable, droppable, and sortable, and all at the same time. There's more too.
If you've downloaded Community Auth and are checking it out, thank you for giving it a try. I'm pleased to share this application with you, and hopefully we can work together to make it especially useful for your CodeIgniter projects. It's been something I've worked on over the last couple of years, and you are getting the benefit of hundreds of hours of programming time and experience.
If you're an experienced user of CodeIgniter, you can get started quite easily.
- Make sure to look through all of the config files, and set all configuration options according to the description in the comments. Community Auth uses some config files that are not part of CodeIgniter's standard set, but also has custom additions to the constants.php config file.
- Create a database.
- Edit then run the init controller. This populates the database and creates the admin. You may optionally create a set of test users while running this installer. Please make sure to disable or remove this controller and the db.sql file once completed.
For more detailed instructions on how to install, configure, and use Community Auth, please check out the documentation for Community Auth, which takes you step by step through the process of getting up and running.
If you need help, feel free to start a new thread in the CodeIgniter Forum. I'm "skunkbad" in the forum, and I'll help whenever possible. Due to my busy work schedule, I may not always be able to help. Work does come first, and that said, if you are willing to pay for support, please feel free to contact me on my website, http://brianswebdesign.com.
Community Auth is licensed under the BSD License.
Read the license HERE.
Page rendered in 0.0538 seconds