Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Placetel Bundle Laravel Package

20steps/placetel-bundle

Symfony2 bundle exposing Placetel monitoring as a configurable service. Supports API access with adjustable timeouts, response caching to avoid rate limits, and some derived KPIs. Early/incomplete implementation; docs and full API coverage pending.

View on GitHub
Deep Wiki
Context7

20steps/placetel-bundle (twentystepsPlacetelBundle)

About

The 20steps Placetel Bundle provides a Service-oriented API for Symfony2 applications that need to interact with the Placetel monitoring service.

For further information about Placetel goto http://www.placetel.de.

Features

  • Placetel accessible as a configurable Symfony2 service.
  • Complete API for Placetel.
  • Configurable caching of responses to prevent surpassing rate limit.
  • Provide some derived KPIs.
  • Full documentation and some examples.
  • Prepare for open sourcing of 20steps control.

Installation

Require the bundle by adding the following entry to the respective section of your composer.json:

"20steps/placetel-bundle": "dev-master"

Get the bundle via packagist from GitHub by calling:

php composer.phar update 20steps/placetel-bundle

Register the bundle in your application by adding the following line to the registerBundles() method of your AppKernel.php:

new twentysteps\Bundle\PlacetelBundle\twentystepsPlacetelBundle()

Register services provided by the bundle by adding the following line to the imports section of your config.yml:

- { resource: "@twentystepsPlacetelBundle/Resources/config/services.yml" }

Define the following properties in your parameters.yml:

  • twentysteps_placetel.url - URL of the Placetel API - normally should point to "https://api.placetel.de/api/".
  • twentysteps_placetel.api_key - API key of your account at Placetel.
  • twentysteps_placetel.timeout - Timeout in seconds to apply on calls of the Placetel API - you should use 10.
  • twentysteps_placetel.connect_timeout - Connect timeout in seconds to apply on calls to the Placetel API - you should use 5.
  • twentysteps_placetel.cache_ttl - Cache TTL to apply on responses of the Placetel API - you should use 3600.

Usage

  • Get reference to the Placetel service either by adding @twentysteps_placetel.service as a dependency in your service or by explicitely getting the service from the container during runtime e.g. by calling $this->get('twentysteps_placetel.service') in the action of your controller.
  • Call any public function provided by Services/PlacetelService.php e.g. getServices() to get the monitoring services listed in Placetel.

Version

This version is not yet complete or usable.

Author

Helmut Hoffer von Ankershoffen (hhva@20steps.de).

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky