All topics
Backend · Learning hub

PHP cheat sheet & developer notes

PHP cheat sheet and 6 curated developer notes — core concepts, patterns, and interview prep. Maintained by the DevRecall team.

Save this stack to your DevRecallTest yourself — PHP quizMore Backend notes
01 · PHP

Web Features, Database & Error Handling

PHP: Web Features, Database & Error Handling. Superglobals & Request Handling. <?php // Input (always sanitize/validate before use) $name = filter_input(INPUT_GET, 'name', FILTER_SANITIZE_SPECIAL_CHARS); $age = filter_in…

Read
02 · PHP

Modern PHP: Composer, Fibers & Best Practices

PHP: Modern PHP, Composer & Best Practices. Composer. # Install Composer curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer # Create project composer init composer create-proje…

Read
03 · PHP

Syntax, Types & OOP

PHP: Syntax, Types & OOP. PHP is a server-side scripting language designed for web development. PHP 8.x introduced JIT compilation, union types, fibers, readonly properties, and many modern language features that rival P…

Read
04 · PHP

Security: XSS, CSRF, Injection & Auth

PHP Security: XSS, CSRF, Injection & Auth. PHP applications are high-value targets because so much of the web runs PHP. Most vulnerabilities fall into a handful of categories — understanding each one and its mitigation i…

Read
05 · PHP

Frameworks: Laravel & Symfony

PHP Frameworks: Laravel & Symfony. Laravel — Key Concepts. Laravel is the most popular PHP framework. It follows MVC, ships with Eloquent ORM, Artisan CLI, queues, broadcasting, and a rich ecosystem.. # Create project co…

Read
06 · PHP

Testing: PHPUnit & Pest

PHP Testing: PHPUnit & Pest. PHPUnit is the standard PHP testing framework. Pest is a modern testing framework built on top of PHPUnit with a more expressive syntax. Both produce the same output and can run the same test…

Read

Keep your PHP knowledge sharp.

Save this stack to your personal DevRecall — add your own notes, track what you're learning, and share what you know with the community.

Get started — free forever