Download the PHP package legalthings/data-enricher without Composer
On this page you can find all versions of the php package legalthings/data-enricher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download legalthings/data-enricher
More information about legalthings/data-enricher
Files in legalthings/data-enricher
Download legalthings/data-enricher
More information about legalthings/data-enricher
Files in legalthings/data-enricher
Vendor legalthings
Package data-enricher
Short Description Enrich objects by processing special properties
License MIT
Package data-enricher
Short Description Enrich objects by processing special properties
License MIT
Please rate this library. Is it a good library?
Informations about the package data-enricher
Data enricher
Enrich objects by processing special properties known as data instruction.
<ref>
- Resolve a reference to another part of the document using a dot key path<ifset>
- Checks if a reference is null. If so, replace the object by null.<switch>
- Choose one of the child properties based on a property in the document<src>
- Load an external resource (through HTTP)<merge>
- Merge a set of objects<enrich>
- Enrich an object with extra data by matching properties<tpl>
- Parse text as Mustache template<transform>
- Transform the input using a function. The following functions are available You can pass in a string with the following format<function>:<arg>
Alternatively you can pass in an object to pass multiple args{ function: <string>, args: [...] }
hash:algo
- Replacealgo
with the algoritmhash_hmac
base64_encode
base64_decode
json_encode
json_decode
serialize
unserialize
strtotime
date
public_encrypt
private_encrypt
private_decrypt
generate_private_key
generate_public_key
generate_signature
verify_signature
<jmespath>
- Project an object using the JMESPath query language<dateformat>
- Takes a date and a format (defaults toY-m-d
) and formats the accordingly. Optionally you can set the timezone if you wish to output timezone information.
Installation
composer require legalthings/data-enricher
Usage
Source
PHP script
Result
All versions of data-enricher with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
mtdowling/jmespath.php Version dev-master#8ec2d692c59e45184d16b4c9160e902397cfc659
guzzlehttp/guzzle Version ^6.0
jasny/dotkey Version ^1.0
mustache/mustache Version ^2.10
hoa/math Version 1.16.08.29
stephenhill/base58 Version ^1.1
mtdowling/jmespath.php Version dev-master#8ec2d692c59e45184d16b4c9160e902397cfc659
guzzlehttp/guzzle Version ^6.0
jasny/dotkey Version ^1.0
mustache/mustache Version ^2.10
hoa/math Version 1.16.08.29
stephenhill/base58 Version ^1.1
The package legalthings/data-enricher contains the following files
Loading the files please wait ....