1. Go to this page and download the library: Download laraditz/2c2p 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/ */
laraditz / 2c2p example snippets
// Using service container
app('Twoc2p')->createPayment($data);
// Using facade
\Twoc2p::createPayment($data);