aria-php/molgenis-php-client

Molgenis client for PHP

1.0.1 2023-01-25 16:48 UTC

This package is auto-updated.

Last update: 2024-04-25 19:26:06 UTC


README

This is a simple PHP client for interfacing with a Molgenis database endpoint.

Installation

composer require aria-php/molgenis-php-client

Usage

The Client provides the low level interface for calling a Molgenis server


use ARIA\MolgenisPhpClient\Client

$client = new Client('https://molgenis.example.com/');

$result = $client->get('entity_type', 'example_entity_id');

var_export($result);

 Running tests

Create a .env.local in the tests directory containing the endpoint and entity information that you are going to query.