Backend development: PHP

Sefism.

A to Z

Glossary

Every concept in this sheet, plus the smaller terms it uses. Select a concept to open its card.

C
Composer and autoloading
Composer installs packages from Packagist and generates a PSR-4 autoloader that maps namespaces to folders.
E
Eloquent models and relationships
Eloquent is Laravel's Active Record ORM: each model maps to a table, and methods like belongsTo and hasMany define relationships you can query and eager load.
G
Git commits and branches
Git records snapshots of your project as commits.
L
Laravel service container
Laravel builds your classes and resolves their constructor dependencies automatically.
M
Modern PHP types, enums and readonly
PHP 8 has typed properties, union types, backed enums, readonly properties and classes, match and constructor property promotion.
P
PHP arrays and collections
A PHP array is both an ordered list and a key-value map.
PHP errors and exceptions
Modern PHP throws exceptions for most failures, handled with try, catch and finally.
Pull requests
A pull request proposes merging a branch into main and shows the diff, CI results and review comments in one place.
T
Terminal essentials
A shell runs commands such as cd, ls, cat, grep and curl, and pipes (|) feed one command's output into the next.
The PHP request lifecycle
Classic PHP is share-nothing: PHP-FPM boots the app for each request and throws all state away at the end.
10 · Glossary, A to Z10 / 10