PHP code example of blenderdeluxe / khipu-laravel

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

    

blenderdeluxe / khipu-laravel example snippets


'providers' => array(
    …
    BlenderDeluxe\LaravelKhipu\KhipuServiceProvider::class,
    …
),

'aliases' => array(
    …
    'Khipu' => BlenderDeluxe\LaravelKhipu\Facades\Khipu::class,
    …
),
 
//routes.php

Route::get('/', function () {
    $banks =  Khipu::loadService('ReceiverBanks')->consult();
    
    echo $banks;
});
 
//routes.php

Route::get('/', function (BlenderDeluxe\Khipu\Khipu $khipu) {
    $banks =  $khipu->loadService('ReceiverBanks')->consult();
	
	//You can also can call the service as a properties of the class..
	$khipu->ReceiverBanks->consult();
    
    echo $banks;
});