{"id":22065270,"url":"https://github.com/jgcarrillo/php-mvc-tenis","last_synced_at":"2026-05-07T14:43:21.253Z","repository":{"id":104375615,"uuid":"425556084","full_name":"jgcarrillo/php-mvc-tenis","owner":"jgcarrillo","description":"A Basic MVC for tennis tournaments management written in PHP","archived":false,"fork":false,"pushed_at":"2021-11-07T16:34:37.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T17:47:30.089Z","etag":null,"topics":["bootstrap","mvc-architecture","php","phpmyadmin","sql","tenis"],"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/jgcarrillo.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,"zenodo":null}},"created_at":"2021-11-07T16:29:51.000Z","updated_at":"2021-11-07T16:34:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee72e2b7-2801-4315-8915-99922b44d6e2","html_url":"https://github.com/jgcarrillo/php-mvc-tenis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jgcarrillo/php-mvc-tenis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgcarrillo%2Fphp-mvc-tenis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgcarrillo%2Fphp-mvc-tenis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgcarrillo%2Fphp-mvc-tenis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgcarrillo%2Fphp-mvc-tenis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgcarrillo","download_url":"https://codeload.github.com/jgcarrillo/php-mvc-tenis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgcarrillo%2Fphp-mvc-tenis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32742745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"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":["bootstrap","mvc-architecture","php","phpmyadmin","sql","tenis"],"created_at":"2024-11-30T19:16:02.165Z","updated_at":"2026-05-07T14:43:21.248Z","avatar_url":"https://github.com/jgcarrillo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic PHP MVC for tennis tournaments management\n\n![image](assets/home.PNG)\n\n## Table of contents 👇\n\n- [✨ Explanation](#-explanation)\n- [⚓ Try the mvc](#-try-the-mvc)\n- [🚀 Usage](#-usage)\n- [💛 Contact](#-contact)\n\n### ✨ Explanation\n\nThis is a basic project to improve my PHP and **MVC** skills. It's part of an exercise that I did in my two year web development course, but I tried to rewrite the code using **clean code**.\n\nThe aim of the project is to show a tennis database (a simple one) that stores matches, players, tournaments and phases. I know the database could be improved to separate the results (for example) of each match into a single table that stores sets and the match id, but I prefer to keep it simple because this is a personal project to understand the MVC concepts.\n\n### ⚓ Try the mvc\n\n1. Import the `db.sql` script into your PHPMyAdmin.\n2. Go to your localhost and then to the `Torneos_controller.php` file to start the application.\n3. If you want to change the database be careful and change the `config_db.php` accordingly.\n\n### 🚀 Usage\n\nThe entry point of the application is the **Torneos_controller.php** file that manages all the routes and functions that the application needs to invoke to obtain the different pages. A better practise could be to separate the logic of the main application logic (routes) into a single file called **index.php** which loads the controller.\n\nAnothe improvement for the project could be to put some of the views together (for example, the update/create view of the players), but I think it's a good starting point to separate the views due to understanding the application logic.\n\nI have created a basic _CRUD_ for players and matches, so you can add a new match whitin a tournament. You can also create, edit and delete players.\n\n### 💛 Contact\n\nIf you have some doubts or need to ask something about the project, feel free to reach me here:\n\n- Twitter: [https://twitter.com/jgcarrillo](https://twitter.com/jgcarrillo_)\n- LinkedIn: [https://es.linkedin.com/in/jgcarrilloweb](https://es.linkedin.com/in/jgcarrilloweb)\n- Website: [https://jgcarrillo.com/](https://jgcarrillo.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgcarrillo%2Fphp-mvc-tenis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgcarrillo%2Fphp-mvc-tenis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgcarrillo%2Fphp-mvc-tenis/lists"}