Your guide to PHP best practices, coding standards, and authoritative tutorials.
Author(s): Phil Sturgeon and Josh Lockhart
Publisher: Leanpub
Year: 2022
Table of Contents
Windows Setup
Mac Setup
Common Directory structure
Getting Started
Use the Current Stable Version (8.1)
Built-in web server
Data Filtering
Web Application Security
Error Reporting
Configuration Files
Register Globals
Security
Password Hashing
Complementary Testing Tools
Test Driven Development
Testing
Behavior Driven Development
Virtual or Dedicated Servers
Shared Servers
Servers and Deployment
Platform as a Service (PaaS)
Building and Deploying your Application
Docker
Vagrant
Virtualization
Caching
Object Caching
Opcode Cache
PHPDoc
Documenting your Code
Books
People to Follow
Other Useful Resources
Video Tutorials
Components
PHP PaaS Providers
Resources
Frameworks
From the Source
Community
PHP Conferences
PHP User Groups
ElePHPants
Code Style Guide
Language Highlights
Xdebug
Command Line Interface
Standard PHP Library
Programming Paradigms
Namespaces
PEAR
Composer and Packagist
Dependency Management
Working with UTF-8
Coding Practices
The Basics
Design Patterns
Internationalization (i18n) and Localization (l10n)
Common ways to implement
Gettext
Date and Time
Complex Problem
Dependency Injection
Containers
Basic Concept
Further Reading
Interacting with Databases
MySQL Extension
PDO Extension
Abstraction Layers
Databases
Further Reading
Benefits
Compiled Templates
Plain PHP Templates
Templating
Errors and Exceptions
Errors
Exceptions