GitHub Action
Scan every push and pull request. Findings appear right on the diff, and a failing grade can block the merge.
Security diagnostics built for PHP teams: static code analysis, response header grading and php.ini auditing in one place. Your code is analyzed in memory and never stored.
Pick a tool, paste your input and press the button. Your code is analyzed in memory and never saved.
Paste a PHP file or a snippet. We read it with PHP's own tokenizer and point out risky lines with a fix for each one.
Static analysis finds common patterns, not every bug. Use it with code review and the tools below.
Results will appear here.
Enter your site address. We request it once, read the response headers and grade how well the browser is told to protect your visitors.
Results will appear here.
Paste the contents of your php.ini (or the output of php -i). Everything is checked in your browser and nothing is sent to our server.
Results will appear here.
A dependency-free security layer for any PHP application. One line to install, published on GitHub under the MIT license.
Star on GitHubEvery check runs on code you can read.
Guard is an extra layer of defense. It does not replace prepared statements, escaping and keeping PHP updated.
# composer composer require phpsafe/guard ; php.ini β protect every request auto_prepend_file = /path/to/vendor/phpsafe/guard/shield.php
Blocks SQL injection, XSS, path traversal and malicious uploads before your code runs. Adds security headers and rate-limits logins.
The same engine as our online scanner, on your machine. Scan a whole project and fail CI when risky code appears.
Small, tested functions for CSRF tokens, output escaping and safe file uploads.
The community token behind PHP Safe. Market data refreshes every minute straight from the chain.
At 100% the token graduates from pump.fun to a public DEX pool.
Loading market dataβ¦
For information only, not financial advice. Crypto assets are highly volatile. Always verify the contract address above before trading.
Every feature ships as open source under the MIT license. Tell us what you need and the most requested items move up.
Scan every push and pull request. Findings appear right on the diff, and a failing grade can block the merge.
More rules, SARIF reports for GitHub code scanning, and a baseline file to ignore known issues.
Upload composer.lock and see which packages have known security advisories, with the version that fixes each one.
Daily re-checks of your site. Get an email when your grade drops or the certificate is about to expire.
Framework-aware rules for Blade, Eloquent, wpdb and plugins.
Risky lines highlighted while you type.
Run checks from your own tools and dashboards.
Have an idea? Open an issue on GitHub. Every request is read.
Work through the checklist below and know the common attacks.
Run the Code Scanner before every deploy.
Block packages with known vulnerabilities.
Fix php.ini and earn an A on the Headers Checker.
Put PHP Safe Guard and a WAF in front of your app.
Tick each item once your project does it. Progress is saved in this browser only.
composer require phpsafe/guardvendor/bin/phpsafe scan srcvendor/bin/phpsafe scan src --fail-on=highauto_prepend_file = /path/to/vendor/phpsafe/guard/shield.phpcomposer audit