PHP Initialization for Square

Sorry for not explaining clearly; you do need to also include it at the top:

require 'vendor/autoload.php'; // this should have been created by Composer

use Square\SquareClient;
1 Like