{"id":15028375,"url":"https://github.com/fredvuni/php-unit-testing","last_synced_at":"2026-02-22T09:01:59.272Z","repository":{"id":160214589,"uuid":"635149788","full_name":"FREDVUNI/php-unit-testing","owner":"FREDVUNI","description":"PHP unit testing for a todo list app","archived":false,"fork":false,"pushed_at":"2023-05-02T04:47:31.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T11:49:14.164Z","etag":null,"topics":["mysql","php82","phpunit-tests"],"latest_commit_sha":null,"homepage":"","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/FREDVUNI.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-02T04:28:17.000Z","updated_at":"2023-05-02T04:49:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"defab2c5-25bc-4391-a56a-adebe6b2a084","html_url":"https://github.com/FREDVUNI/php-unit-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FREDVUNI/php-unit-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FREDVUNI%2Fphp-unit-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FREDVUNI%2Fphp-unit-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FREDVUNI%2Fphp-unit-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FREDVUNI%2Fphp-unit-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FREDVUNI","download_url":"https://codeload.github.com/FREDVUNI/php-unit-testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FREDVUNI%2Fphp-unit-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29707520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T05:59:28.568Z","status":"ssl_error","status_checked_at":"2026-02-22T05:58:46.208Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["mysql","php82","phpunit-tests"],"created_at":"2024-09-24T20:08:10.996Z","updated_at":"2026-02-22T09:01:59.251Z","avatar_url":"https://github.com/FREDVUNI.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Manager Test - PHP UNIT testing with phpunit\n\nThis is a simple task manager application built using PHP and MySQL.\n\n## Setup\n\n1. Clone the repository to your local machine.\n2. Create a new database in MySQL and import the `todo_tasks_test.sql` file to create the required tables.\n3. Edit the `database.php` file to provide the correct database credentials.\n4. Run `composer install` to install the required dependencies.\n\n## Usage\n\nTo run the application, start a local server and run the various test suites.\n\n## Testing\n\nTo run the PHPUnit tests, run the following command from the root of the project:\n\n```\nvendor/bin/phpunit\n```\n\nThis will run all the tests in the `tests/` directory. You can run specific test files:\n\n```\nvendor/bin/phpunit CreateTasksTest\n```\n\nThis will only run the `CreateTasksTest` class.\n\n```\nvendor/bin/phpunit DeleteTasksTest\n```\n\nThis will only run the `DeleteTasksTest` class.\n\n```\nvendor/bin/phpunit FetchTasksTest\n```\n\nThis will only run the `FetchTasksTest` class.\n\n```\nvendor/bin/phpunit UpdateTasksTest\n```\n\nThis will only run the `UpadateTasksTest` class.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredvuni%2Fphp-unit-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredvuni%2Fphp-unit-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredvuni%2Fphp-unit-testing/lists"}