{"id":42238742,"url":"https://github.com/lightspeed-php/phpunit-9-demo","last_synced_at":"2026-01-27T03:47:17.359Z","repository":{"id":181375468,"uuid":"666670283","full_name":"lightspeed-php/phpunit-9-demo","owner":"lightspeed-php","description":"PHPUnit 9 application showing the use of Lightspeed to run tests","archived":false,"fork":false,"pushed_at":"2023-09-02T11:16:42.000Z","size":259,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2023-09-03T13:37:34.974Z","etag":null,"topics":["laravel","lightspeed","pest","php","phpunit","testing"],"latest_commit_sha":null,"homepage":"https://lightspeedphp.com/","language":"PHP","has_issues":false,"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/lightspeed-php.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,"governance":null}},"created_at":"2023-07-15T07:17:06.000Z","updated_at":"2023-07-15T13:33:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"db3b9413-2ffc-4590-be4b-15b3a22d1d1c","html_url":"https://github.com/lightspeed-php/phpunit-9-demo","commit_stats":null,"previous_names":["lightspeed-php/laravel-9-demo","lightspeed-php/phpunit-9-demo"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/lightspeed-php/phpunit-9-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightspeed-php%2Fphpunit-9-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightspeed-php%2Fphpunit-9-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightspeed-php%2Fphpunit-9-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightspeed-php%2Fphpunit-9-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightspeed-php","download_url":"https://codeload.github.com/lightspeed-php/phpunit-9-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightspeed-php%2Fphpunit-9-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28800366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:44:14.111Z","status":"ssl_error","status_checked_at":"2026-01-27T03:43:33.507Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["laravel","lightspeed","pest","php","phpunit","testing"],"created_at":"2026-01-27T03:47:16.783Z","updated_at":"2026-01-27T03:47:17.351Z","avatar_url":"https://github.com/lightspeed-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightspeed PHPUnit 9 Demo\n\nThis repo contains a demo of [Lightspeed](https://lightspeedphp.com) running a PHPUnit 9 testsuite.\n\n## About\n\nThis is a new Laravel 9 app with PHPUnit 9. It runs on PHP 8.2.\n\nThere are 502 test files containing a total of 1002 individual tests. These tests have a random sleep time to simulate more realistic testing conditions that might interact with database or third-party APIs or anything else that adds time to test suites. You can see the tests in [tests/Feature](https://github.com/lightspeed-php/phpunit-9-demo/tree/main/tests/Feature).\n\n## How It Works\n\nThe test suite is executed with the `vendor/bin/lightspeed` command. This command wraps up PHPUnit and divides up the tests based on how many test nodes are used to run the suite.\n\nThe purpose of this design is to execute the test suite in the shortest possible time. It does this by splitting the whole test suite over multiple instances that run a subset of tests in parallel, ensuring no tests are missed.\n\nThe free version of Lightspeed splits the test in a deterministic and static way across all the available nodes.  \nWe are working on a premium version that tracks the historic runtime of your tests and splits tests dynamically so that the entire test suite is run in the shortest time possible. For more information and to register your interest in the premium version, please email support@lightspeedphp.com\n\n## How Does this differ to [ParaTest](https://github.com/paratestphp/paratest)?\n\nLightspeed is similar to ParaTest in that it runs tests in parallel. Where it differs is that ParaTest executes all the tests on the same machine whereas Lightspeed runs them on separate machines.\n\nParaTest will use every CPU core available to run the tests as fast as possible in one place.  \nIn contrast, Lightspeed can make use of many _much_ smaller machines to run tests as fast as possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightspeed-php%2Fphpunit-9-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightspeed-php%2Fphpunit-9-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightspeed-php%2Fphpunit-9-demo/lists"}