Download the PHP package larsnieuwenhuizen/clubhouse-connector without Composer

On this page you can find all versions of the php package larsnieuwenhuizen/clubhouse-connector. 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 clubhouse-connector

Build Status

Clubhouse connector

This library allows you to easily make use of the Clubhouse api integrations through one connector.

Single point of entry

All you need to do is construct the Connector object with a configuration file. The configuration is done throught yaml and looks like this.

config.yaml

Creating the connector

Using clubhouse components

The components are accessed through their respective services like this:

This as you probably expects call the list of epics. This will return you a collection on Epic objects.

Objectification

All the Clubhouse resources will translated into Domain objects per component.

Resource models and collections

All resource types will have their own Model and when retrieving multiple items, the models will be gathered in IteratorAggregate Collections.

This is done so collections retrieved can be iterated over instantly and data is converted into models, so we can use the data in a more specified way and make better use of the data later on.

So for example:

Using the services

There will be services created for all components within Clubhouse and subcomponents (labels, categories, comments etc...)

To use a service you'll access it throught the connector as described above.

CRUD examples

  1. Create an Epic

  2. Update an existing Epic

  3. Delete an Epic

  4. List all Epics

Currently usable resources

PSR Logging

You can add your own logger if you feel the need to catch the logs somewhere :) All you need is a logger which interfaces with PSR-3 logger interface.

When you have that simply construct the connector with it as such:

Magic methods

The method and variable names I used in the connector are like getEpicsService() But to make it a bit more relatable with Clubhouse naming and simply a bit shorter, I added magic method calls for the services.

So instead of calling $connector->getEpicsService()->list() You can also call $connector->epics()->list()


All versions of clubhouse-connector with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
guzzlehttp/guzzle Version ^6.5
symfony/yaml Version ^4
psr/log Version ^1.1
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 larsnieuwenhuizen/clubhouse-connector contains the following files

Loading the files please wait ....