Welcome Guest, Not a member yet? Register   Sign In
Add library with namespaces
#7

The CI 3.0 dev now comes with composer autoloader. You can also use in your 2.x (copy & paste from /core/Codeigniter.php to same in older version)

To use any library in composer, simply use the namespace when calling: example: \MyComposerLib
Reply


Messages In This Thread
Add library with namespaces - by turtuga - 01-05-2015, 05:09 AM
RE: Add library with namespaces - by mwhitney - 01-05-2015, 12:49 PM
RE: Add library with namespaces - by no1youknowz - 01-05-2015, 05:38 PM
RE: Add library with namespaces - by Avenirer - 01-06-2015, 07:07 AM
RE: Add library with namespaces - by XMadMax - 01-21-2015, 07:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB