PHP code example of jjsoftwareltd / current-gateway

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

    

jjsoftwareltd / current-gateway example snippets


CurrentGateway::get('opportunities', ['page' => 1]);

CurrentGateway::post('opportunities', ['subject' => 'My Job']);

CurrentGateway::put('opportunities/1', ['subject' => 'My Job']);

CurrentGateway::delete('opportunities/1');

bash
php artisan vendor:publish --tag="current-gateway-config"