This Gist was created by scotch.io CodeIgniter Library for Github