2017 © Pedro Peláez
 

library glsdk-parcelshop-api-bundle

Symfony bundle for webservice for GLS ParcelShop

image

lsv/glsdk-parcelshop-api-bundle

Symfony bundle for webservice for GLS ParcelShop

  • Wednesday, July 20, 2016
  • by lsv
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,661 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

GLS parcelshop (for Denmark) - Symfony Bundle

Install

Composer

Add this to your composer, (*1)

"lsv/glsdk-parcelshop-api-bundle": "~1.0"

Or run, (*2)

composer require lsv/glsdk-parcelshop-api-bundle

AppKernel

Add this to your AppKernel.php, (*3)

new Lsv\GlsdkApiBundle\LsvGlsdkApiBundle()

Usage

Service

$this->get('glsdk.parcelshop')

Methods

$this->get('glsdk.parcelshop')->getParcelshop( ID )

$this->get('glsdk.parcelshop')->getParcelshopsFromZipcode( ZIPCODE )

$this->get('glsdk.parcelshop')->getParcelshopsNearAddress( STREET, ZIPCODE, LIMIT )

$this->get('glsdk.parcelshop')->getAllParcelshops()

Learn more about what the methods do at the bundles homepage, (*4)

Adding your own guzzle client, fx if you want cache or retry service

Overwrite the parameter glsdk.parcelshop.client with your own client, (*5)

Or you can overwrite the whole class with the parameter glsdk.parcelshop.class, (*6)

The Versions

20/07 2016

dev-master

9999999-dev

Symfony bundle for webservice for GLS ParcelShop

  Sources   Download

MIT

The Requires

 

20/07 2016
04/03 2015

1.0

1.0.0.0

Symfony bundle for webservice for GLS ParcelShop

  Sources   Download

MIT

The Requires