Download the PHP package minasm/trading212api without Composer
On this page you can find all versions of the php package minasm/trading212api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download minasm/trading212api
More information about minasm/trading212api
Files in minasm/trading212api
Package trading212api
Short Description Wrapper for official trading212.com api
License MIT
Informations about the package trading212api
T212 Official API Client Wrapper for Laravel/PHP
This is a simple wrapper for Public Beta Trading212 Official API. The API currently works in Practice Mode.
You can check the documentation here https://t212public-api-docs.redoc.ly/
Installation
To install this package via the composer require
command:
Or add it to composer.json
manually:
Laravel
No configuration required for Laravel >= 5.5+, It will use the auto-discovery function.
In Laravel <= 5.4 (or if you are not using auto-discovery) register the service provider by adding it to the providers
key in config/app.php
. Also register the facade by adding it to the aliases
key in config/app.php
.
Configuration
To get started, you'll need to publish all vendor assets:
This will create a config/T212.php
file in your app that you can modify to set your configuration.
Set your T212 data API token in the file:
All versions of trading212api with dependencies
guzzlehttp/guzzle Version ^7.2
illuminate/support Version ^8.0|^9.0|^10.0
illuminate/contracts Version ^8.0|^9.0|^10.0
vlucas/phpdotenv Version ^5.5
laravel/pint Version ^1.10