{"id":21819400,"url":"https://github.com/dflydev/just-run-phpunit","last_synced_at":"2025-03-21T10:40:40.662Z","repository":{"id":10888414,"uuid":"13179227","full_name":"dflydev/just-run-phpunit","owner":"dflydev","description":"Allow developers to \"just run phpunit.\"","archived":false,"fork":false,"pushed_at":"2013-09-29T17:23:34.000Z","size":111,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T07:11:15.061Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/dflydev.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":"2013-09-28T19:18:17.000Z","updated_at":"2022-11-28T16:16:16.000Z","dependencies_parsed_at":"2022-09-01T11:50:14.634Z","dependency_job_id":null,"html_url":"https://github.com/dflydev/just-run-phpunit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fjust-run-phpunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fjust-run-phpunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fjust-run-phpunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fjust-run-phpunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dflydev","download_url":"https://codeload.github.com/dflydev/just-run-phpunit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244779918,"owners_count":20509238,"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-27T16:18:56.471Z","updated_at":"2025-03-21T10:40:40.643Z","avatar_url":"https://github.com/dflydev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Just Run PHPUnit\n================\n\nThe goal of this project is to allow PHP developers to just type naked `phpunit`\nwherever they are but actually executing `vendor/bin/phpunit` for projects that\nhave PHPUnit required via Composer and falling back to a globally installed\nversion of PHPUnit if not.\n\nSo the goal is literally to allow developers to \"just run phpunit.\" No more\nhaving to decided if you need to run `vendor/bin/phpunit`, `bin/phpunit`, or\n`phpunit`, just run `phpunit` and this utility takes care of the rest.\n\n\nUsage\n-----\n\nInclude the appropriate `just-run-phpunit` script from one of the shell\nsubdirectories.  This file will likely need to be sourced in such a way that the\nfunctions or aliases become available when your user logs in. This differs from\nshell to shell.\n\nIn all cases, this utility relies on the `PHPUNIT_PATH` environment variable. It\ncontains a list of `:` separated paths similar to the `PATH` environment\nvariable. Each path will be checked for an executable file called `phpunit`. The\nfirst time this file is found it will be executed and the return value of the\nexecution is returned.\n\nThe `PATH` is queried last to determine if a globaly installed version of\nPHPUnit is available.\n\nIf you need to extend the search path (say you regularly have Composer's vendor\nbin redirected somewhere non-standard like `vendor-bins`) you can prepend or\nappend it to `PHPUNIT_PATH`. For example:\n\n    export PHPUNIT_PATH=\"${PHPUNIT_PATH}:vendor-bins\"\n\nThis will ensure that `vendor-bins` will be checked after the other default\npaths have been checked.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fjust-run-phpunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdflydev%2Fjust-run-phpunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fjust-run-phpunit/lists"}