PHP code example of marqant-lab / marqant-pay

1. Go to this page and download the library: Download marqant-lab/marqant-pay 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/ */

    

marqant-lab / marqant-pay example snippets


return [
    /*
     |--------------------------------------------------------------------------
     | Gateways
     |--------------------------------------------------------------------------
     |
     | In this section you can define all payment gateways that you need for
     | your project.
     |
     */

    'gateways' => [
        'stripe' => \Marqant\MarqantPayStripe\StripePaymentGateway::class,
    ],
];
shell script
php artisan marqant-pay:migrations App\\User
# or
php artisan marqant-pay:migrations "App\User"

php artisan marqant-pay:providers:update
shell script
php artisan marqant-pay:migrations App\\User
# or
php artisan marqant-pay:migrations "App\User"
shell script
php artisan migrate
shell script
touch database/database.sqlite
xml
    <testsuites>
        ...
        <testsuite name="MarqantPay">
            <directory suffix="Test.php">./vendor/marqant-lab/marqant-pay/tests</directory>
        </testsuite>
    </testsuites>