PHP code example of stonedleaf / paymaya-checkout-laraplate
1. Go to this page and download the library: Download stonedleaf/paymaya-checkout-laraplate 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/ */
stonedleaf / paymaya-checkout-laraplate example snippets
use App\Models\PayMaya\Transaction;
public function boot()
{
Paymaya::useTransactionModel(Transaction::class);
}
use Stonedleaf\PaymayaCheckoutLaraplate\Paymaya;
public function register()
{
Paymaya::ignoreMigrations();
}
use Stonedleaf\PaymayaCheckoutLaraplate\Paymaya;
public function register()
{
Paymaya::ignoreRoutes();
}