PHP code example of mymage / saasykit-peachpayments
1. Go to this page and download the library: Download mymage/saasykit-peachpayments 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/ */
mymage / saasykit-peachpayments example snippets
use App\Services\PaymentProviders\PeachPayments\PeachPaymentsProvider;
// inside register(), extend the existing tag() call:
$this->app->tag([
StripeProvider::class,
PaddleProvider::class,
// ... existing providers ...
PeachPaymentsProvider::class, // <-- add this
], 'payment-providers');
public const PEACH_PAYMENTS_SLUG = 'peach-payments';