PHP Knowledge Resources
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 to PHP
- What is PHP? Where Should I Start?
- PHP Evolution
- PHP Installation
- Why Choosing PHP?
- Which Books are recommended for Learning PHP?
- Which hosting service should I use for PHP, are there any free hosting providers?
- PHP Basics
- PHP 7
- PHP Versions Usage
- Why is PHP Using Dollar Sign $ to Prefix Variables?
Object Oriented Programming
- What is object oriented programming (OOP)?
- Abstract Classes in PHP
- What are Iterators in PHP and How to Use Them?
- What is Dependency Injection Container in PHP?
- What are design patterns in PHP?
- Abstract Factory
- Chain of Responsibility
- Dependency Injection
- Lazy Loading
- Mock Object
- Null Object
- Object Pool
- Proxy Design Pattern
- Servant Design Pattern
- Singleton Design Pattern
- State Design Pattern
- Strategy Design Pattern
- Template Method
- Type Tunnel Design Pattern
- Visitor Design Pattern
- What is an anti-pattern?
- What is Database and How to Access Database From PHP?
- Why are mysql_* Functions Removed and What to Do?
- PDO vs. mysqli?
- What is PDO?
- Database management systems vs. file systems?
- MongoDB vs. MySQL
- What is ORM?
- How to store files in database?
- How to Secure PHP Web Applications and Prevent Attacks?
- How to Work With Users’ Passwords and How to Securely Hash Passwords in PHP?
- What is SQL injection and how to prevent it?
- How to Securely Upload Files With PHP?
- Configuration in PHP Applications
- How to Protect and Hide PHP Source Code?
- How to Install SSL Certificate and Enable HTTPS?
- What is a PHP framework and which one should I learn and use?
- How to make your own PHP framework?
- Cake PHP
- Zend Framework
Code Quality and Testing
- Writing Quality Code and Code Analysis
- How to Test PHP Code?
- Behavior Driven Development?
- How to Debug PHP Code?
- How to Write Standardized PHP Code?
Packages, Libraries and Managing Dependencies
- Where to Get Open Source PHP Libraries, Scripts and Packages?
- What is Composer?
- What is CMS and which one should I use?
- Which eCommerce application should I use or which framework to use for building eCommerce application?
- How to work with Excel in PHP?
- Are there any image manipulation libraries in PHP? Which ones are good?
- How to add pagination?
- What is payment gateway? How to integrate and use payment gateways in PHP?
- How to work with PDF files in PHP?
- PHP Packages
- Which editor and IDE to choose for writing PHP code?
- Atom Editor for PHP Developers
- What is GIT?
- Which are recommended libraries and resources to use with PHP?
- Nopaste List and Services to Share and Run Code Online
- Vagrant Tutorial
- What is PHP Community? What are PHP User Groups?
- What are PHP Conferences and Where Can I Attend One?
- What is ElePHPant and Why PHP Uses Elephants in Some Logotypes?
- How to ask smart questions?
- PHP Podcasts
- Undefined Variable/Index Notice
- How to detect browser in PHP?
- Where to Get PHP Certification?
- What is web crawling and how to crawl websites with PHP?
- How to work with date and time in PHP?
- How to deploy PHP application?
- Can PHP be used for building desktop applications?
- How to send email with PHP?
- How to show and handle errors in PHP?
- How to detect face with PHP?
- $_GET vs $_POST?
- How to fix Cannot modify header information - headers already sent by… warning?
- How to Increase the File Upload Size in PHP?
- How to get client’s IP address in PHP?
- How to detect ISP with PHP?
- Open source licenses
- How to create Phar (PHP Archive)?
- How to use PHP from the command-line?
- How to make readable, SEO friendly URLs in PHP?
- What is the difference between a developer and programmer?
- Can you suggest some projects I can make?
- Regex - Regular Expressions in PHP
- What is web scraping and how to scrape data in PHP?
- How to take screenshot of a URL with PHP?
- Single vs double quotes in PHP
- How to send SMS with PHP?
- Which PHP template engine to use?
- How to Manage Wildcard Subdomains in PHP?
- How to fix failed to open stream warning?
- What is the difference between a Core and Vanilla Developer?
PHP Best Practices
Content of 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). Thanks to all the contributors.