aria-php / molgenis-php-client
Molgenis client for PHP
1.0.1
2023-01-25 16:48 UTC
Requires
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- phpunit/phpunit: ^9.5
- symfony/dotenv: ^6.2
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.