{"id":17049317,"url":"https://github.com/banago/simple-php-website","last_synced_at":"2025-05-16T14:07:52.499Z","repository":{"id":40244790,"uuid":"45297248","full_name":"banago/simple-php-website","owner":"banago","description":"An introductory example of how to build a simple and minimal website built with PHP.","archived":false,"fork":false,"pushed_at":"2024-01-15T10:11:07.000Z","size":21,"stargazers_count":310,"open_issues_count":2,"forks_count":773,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-12T11:55:39.124Z","etag":null,"topics":["learn-php","php","php-website"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/banago.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":"2015-10-31T10:13:21.000Z","updated_at":"2025-04-10T10:34:19.000Z","dependencies_parsed_at":"2024-01-15T11:50:32.842Z","dependency_job_id":"2d1462e1-9a80-4d00-9a64-eb0abe0bc30d","html_url":"https://github.com/banago/simple-php-website","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banago%2Fsimple-php-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banago%2Fsimple-php-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banago%2Fsimple-php-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banago%2Fsimple-php-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/banago","download_url":"https://codeload.github.com/banago/simple-php-website/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544146,"owners_count":22088807,"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":["learn-php","php","php-website"],"created_at":"2024-10-14T09:54:23.318Z","updated_at":"2025-05-16T14:07:52.451Z","avatar_url":"https://github.com/banago.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple PHP Website\n\nI put together this project while introducing a friend of mine to PHP. I decided to clean it up a bit and put it on Github so anyone new to PHP can have a taste of a **very simple and minimal** website built with PHP.\n\nThis project is meant for beginners. I've intentionally kept it minimal while introducing some [separation of concerns](https://en.wikipedia.org/wiki/Separation_of_concerns).\n\n## Installation\n\nThere are only two steps to run this website:\n\n1. Download the project to the desired directory on your computer\n2. Run  `php -S localhost:8080` on your terminal. Navigate to http://localhost:8080 to see the site.\n\nBy defaut, the page URLs use query strings (*?page=about*). You need to have Apache installed for pretly URLs (*/about*) to work. To activate pretty urls, update config value of `pretty_uri` to `true`.\n\n## Concepts\n\nThe project covers these programming concepts:\n\n * Variables\n * Arrays\n * Functions\n * Pretty links *(/about) with fallback to query string (?page=about)*\n * Basic example of separation of concerns *(functionality, template, content)*\n\nIf you have any questions or recommendations for the project, please [create an issue](https://github.com/banago/simple-php-website/issues/new) or hit me up on Twitter [@banago](https://twitter.com/banago).\n\n\u003e To help you take your knowledge of PHP to the next level, I've personally hunt down what I deem to be the best introductory course on PHP out there. I wish this course existed when I started learing PHP. Check it out on Udemy: [PHP for Beginners Course](https://click.linksynergy.com/link?id=jTy10g8O/M8\u0026offerid=507388.1576856\u0026type=2\u0026murl=https%3A%2F%2Fwww.udemy.com%2Fphp-for-beginners-%2F).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanago%2Fsimple-php-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanago%2Fsimple-php-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanago%2Fsimple-php-website/lists"}