In order to install extension use Composer. Either run
php composer.phar require tsvetkov/tinkoff_open_api
or add
"tsvetkov/tinkoff_open_api": "*"
to the require section of your composer.json.
Initialization
use tsvetkov\tinkoff_open_api\Client;
$client = new Client($token);
$stocks = $client->marketStocks();