L
L
Loner19952020-03-11 15:36:28
PHP
Loner1995, 2020-03-11 15:36:28

Do I need to additionally include the library after installation?

After installing Composer and the Guzzle dependency, the test request is not sent using Guzzle. Before that, I worked with JS and there it was necessary to connect libraries using import, is it necessary to do something similar in the case of php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-03-11
@sHinE

From documentation.
After installing, you need to require Composer's autoloader: That is, after installing, you need to enable Composer's autoloader. After that, the libraries installed by the composer will be connected automatically (provided that namespaces are used correctly)
require 'vendor/autoload.php';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question