Open Mahdi-Ba opened 7 years ago
i created php file and write this code
<?php require '../vendor/autoload.php'; require 'Client.php'; use Goutte\Client; $client = new Client(); $crawler = $client->request('GET', 'https://www.symfony.com/blog/'); var_dump($crawler); ?>
when run code I get this error
PHP Fatal error: Class 'Symfony\Component\BrowserKit\Client' not found in /home/mbahari/Documents/crawler/Goutte/Goutte/Client.php on line 31
have you run Composer to install the dependencies ?
i created php file and write this code
when run code I get this error