{"id":15027540,"url":"https://github.com/willavelar/php-doctrine-basic-terminal","last_synced_at":"2026-03-15T19:39:22.600Z","repository":{"id":172034075,"uuid":"583083814","full_name":"willavelar/php-doctrine-basic-terminal","owner":"willavelar","description":"A basic example of student registration using the terminal with doctrine in php","archived":false,"fork":false,"pushed_at":"2023-01-02T19:03:14.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T08:34:56.293Z","etag":null,"topics":["doctrine","php","php81","sqlite"],"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/willavelar.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":"2022-12-28T18:03:35.000Z","updated_at":"2023-01-02T18:55:49.000Z","dependencies_parsed_at":"2023-07-10T11:33:15.711Z","dependency_job_id":null,"html_url":"https://github.com/willavelar/php-doctrine-basic-terminal","commit_stats":null,"previous_names":["willavelar/php-doctrine-basic-terminal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willavelar/php-doctrine-basic-terminal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fphp-doctrine-basic-terminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fphp-doctrine-basic-terminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fphp-doctrine-basic-terminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fphp-doctrine-basic-terminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willavelar","download_url":"https://codeload.github.com/willavelar/php-doctrine-basic-terminal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willavelar%2Fphp-doctrine-basic-terminal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30550482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T15:03:43.933Z","status":"ssl_error","status_checked_at":"2026-03-15T15:03:37.630Z","response_time":61,"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":["doctrine","php","php81","sqlite"],"created_at":"2024-09-24T20:06:38.503Z","updated_at":"2026-03-15T19:39:22.580Z","avatar_url":"https://github.com/willavelar.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PHP Doctrine Basic Terminal\n\n![PHP Version Support](https://img.shields.io/badge/php-8.1%2B-brightgreen.svg?style=flat-square) ![Composer Version Support](https://img.shields.io/badge/composer-2.2.9%2B-brightgreen.svg?style=flat-square)\n\nIt is an example of using a doctrine with php via a terminal command and sqlite, in a student registration with a telephone relationship and courses linked to it.\n\n## Installation\n\n```bash\ncomposer install\n```\n\n## How To Use\n\nThis this section explains how to use the command line with php execution.\n\n- New student registration\n\n```bash\nphp bin/student-insert.php '{name}'\n```\n\n- New student registration with phones\n\n```bash\nphp bin/student-insert.php '{name}' '{phone1}' '{phone2}' ...\n```\n\n- New course registration\n\n```bash\nphp bin/course-insert.php\n```\n\n- List of registered students information\n\n```bash\nphp bin/student-list.php\n```\n\n- List of registered courses\n\n```bash\nphp bin/course-list.php\n```\n\n- Relationship with student and course\n\n```bash\nphp bin/student-enroll.php '{studentId}' '{corseId}'\n```\n\n- Number of registered students\n\n```bash\nphp bin/student-count.php\n```\n\n- Search student by name\n\n```bash\nphp bin/student-search.php\n```\n\n- Change student name\n\n```bash\nphp bin/student-rename.php\n```\n\n- Delete student\n\n```bash\nphp bin/student-delete.php\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillavelar%2Fphp-doctrine-basic-terminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillavelar%2Fphp-doctrine-basic-terminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillavelar%2Fphp-doctrine-basic-terminal/lists"}