PHP code example of payourself2 / monobank-bundle

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

    

payourself2 / monobank-bundle example snippets


// config/bundles.php

return [
    // ...
    Payourself2\Bundle\MonobankBundle\MonobankBundle::class => ['all' => true],
];
yaml
services:
    payourself2_monobank.send_request_adapter:
        class: Payourself2\Bundle\MonobankBundle\Adapter\SymfonyClientAdapter
        autowire: true
        autoconfigure: true