PHP code example of reinfi / zf-guzzle-emitter

1. Go to this page and download the library: Download reinfi/zf-guzzle-emitter 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/ */

    

reinfi / zf-guzzle-emitter example snippets


    return [
        'modules' => [
            'Reinfi\GuzzleEmitter',
            // other modules
        ],
    ];

'guzzle_emitter' => [
    'subscriber' => [
        YourSubscriber::class,
    ],
]

$options = [
    'emitter' => $container->get(\Reinfi\GuzzleEmitter\Emitter::class);,
    '...'     => '',
];

$client = new Client($options);