cfd-innovationoss/mya-public

MYA (Manage Your API) est une solution Open Source utilisant la technologie PHP et mettant à disposition un ensemble de méthodes permettant des fonctionnalités d'API Management.

v1.0 2020-02-13 14:08 UTC

This package is not auto-updated.

Last update: 2025-06-03 12:30:35 UTC


README

MYA (Manage Your Api) is an Open Source solution using PHP providing a set of methods allowing API Management functionalities.<br/>The class can be easily integrated into WS projects written in PHP.

MYA Package

OpenSource license

How to install:
MYA is available on Packagist. To install, use Composer: `composer require cfd-innovationoss/mya-public `.
Or you can also install it with a git clone https://gitlab.com/cfd-innovationoss/mya-public.git in your root project.

How to use:
Add the following lines in your webservice:

include 'mya.php';
$myRequest = new mya;
$myRequest->collect("csv");

The collect() method accepts 2 parameters, the log format (json or csv) et an optional name for the log file. Exemple: collect("json", "new_api")