thecodingmachine / weatherapi-service-provider
Cross-framework module for thecodingmachine/weatherapi
Requires
- php: >=7.0
- container-interop/service-provider: ^0.3
- thecodingmachine/weatherapi: ^1.0
Requires (Dev)
- guzzlehttp/guzzle: ^6.0
- php-http/guzzle6-adapter: ^1.1
- puli/cli: ^1.0
- puli/composer-plugin: ^1.0
This package is auto-updated.
Last update: 2024-11-06 23:59:38 UTC
README
This package integrates the WeatherApi demo package in any container-interop compatible framework/container.
Installation
composer require thecodingmachine/weatherapi-service-provider
Once installed, you need to register the TheCodingMachine\WeatherApi\WeatherApiServiceProvider
into your container.
If your container supports Puli integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register service providers.
Introduction
This service provider is meant to create a WeatherApi
service in your container.
This is part of a demo for a talk at Paris ForumPHP 2016 and is not meant to be used in production.
Expected values / services
This service provider expects the following configuration / services to be available:
Provided services
This service provider provides the following services:
Extended services
None
Project template courtesy of thecodingmachine/service-provider-template