I have downloaded php phantom js using composer but I am not able to run this package in my php project. Is there any other requirements or engine needed to run composer package on custom php project. I have this folder structure
I am getting this error
Fatal error: Class 'JonnyW\PhantomJs\Client' not found in D:\wamp\www\freelancer\practice\phantomget.php on line 5
because it is not getting the class
I have also change the class inclusion use JonnyW\PhantomJs\Client; to include_one('Client class path in vendor folder') to directly get the class but it is showing other class errors
So is there any workaround to use this package on custom php project, I have this package here