Tools
These tools run in your browser. They do not execute PHP, do not send pasted input to PHP Hub, and they are not a vulnerability scanner.
PHP-specific
Session Cookie Flag Checker
Check Secure, HttpOnly, SameSite and prefixes on Set-Cookie lines. Runs locally.
PHP Formatter
Reindent PHP in the browser. It does not run the code.
PHP Version Compatibility Checker
Guidance from a short list of documented language features.
PHP Security Checker
What the free checker does, and what a static look at code cannot prove.
Composer Dependency Analyzer
Read a composer.json or lock file locally. Scripts are not run.
Laravel Artisan Command Reference
Common Artisan commands with links to the Laravel docs. No invented flags.
PHP Hash Generator
Browser SHA-256, SHA-384, and SHA-512. Not password_hash().
PHP Code Validator
Static checks for braces, quotes, and comments. PHP is never executed.
General
JSON Formatter and Validator
Pretty-print JSON or see the parse error.
JSON Minifier
Remove insignificant whitespace from valid JSON.
JWT Decoder
Decode a JWT locally. The signature is not verified.
SQL Formatter
Add line breaks before major SQL clauses. The statement is not executed.
Regex Tester
Test a JavaScript regular expression locally, with a time limit.
Cron Expression Generator
Build a five-field cron expression and preview the next local times.
Base64 Encoder and Decoder
Encode or decode UTF-8 Base64 locally.
URL Encoder and Decoder
Percent-encode or decode text with encodeURI or encodeURIComponent.
HTTP Status Code Explorer
Search common HTTP status codes and their standard meanings.
cURL Request Builder
Write a curl command. PHP Hub does not send the request.