2017 © Pedro Peláez
 

library guzzle

a provider

image

phpmodules/guzzle

a provider

  • Friday, May 25, 2018
  • by twn39
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 50 % Grown

The README.md

Install

composer require phpmodules/guzzle

Usage

for Zend Expressive, (*1)

in config\config.php:, (*2)

$aggregator = new ConfigAggregator([
    \Zend\Expressive\Router\FastRouteRouter\ConfigProvider::class,
    \Zend\HttpHandlerRunner\ConfigProvider::class,
    // Include cache configuration
    new ArrayProvider($cacheConfig),

    \Zend\Expressive\Helper\ConfigProvider::class,
    \Zend\Expressive\ConfigProvider::class,
    \Zend\Expressive\Router\ConfigProvider::class,

    // ------------

    \PHPModules\Guzzle\ConfigProvider::class,

    // ------------

    // Load application config in a pre-defined order in such a way that local settings
    // overwrite global settings. (Loaded as first to last):
    //   - `global.php`
    //   - `*.global.php`
    //   - `local.php`
    //   - `*.local.php`
    new PhpFileProvider(realpath(__DIR__) . '/autoload/{{,*.}global,{,*.}local}.php'),

    // Load development config if it exists
    new PhpFileProvider(realpath(__DIR__) . '/development.config.php'),
], $cacheConfig['config_cache_path']);

The Versions

25/05 2018

dev-master

9999999-dev

a provider

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar twn39

25/05 2018

1.0.0

1.0.0.0

a provider

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar twn39