51degrees / fiftyone.pipeline.core
Core library for the 51Degrees Pipeline API.
Installs: 69 945
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 3
Open Issues: 0
Requires
- php: >=7.4
- ext-ctype: *
- ext-json: *
- mustache/mustache: ^2.13
- tedivm/jshrink: ~1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.39
- kint-php/kint: ^3.3
- phpstan/phpstan: ^1.10
- phpunit/phpunit: *
- dev-main
- 4.5.7.0
- 4.5.6.0
- 4.5.5.0
- 4.5.4.0
- 4.5.3.0
- 4.5.2.0
- 4.5.1.0
- 4.5.0.0
- 4.4.20.0
- 4.4.19.0
- 4.4.18.0
- 4.4.17.0
- 4.4.16.0
- 4.4.15.0
- 4.4.14.0
- 4.4.13.0
- 4.4.12.0
- 4.4.11.0
- 4.4.10.0
- 4.4.9.0
- 4.4.8.0
- 4.4.7.0
- 4.4.6.0
- 4.4.5.0
- 4.4.4.0
- 4.4.3.0
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.6
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.1+2
- 4.2.0
- 4.1.1+4
- 4.1.0
- 4.1.0-beta.13+1
- 4.1.0-beta.9+1
- v4.1.0-beta0006
- v4.1.0-beta0004
- v4.1.0-beta0002
- dev-copyright-update
- dev-docs/readme
- dev-feature/post-query
This package is auto-updated.
Last update: 2024-10-01 00:32:25 UTC
README
[Developer Documentation](https://51degrees.com/documentation/index.html?utm_source=github&utm_medium=repository&utm_content=documentation&utm_campaign=php-open-source"developer documentation")
Introduction
This project contains the core source code for the PHP implementation of the 51Degrees Pipeline API.
The Pipeline is a generic micro-services aggregation solution with the ability to add a range of 51Degrees and/or custom plug ins (Engines)
Dependencies
The tested versions page shows the PHP versions that we currently test against. The software may run fine against other versions, but additional caution should be applied.
Examples
To run the examples, you first need to install dependencies. Navigate to the repository root and execute:
composer install
This will create the vendor directory containing autoload.php. Now navigate to the examples directory and start a PHP server with the relevant file. For example:
PHP -S localhost:3000 CustomFlowElement.php
This will start a local web server listening on port 3000. Open your web browser and browse to http://localhost:3000/ to see the example in action.
There are several examples available that demonstrate how to make use of the Pipeline API in isolation. These are described in the table below. If you want examples that demonstrate how to use 51Degrees products such as device detection, then these are available in the corresponding repository and on our website.
Tests
To run the tests in this repository, make sure PHPUnit is installed then, in the root of this repo, call:
phpunit --fail-on-warning --display-warnings --log-junit test-results.xml
Mustache template
javascript-templates
is not a full-fledged PHP package installable via composer
, however, it is shipped as a regularly updated, static dependency of this package.