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;
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;