A PHP sdk to interact with Alal's API
composer require alal/alal-sdk
- PHP 8.0+
Generate an API KEY from the Alal dashboard
<?php
include "vendor/autoload.php";
use Alal\Client\Options;
use Alal\Client\AlalSdk;
$env = 'production'; or // sandbox
$apikey = 'sk.8fcdc.a23474b7d2612534df';
$options = new Options($env);
$AlalSdk = new AlalSdk($apikey, $options);
$showCard = $AlalSdk->cards()->showCard('792c6cf2-f5cf-46c8-bf8c-699a9028010e');
$createCard = $AlalSdk->cards()->createCard('visa', 'virtual', 'd282e4a6-1fb6-4827-a6ae-a780263287d7')
Bug reports and pull requests are welcome on GitHub at https://github.com/ALAL-Community/alal-node. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct. Simply create a new branch and raise a Pull Request, we would review and merge.
The library is available as open source under the terms of the MIT License