tavux/qonto-laravel is a Laravel package for qonto client for laravel 5 and 6.
It currently has 2 GitHub stars and 15 downloads on Packagist (latest version 1.0.0).
Install it with composer require tavux/qonto-laravel.
Discover more Laravel packages by tavux
or browse all Laravel packages to compare alternatives.
Last updated
Qonto is a new bank company for freelancers & companies (more infos : qonto.eu)
Qonto provides an API for companies to get data from their bank account.
qonto-laravel is a client, for Laravel 5+ (and 6), to request this API. It uses qonto-php.
qonto-laravel only supports the second version of Qonto API.
composer require tavux/qonto-laravel\Tavux\Qonto\Laravel\QontoServiceProvider::class to your providers in config/app.php'Qonto' => \Tavux\Qonto\Laravel\Facades\Qonto::class to your aliases in config/app.phpphp artisan vendor:publish --tag=qonto.env and add QONTO_LOGIN and QONTO_SECRET_KEY with your API credentials (see https://api-doc.qonto.eu/2.0/welcome/authentication) /**
* @method static \Tavux\Qonto\Models\Attachment getAttachment(string $id)
* @method static \Tavux\Qonto\Models\Organization getOrganization(string $id)
* @method static \Tavux\Qonto\Models\Labels listLabels(int $current_page=null, int $per_page=null)
* @method static \Tavux\Qonto\Models\Memberships listMemberships(int $current_page=null, int $per_page=null)
* @method static \Tavux\Qonto\Models\Transactions listTransactions($slug, string $iban=null, string $status=null, string $updated_at_from=null, string $updated_at_to=null, string $settled_at_from=null, string $settled_at_to=null, string $sort_by=null, int $current_page=null, int $per_page=null)
* @method static void setCredentials($login, $secret_key)
*/
try {
$organization = Qonto::getOrganization('company_id');
$transactions = Qonto::listTransactions($organization->bank_accounts[0]->slug);
$labels = Qonto::listLabels();
$memberships = Qonto::listMemberships();
var_dump($organization, $transactions, $labels, $memberships);
} catch (\GuzzleHttp\Exception\GuzzleException $e) {
echo $e->getMessage();
}
qonto-laravel has been initiated by Tavux.
MIT Licence. Refer to the LICENSE file to get more info.