PHP code example of minasm / trading212api
1. Go to this page and download the library: Download minasm/trading212api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
minasm / trading212api example snippets
'providers' => [
...
MinasM\T212\T212ServiceProvider::class,
],
'aliases' => [
...
'T212' => MinasM\T212\Facades\T212::class,
]
bash
$ php artisan vendor:publish --provider="MinasM\T212\T212ServiceProvider"
bash
return [
'api_token' => 'put your token here'
];