CodeIgniter Forums
Alternate to use keyword - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forum-7.html)
+--- Forum: Addins (https://forum.codeigniter.com/forum-13.html)
+--- Thread: Alternate to use keyword (/thread-72383.html)



Alternate to use keyword - baxterheinen - 12-12-2018

I would like to use this library/tool with CI3:

https://github.com/webonyx/graphql-php

It is normal OOP PHP so it uses namespaces and the 'use' keyword. How do I go about converting that to Codeigniter that doesn't? Do I just go thru all the files and change then to require('')?


RE: Alternate to use keyword - php_rocs - 12-13-2018

@baxterheinen,

I would recommend that for future questions you simply do research in the CI forum (first). This question has been asked many times in many different ways. Here is one suggestion... ( https://forum.codeigniter.com/thread-780-post-349382.html#pid349382 ).