Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Bitwise Permissions System for Codeigniter
PHP JavaScript
tag: v0.2.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.



  • PHP 5.1.6+, 5.3+ recommended
  • CodeIgniter 2.0+
  • MySQL
  • php-gmp


  • Phpass Integration: BitAuth uses phpass to handle password hashing
  • Password complexity rules: Along with minimum and maximum length, specify the required number of:
    • Uppercase Characters
    • Numbers
    • Special Characters
    • Spaces
    • ... Or, add your own
  • Password aging: Require your users to change their passwords at a set interval
  • Completely custom userdata: Easily customize BitAuth to include any custom you want. Full name, Nickname, Phone number, Favorite color... You name it!
  • Groups and Roles: Create groups, and assign users to your groups. Your roles are set on a group, not a user, so changing roles, whether the scale is large or small, is fast and painless.
  • Text-based roles: Simply list your roles in the configuration file, then check against them in your code. BitAuth handles everything in between.



Copy the included files to their appropriate locations in the application/ folder. Import bitauth.sql into your database. If you would like to change the names of the tables BitAuth uses, you can change them in this .sql file, and must also change them in config/bitauth.php.


As of v0.2.0, php-gmp is no longer used. The structure of the bitauth_groups table has changed, as well.

The default login is admin/admin.

It is highly recommended you enable db sessions.

Currently, only MySQL is supported. This may change in the future. Or not. We'll see.

Something went wrong with that request. Please try again.