Over the years in the PHP community we have noticed that many users encounter similar issues and questions about PHP and web development throughout their PHP journey. This is a living repository that includes a collection of articles, best practices and frequently asked questions about PHP.
-
Introduction chapter with basics to get up and running with PHP.
-
Object oriented programming with PHP, design patterns and anti patterns.
-
Access to databases with PHP.
-
Web application and PHP security chapter.
-
Using a framework can help speeding up and improving the application. Which framework to learn and how to create your custom framework.
-
There are quite a lot of existing open source very good solutions for eCommerce purposes currently available in PHP.
-
How to testing and write quality PHP code.
-
Packages, libraries and managing dependencies
PHP ecosystem of open source code from various resources.
-
Application Programming Interface.
-
To successfully work with PHP, there are many libraries and tools available. This chapter explains some of the recommended interoperability things required for building web applications with PHP.
-
Awesome PHP community and PHP user groups.
-
All other PHP questions and tricks.
-
To successfully develop applications here are some recommended development libraries and resources you will like and can enrich experience.
-
Docker provides a way to run applications isolated in containers.
-
A list of PHP best practices.
-
Going into full stack development with JavaScript articles, frequently asked questions, and tips customized for PHP developers.
-
Simple and stand alone PHP tips and tricks.
-
Frequently asked PHP questions
Qualified and unbiased answers to the most frequently asked questions about PHP.
Learning is an important part of every developer to stay current. Each person has different preferences and approaches for learning. What is important that you keep learning through your entire career. Few suggestions you can implement in your learning habits: make dedicated time for learning, take small steps, study each topic in details. Even if it may seem that you will not need particular topic now, it might be useful later on in some project of yours. Learning has an advantage where you will be able to recall where to look further again in the future when you will need to solve particular development problem. Many developers also write blog posts or articles as they learn something new for multiple reasons: to share the knowledge with others and to strengthen their knowledge on particular topic as well (like taking notes when studying for exam).
The following pages will point out topics required for every PHP developer in
particular on different skill levels. Most chapters also include further 3rd
party links at the bottom in the See Also
sections, to study particular topic
in more details.
Download the PDF file to read the documentation offline. Please consider the environment before printing.
We are always looking forward to see your contribution to these knowledge resources as well.
If you feel that there is something missing and should be pointed out, or you've just found a typo, don't hesitate to open an issue or send a pull request. The contributing file contains more information about contributing.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. Code snippets in examples are published under the CC0 1.0 Universal (CC0 1.0).
Big thanks to all the authors and contributors.
Documentation is automatically checked via Travis for Markdown errors and issues before being published online.