PHP-Notebooks offers a complete set of learning materials for PHP. It contains seven PDF notebooks. Each notebook covers a different topic. These topics include the basics of PHP, how to check forms, using sessions and cookies, handling files and XML, working with MySQL databases using PDO, the MVC design pattern, and AJAX with JSON.
Alongside the PDFs, you get companion projects to practice what you learn. The GitHub Pages site helps you follow the learning path easily. This collection is meant for anyone interested in understanding PHP from the ground up.
- Windows 7 or later
- At least 2 GB of free disk space
- PDF reader (e.g., Adobe Acrobat Reader, Microsoft Edge, or any other PDF viewer)
- Internet connection to download the materials
- Optional: A text editor or IDE for PHP (such as Visual Studio Code, Notepad++, or PHPStorm) to open and modify practice projects
This section shows you how to get the PHP-Notebooks files and start using them on your Windows PC.
Click the button below to open the page where you can download the full collection.
This will take you to the releases page on GitHub. Here, you will find the latest version of all the PDF notebooks and companion projects packaged together.
-
On the releases page, look for the latest release. It usually appears at the top.
-
Under "Assets," find a file ending in
.zip. This file contains all the PDFs and projects. -
Click on the
.zipfile name. Your browser will start downloading it. -
Once the download completes, open the
.zipfile. Windows Explorer can open zip files without extra software. -
Extract all files to a folder where you want to keep the notebooks. To do this, right-click on the
.zipfile, then select "Extract All...". Choose a folder and click "Extract". -
Open the folder you extracted. You will see the PDF notebooks and other files.
-
Double-click on any PDF to open it. Use your PDF reader.
Each PDF notebook focuses on a specific topic in PHP:
-
Fundamentals: Learn the PHP basics like syntax, variables, and functions.
-
Form Validation: Understand how to check user input in forms to avoid errors.
-
Sessions and Cookies: See how PHP stores information about users between pages.
-
File and XML Handling: Learn to read, write, and manipulate files and XML data.
-
MySQL with PDO: Discover how to work with databases safely using PDO.
-
MVC Pattern: A guide to structuring your PHP applications by separating logic, design, and data.
-
AJAX/JSON: How to update web pages without reloading using AJAX and JSON data.
Together with the PDFs, the package includes sample projects you can open in a text editor or PHP IDE. These projects show how the ideas work in real PHP code.
To run the projects:
-
Install PHP on your PC if you don’t have it already. You can download it from https://windows.php.net/download/.
-
Open the project folder in a PHP-ready text editor.
-
Use the built-in PHP server to run the sample code. To do this, open the command prompt inside the project folder and type:
php -S localhost:8000 -
Open your web browser and go to http://localhost:8000 to see the running project.
The learning path website is hosted on GitHub Pages. It presents the content in a clear, easy-to-follow order with links to PDFs and projects.
To access it:
- Open your browser and visit the URL mentioned in the
README.mdor relevant documentation inside the extracted folder.
Using this site will help you know which topic to study next and track your progress.
-
Follow the notebooks in order, starting with fundamentals.
-
Try to run the example projects yourself after reading each PDF.
-
Do not rush through the PDFs. Take time to understand each concept.
-
Use the GitHub Pages site as your guide through the material.
-
Use online forums or communities if you get stuck on a topic.
If you have trouble opening PDF files, ensure your PDF viewer is up to date.
If the PHP projects don’t run, double-check that you installed PHP correctly and that you started the command prompt in the correct folder.
If downloads fail, try using a different browser.
You can download PHP-Notebooks here:
After extraction, your folder will look like this:
PHP-Notebooks/
│
├─ Fundamentals.pdf
├─ Form-Validation.pdf
├─ Sessions-and-Cookies.pdf
├─ File-and-XML.pdf
├─ MySQL-with-PDO.pdf
├─ MVC-Pattern.pdf
├─ AJAX-and-JSON.pdf
│
├─ Companion-Projects/
│ ├─ Project1/
│ ├─ Project2/
│ └─ ...
│
└─ README.md
Check the repository for updates or new versions of the notebooks and projects. Updates may include additional notes or improvements.
The GitHub releases page remains the main place to get the latest files.