PHP code example of reg2005 / pmpaylaravel

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

    

reg2005 / pmpaylaravel example snippets

 php

Add in config/app.php in providers

reg2005\PayAssetsLaravel\PayAssetsLaravelServiceProvider::class,

reg2005\PmPayLaravel\PmServiceProvider::class,

 php
    protected function schedule(Schedule $schedule)
    {

        $schedule->call(function () {

            $res =  (new PmController())->index();

        })->everyMinute();
    }