jongotlin/arbetsformedlingen-ads-bundle

2.0.0 2020-12-10 14:45 UTC

This package is auto-updated.

Last update: 2024-11-11 04:42:03 UTC


README

Symfony bundle for jongotlin/arbetsformedlingen-ads

Installation

Install with composer and your favourite http adapter (in this case Guzzle 6)

$ composer require php-http/client-implementation:^1.0 php-http/discovery:^1.0 php-http/guzzle6-adapter:^1.0 php-http/httplug:^1.0 php-http/message:^1.0 jongotlin/arbetsformedlingen-ads-bundle:^1.0

In services.yml

services:
    http.client:
        class: Http\Adapter\Guzzle6\Client
        arguments:
            - '@client'

    client:
        class: GuzzleHttp\Client

In config.yml

arbetsformedlingen_ads:
    http_client: 'http.client'
    test_environment: true
    loggers: ['logger', 'your.custom.logger.service_name']

In AppKernel.php

$bundles = array(
    // ...
    new JGI\ArbetsformedlingenAdsBundle\ArbetsformedlingenAdsBundle(),
);

Usage

See jongotlin/arbetsformedlingen-ads