{"id":19615404,"url":"https://github.com/droath/robo-google-lighthouse","last_synced_at":"2026-05-12T22:39:04.004Z","repository":{"id":56972295,"uuid":"110377934","full_name":"droath/robo-google-lighthouse","owner":"droath","description":"Google lighthouse for Robo task runner.","archived":false,"fork":false,"pushed_at":"2017-11-12T21:10:13.000Z","size":4,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T10:36:11.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/droath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-11T20:32:40.000Z","updated_at":"2020-10-20T09:26:28.000Z","dependencies_parsed_at":"2022-08-21T10:20:12.921Z","dependency_job_id":null,"html_url":"https://github.com/droath/robo-google-lighthouse","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/droath%2Frobo-google-lighthouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droath%2Frobo-google-lighthouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droath%2Frobo-google-lighthouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droath%2Frobo-google-lighthouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/droath","download_url":"https://codeload.github.com/droath/robo-google-lighthouse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240907376,"owners_count":19876686,"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":[],"created_at":"2024-11-11T10:56:40.505Z","updated_at":"2026-05-12T22:38:58.980Z","avatar_url":"https://github.com/droath.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robo Google Lighthouse\n\nRun Google Lighthouse commands from the Robo task runner.\n\n### Prerequisites\n- Install node `brew install node`\n- Install lighthouse `npm install -g lighthouse`\n\n### Getting Started\n\nFirst, you'll need to download the Robo Google Lighthouse library using composer:\n\n```bash\ncomposer require droath/robo-google-lighthouse\n```\n\n### Example\n\nOutput an HTML file of the performance results. \n\n```php\n\u003c?php \n\tuse Droath\\RoboGoogleLighthouse\\Task\\loadTasks;\n   \t\n   $url = 'https://google.com';\n   $path = '/tmp/example.html';\n   $this-\u003etaskGoogleLighthouse()\n        -\u003esetUrl($url)\n        -\u003eperformanceTestOnly()\n        -\u003esetOutputPath($path)\n        -\u003erun();\n```\n\nOutput an JSON file of the results. \n\n```php\n\u003c?php \n\tuse Droath\\RoboGoogleLighthouse\\Task\\loadTasks;\n   \t\n   $url = 'https://google.com';\n   $path = '/tmp/example.json';\n   $this-\u003etaskGoogleLighthouse()\n        -\u003esetUrl($url)\n        -\u003esetOutput('json')\n        -\u003esetOutputPath($path)\n        -\u003erun();\n```\n\n### Support\n\nThe majority of the `lighthouse` commands available in the [CLI tool](https://github.com/GoogleChrome/lighthouse#using-programmatically) are supported.\nIf you find any discrepancies, please feel free to open up a GitHub issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroath%2Frobo-google-lighthouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroath%2Frobo-google-lighthouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroath%2Frobo-google-lighthouse/lists"}