{"id":21108780,"url":"https://github.com/kb-web-development/php7-mvc-framework","last_synced_at":"2025-10-09T02:18:19.669Z","repository":{"id":100392526,"uuid":"354283174","full_name":"KB-WEB-DEVELOPMENT/php7-mvc-framework","owner":"KB-WEB-DEVELOPMENT","description":"PHP 7 MVC (Model-View-Controller) Framework Project","archived":false,"fork":false,"pushed_at":"2021-04-05T18:04:22.000Z","size":676,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T08:51:19.816Z","etag":null,"topics":["barut","book-exercises","kami","model-view-controller","php","php7","php7-mvc-framework"],"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/KB-WEB-DEVELOPMENT.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":"2021-04-03T12:13:31.000Z","updated_at":"2021-04-05T18:04:24.000Z","dependencies_parsed_at":"2023-05-14T08:15:12.163Z","dependency_job_id":null,"html_url":"https://github.com/KB-WEB-DEVELOPMENT/php7-mvc-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KB-WEB-DEVELOPMENT/php7-mvc-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-WEB-DEVELOPMENT%2Fphp7-mvc-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-WEB-DEVELOPMENT%2Fphp7-mvc-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-WEB-DEVELOPMENT%2Fphp7-mvc-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-WEB-DEVELOPMENT%2Fphp7-mvc-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KB-WEB-DEVELOPMENT","download_url":"https://codeload.github.com/KB-WEB-DEVELOPMENT/php7-mvc-framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-WEB-DEVELOPMENT%2Fphp7-mvc-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000782,"owners_count":26082906,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["barut","book-exercises","kami","model-view-controller","php","php7","php7-mvc-framework"],"created_at":"2024-11-20T00:48:37.938Z","updated_at":"2025-10-09T02:18:19.663Z","avatar_url":"https://github.com/KB-WEB-DEVELOPMENT.png","language":"PHP","readme":"# php7-mvc-framework\n\nPHP 7 MVC Framework Project\n\n  The purpose of the project was to study the inner workings of a self-built PHP MVC (Model-View-Controller) framework.\n\n  To do so, I studied the book \u003cb\u003e\"Pro PHP MVC\" (2012) by Chris Pitt - Apress Media LLC (Springer Nature) \u003c/b\u003e.\n\nThe book can be read and downloaded here : \n\nhttps://www.dropbox.com/s/nxq0keypo9r0rkd/Pro%20PHP%20MVC.pdf?dl=0\n\nThe objectives were : \n\n(1) To do all the book exercises (contained in the \"Book exercises\" folder)\n\n(2) Considering that the PHP version at the time of writing was PHP version 5.4, go over the entire framework code \n\nand rewrite it following the features of PHP 7 wherever possible maintaining code readability.\n\nFor (1), the exercises are written using PHP version 5.4\n\nFor (2), the major features of PHP 7 include :\n\n- Scalar type hints\n\n- Return type hints\n\n- Anonymous classes\n\n- Generator delegation\n\n- Generator return expressions\n\n- The null coalesce operator\n\n- The spaceship operator\n\n- Constant array\n\n- Uniform variable syntax\n\n- Throwables\n\n- Group use declarations\n\n- Class constant visibility modifiers\n\n- Catching multiple exceptions types\n\n- Iterable pseudo-type\n\n- Nullable types\n\n- Void return types \n\nSome detailed explanations of the new features of PHP version 7 (i.e; versions 7.1,7.2,7.3,7.4) :\n\nhttps://www.php.net/manual/en/migration70.new-features.php\n\nhttps://www.php.net/manual/en/migration71.new-features.php\n\nhttps://www.php.net/manual/en/migration72.new-features.php\n\nhttps://www.php.net/manual/en/migration73.new-features.php\n\nhttps://www.php.net/manual/en/migration74.new-features.php\n\n(Some of the major changes between the book code and the framework version here involve both the naming and use of namespaces as well as the use of composer.json\nto autoload the framework classes.)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkb-web-development%2Fphp7-mvc-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkb-web-development%2Fphp7-mvc-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkb-web-development%2Fphp7-mvc-framework/lists"}