You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To install, copy the contents of this package into your CodeIgniter application directory and define a pre_system hook to call Classmapper::register():
Be sure to enable hooks in your main config.php file.
Usage
Once Classmapper is installed, you have to manually configure the config/classmap.php file for each of the classes that you want to be able to autoload:
You may now instantiate objects from the classes you defined without having to manually require or call $this->load, and the required file will be loaded automatically.