have just install Neo4j Client for PHP using 'composer require neoxygen/neoclient' and put this in my php file
require_once 'vendor/autoload.php';
use Neoxygen\NeoClient\ClientBuilder;
$client = ClientBuilder::create() ->addConnection('default','http','localhost',7474) ->build();
But when i run this php file in my browser when printr($client) it is not connected.