PHP code example of fintech-systems / domainscoza-api

1. Go to this page and download the library: Download fintech-systems/domainscoza-api 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/ */

    

fintech-systems / domainscoza-api example snippets


return [
    'username' => env('DOMAINSCOZA_USERNAME'),
    'password' => env('DOMAINSCOZA_PASSWORD'),
];

$domainsCoza = new FintechSystems\DomainsCoza();
echo $domainsCoza->echoPhrase('Hello, FintechSystems!');
bash
php artisan vendor:publish --tag="domainscoza-config"
bash
php artisan vendor:publish --tag="domainscoza-api-views"