Download the PHP package omneo/omneo-php without Composer
On this page you can find all versions of the php package omneo/omneo-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package omneo-php
Omneo PHP is a PHP client library for the Omneo API service. It allows developers to easily integrate Omneo with their PHP applications.
- Prerequisites
- Quickstart
- Contributing
Prerequisites
Before being able to use the package, you will need to get your hands on the following.
-
Omneo domain - This takes the form of
example.omneoapp.io
and is where your Omneo installation lives. If you login to your dashboard atfoo.dashboard.omneo.io
, your Omneo domain isfoo.omneoapp.io
. -
Omneo token - This is the secure token which identifies you to the API. It can be generated from the Omneo dashboard and is associated with your user account. It is advisable that you create a separate Omneo user specifically for your integration.
- Shared secret - You only need this if you plan on accepting incoming webhook and target requests from Omneo. If so, you will need to validate that it's actually Omneo sending the request by generating and comparing a signature using the shared secret.
Installation
Installation is performed via Composer.
Quickstart
Plain PHP
Laravel
This package utilises Laravel Package Discovery which means you do not need to register any service providers after installation, just type hint and go!
This package comes batteries-included for usage with Laravel. To begin, install the package using Composer and update the following files.
config/services.php
.env
Now that you're authentication details are set, you can utilise the Omneo package anywhere in your application that has access to the Service Container.
Contributing
To contribute to this package, please open a Pull Request.
Testing
Testing is handled by phpunit. Pull requests should include unit tests for the affected logic.
All versions of omneo-php with dependencies
illuminate/support Version ^5.6
nesbot/carbon Version ^1.25
justinrainbow/json-schema Version ^5.2
symfony/psr-http-message-bridge Version ^1.0
zendframework/zend-diactoros Version ^1.7