PHP code example of nazmulpcc / porichoy

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

    

nazmulpcc / porichoy example snippets


$porichoy = new \Porichoy\Porichoy($api_host, $api_key); // sandbox mode
$porichoy = new \Porichoy\Porichoy($api_host, $api_key, false); // live mode
text
PORICHOY_API_HOST=
PORICHOY_API_KEY=
bash
php artisan vendor:publish --tag=porichoy-config