Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeIgniter #3

Closed
Brian-Webb opened this issue Nov 12, 2014 · 2 comments
Closed

CodeIgniter #3

Brian-Webb opened this issue Nov 12, 2014 · 2 comments

Comments

@Brian-Webb
Copy link

Thoughts on getting this to work in CodeIgniter? By default, Codeigniter doesn't utilize any namespaces...

@jyggen
Copy link
Owner

jyggen commented Nov 12, 2014

I honestly have no clue, haven't worked with CodeIgniter for years, but should be doable in theory.

CodeIgniter is PHP after all, so if you get Composer's autoloader working in CI (Google should be your friend here) there shouldn't be anything stopping you from using the library as one would "normally".

A second option would be to include/require each class manually, but that'll give you a headache if (when) the library is changed around in future releases.

@Brian-Webb
Copy link
Author

I'll dig into Composer a bit... otherwise I managed to get a very basic class created myself that should work for now!

Thanks for the quick response. I'll star this and keep my eye out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants