PHPackages                             openbuildings/services-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. openbuildings/services-manager

AbandonedArchivedKohana-module[Utility &amp; Helpers](/categories/utility)

openbuildings/services-manager
==============================

This modules purpose is to ease out the management of various external services that your application may depend upon

0.5.5(8y ago)9163.8kBSD-3-ClausePHPPHP &gt;=5.3.0

Since Sep 25Pushed 8y agoCompare

[ Source](https://github.com/OpenBuildings/services-manager)[ Packagist](https://packagist.org/packages/openbuildings/services-manager)[ Docs](https://github.com/OpenBuildings/services-manager)[ RSS](/packages/openbuildings-services-manager/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (6)Versions (22)Used By (0)

Services Manager
================

[](#services-manager)

[![Build Status](https://camo.githubusercontent.com/9b0afcfd49fc840a5b90b0155a44c168458ee4f8e0c3d753306d3b5b3587d676/68747470733a2f2f7472617669732d63692e6f72672f4f70656e4275696c64696e67732f73657276696365732d6d616e616765722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/OpenBuildings/services-manager)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/802cd776a646cdb12c4ccfdab6e305c9a9459d6f2dd3fd133d9218c8d2f29e9d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4f70656e4275696c64696e67732f73657276696365732d6d616e616765722f6261646765732f7175616c6974792d73636f72652e706e673f733d63333666373062646461353130356365333465336233653766373233303534333966316463396637)](https://scrutinizer-ci.com/g/OpenBuildings/services-manager/)[![Code Coverage](https://camo.githubusercontent.com/3df691894b42725a5c8ad1f485d024d315af4ae1fec49e80f15ef571c7113690/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4f70656e4275696c64696e67732f73657276696365732d6d616e616765722f6261646765732f636f7665726167652e706e673f733d35386332616533343531343964633961363137616564646239343661393635663336653664653331)](https://scrutinizer-ci.com/g/OpenBuildings/services-manager/)[![Latest Stable Version](https://camo.githubusercontent.com/8ff4a9224a48d46b6a89dc7471e97a35ebeafb11d579df39df691b9d96e193d3/68747470733a2f2f706f7365722e707567782e6f72672f6f70656e6275696c64696e67732f73657276696365732d6d616e616765722f762f737461626c652e706e67)](https://packagist.org/packages/openbuildings/services-manager)

This modules purpose is to ease out the management of various external services that your application may depend upon. Each service is governed by a single easily reachable class that does all the required loading of PHP or Javascript,

Setting up:
-----------

[](#setting-up)

Presently there are 2 types of services:

- Javascript Services - they require javascript files to load. To be able to use those you must place those helpers in appropriate places

```

	Site
	...

	...

```

- PHP Services - they handle their own affairs.

Each service has its own configuration, you can see the default configuration in the `services-manager.php` file

Usage:
------

[](#usage)

Some services have helper methods to be used throughout your code. The general principle is that those methods will fail silently if the service is disabled for some reason or another.

For example this will render an addthis toolbox with sharing options for the current url, but if the service is disabled, it will return an empty string, thus your site should not be affected by disabling of the services and continue operation:

```
