Simple PHP Website
I 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.
This project is meant for beginners. I've intentionally kept it minimal while introducing some separation of concerns.
I've made sure to make the running of this little site as simple as possible. There are only to steps go take:
- Download the project to the desired directory on your computer
- Populate the
includes/config.phpwith the desird site url.
The project covers these programming concepts:
- Pretty links (/about) with fallback to query string (?page=about)
- Basic example of separation of concerns (functionality, template, content)
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.