PHP & Laravel Guides

Choose tools for your project, work through setup problems, and find examples for common PHP tasks.

PHP Upgrades

PHP 8.5 Upgrade Checklist: Moving from PHP 8.4

Plan a PHP 8.4 to 8.5 upgrade: check Composer and extensions, review deprecated casts and behavior changes, test application flows, and prepare rollback.

Updated

PHP Security

PHP2Shell Mitigation: Cloudflare WAF for Legacy PHP

Cannot upgrade PHP yet? Reduce PHP2Shell exposure with Cloudflare WAF, origin isolation, PHP-FPM settings, and a verified legacy patch plan.

Updated

PHP Security

PHP2Shell Vulnerability: Affected Versions and Fixes

Patch CVE-2026-109618 and CVE-2026-109619: fixed PHP versions, Ubuntu backports, Docker updates, and checks that your web runtime is running the fix.

Updated

WordPress Migration

WordPress After PHP2Shell: Update PHP, Change Hosts, or Migrate?

Compare WordPress migration and alternatives after PHP2Shell: update PHP, move hosts, use Ghost, or go static while preserving content and URLs.

Updated

WordPress Security

WordPress PHP2Shell: Check PHP Version and Verify the Fix

Check your WordPress PHP version after PHP2Shell, confirm your host's patch, and verify the PHP runtime serving your site before calling the update complete.

Updated

Laravel AI Tools

Laravel AI SDK vs MCP vs Boost: Which Do You Need?

Compare three open-source Laravel AI tools by task: build AI features, expose application tools to clients, or help a coding agent understand your project.

Updated

Laravel Agent Skills

Laravel Boost Skills: Install, Choose, and Fix Missing Skills

Set up Laravel Boost Skills for your project's stack, fix a missing Filament Skill, and distinguish refreshing resources from enabling a new feature.

Updated

PHP Date Guides

Convert PHP Timestamp to Date

How to convert Unix timestamps to formatted dates in PHP and avoid seconds versus milliseconds bugs.

Updated

PHP Date Guides

PHP Date Format Examples

Common PHP date format tokens with examples for dates, times, and timestamps.

Updated

PHP JSON Guides

PHP json_decode Examples

Practical json_decode examples for associative arrays, error handling, and common JSON mistakes.

Updated

PHP Security Guides

PHP password_hash Examples

Use password_hash and password_verify correctly for PHP login password storage.

Updated

PHP Regex Guides

PHP preg_match Examples

Simple preg_match and preg_match_all examples for extracting values with PHP regular expressions.

Updated

PHP Debugging Guides

PHP print_r vs var_dump

Compare print_r and var_dump for PHP debugging output and learn when each one is useful.

Updated

PHP Serialization Guides

PHP Serialized String Examples

Examples of PHP serialized strings for arrays, strings, booleans, nulls, and nested values.

Updated

PHP Date Guides

PHP strtotime Examples

Common PHP strtotime examples for relative dates, fixed dates, and date formatting.

Updated

PHP Serialization Guides

PHP unserialize Explained

What PHP unserialize does, where serialized data appears, and how to avoid unsafe usage.

Updated