aria-php / molgenis-php-client
Molgenis client for PHP
Installs: 2 927
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/aria-php/molgenis-php-client
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.