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…
ReadPHP: 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…
ReadPHP: 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…
ReadPHP 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…
ReadPHP 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…
ReadPHP 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…
ReadSave 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