0

How to use external libraries in Codeigniter?

Simply place the folder in the root of the Codeigniter files, where ‘user_guide’, ‘application’ and ‘static’ folders are.

So for example the library is ‘simpledom’ folder, and the file to include is ‘simple_html_dom.php’, to call it, simply use this code in any function.

require(‘simpledom/simple_html_dom.php’);

facebooktwittergoogle plus


Leave a Reply