Download the PHP package openbuildings/services-manager without Composer

On this page you can find all versions of the php package openbuildings/services-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package services-manager

Services Manager

Build Status Scrutinizer Quality Score Code Coverage Latest Stable Version

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:

Presently there are 2 types of services:

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

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:

In order to insure that for your service specific code will not execute if the service is disabled, you can use the initialized method:

You can also disable each service based on a role from jam_auth. Just use the 'disabled-for-role' => '{somerole}' config parameter, or allow it only for certain roles with 'enabled-for-role' => '{somerole}'.

There are some builtin services that are available:

Addthis

Configuraitons:

Helpers:

Exceptionalio

Configuraitons:

Helpers:

Googleanalytics

Configuraitons:

Kissinsights

Configuraitons:

Kissmetrics

Configuraitons:

Helpers:

Example using the queue helper method. This will either add those to the queue and render it in the header, or render them directly here with a script tag:

Mailchimp

Configuraitons:

Helpers:

This service uses Mailchimp api Version 1.3 and all methods are proxied to the API itself. so you can call any of the API methods directly with the service object. All methods starting with list, will try to use the ids specified in the configuration. Example:

License

Copyright (c) 2012-2013, OpenBuildings Ltd. Developed by Ivan Kerin, Yasen Yanev and Haralan Dobrev as part of clippings.com

Under BSD-3-Clause license, read LICENSE file.


All versions of services-manager with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
composer/installers Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package openbuildings/services-manager contains the following files

Loading the files please wait ....