Welcome Guest, Not a member yet? Register   Sign In
How to import Graphp in CI4 without composer
#1

Dear colleagues!
Sorry for the noob question, I'm still learning.

I need to install the Graphp library in CI4. I can't use composer so I manually downloaded the library files and placed them in the "App/ThirdParty/Graphp" folder.
Inside my controller I wrote directive "use Graphp;"

After which in the code: 
$graph = new Graphp\Graph\Graph();

However, no matter what I do, I get an error: Class "Graphp\Graph\Graph" not found

I feel like I was wrong quite a bit. Please give me wise advice!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB