{"id":15481660,"url":"https://github.com/ignacioxd/pupil-remote-php","last_synced_at":"2025-03-28T14:32:05.862Z","repository":{"id":56989323,"uuid":"87880416","full_name":"ignacioxd/pupil-remote-php","owner":"ignacioxd","description":"A PHP client for the Pupil eye tracking software","archived":false,"fork":false,"pushed_at":"2017-05-10T15:35:17.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T05:16:57.231Z","etag":null,"topics":["composer","eye-tracker","php","php-client","pupil-labs"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ignacioxd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-11T02:43:48.000Z","updated_at":"2021-06-26T06:14:28.000Z","dependencies_parsed_at":"2022-08-21T12:50:52.831Z","dependency_job_id":null,"html_url":"https://github.com/ignacioxd/pupil-remote-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignacioxd%2Fpupil-remote-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignacioxd%2Fpupil-remote-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignacioxd%2Fpupil-remote-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignacioxd%2Fpupil-remote-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignacioxd","download_url":"https://codeload.github.com/ignacioxd/pupil-remote-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246046107,"owners_count":20714907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","eye-tracker","php","php-client","pupil-labs"],"created_at":"2024-10-02T05:05:24.669Z","updated_at":"2025-03-28T14:32:05.843Z","avatar_url":"https://github.com/ignacioxd.png","language":"PHP","readme":"# pupil-remote-php\n\n[![Total Downloads](https://img.shields.io/packagist/dt/ignacioxd/pupil-remote-php.svg?style=flat-square)](https://packagist.org/packages/ignacioxd/pupil-remote-php)\n[![Latest Stable Version](https://img.shields.io/packagist/v/ignacioxd/pupil-remote-php.svg?style=flat-square)](https://packagist.org/packages/ignacioxd/pupil-remote-php)\n[![License](https://poser.pugx.org/ignacioxd/pupil-remote-php/license)](https://packagist.org/packages/ignacioxd/pupil-remote-php)\n\n\nA simple PHP remote control client for the [Pupil eye tracker](https://pupil-labs.com/pupil/) software.\n\n## Installation\n\nThe package is available on [Packagist](http://packagist.org/packages/ignacioxd/pupil-remote-php),\nand you can install it using [Composer](http://getcomposer.org):\n\n```shell\ncomposer require ignacioxd/pupil-remote-php\n```\n\n### Dependencies\n\n- [ZeroMQ PHP Extension](http://zeromq.org/bindings:php)\n\n## Basic usage\n\n### Connecting\n\n```php\n$host = \"127.0.0.1\";\n$port = 50020;\n$remote = new \\Ignacioxd\\PupilRemote();\n$remote-\u003econnect($host, $port); // Or leave empty for defaults\n```\n\n### Getting Pupil's timebase\n\n```php\n$pupilTime = $remote-\u003egetTimebase();\n```\n\n### Setting Pupil's timebase\n\n```php\n$remote-\u003esetTimebase(123.456);\n```\n\n\n### Starting calibration\n\n```php\nif( $remote-\u003estartCalibration() ) {\n  echo \"Calibration started\";\n}\n```\n\n### Stopping calibration\n\n```php\nif( $remote-\u003estopCalibration() ) {\n  echo \"Calibration stopped\";\n}\n```\n\n### Start recording\n\n```php\nif( $remote-\u003estartRecording() ) {\n  echo \"Recording started\";\n}\n```\n\n### Stop recording\n\n```php\nif( $remote-\u003estopRecording() ) {\n  echo \"Recording stopped\";\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignacioxd%2Fpupil-remote-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignacioxd%2Fpupil-remote-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignacioxd%2Fpupil-remote-php/lists"}