PHP code example of liuv / larapix
1. Go to this page and download the library: Download liuv/larapix 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/ */
liuv / larapix example snippets
$service = new \Liuv\Larapix\Core\LarapixService();
$charge = new \Liuv\Larapix\Charges\Charge(
'correlatedId', // ID used to track on your app
1000 // Value to charge in cents (10,00)
);
$service->charges()->create($charge)