An open API service indexing awesome lists of open source software.

https://github.com/aw-junaid/php-web-security

Secure PHP web apps with best practices: SQLi prevention, XSS protection, CSRF tokens, password hashing, and secure session management.
https://github.com/aw-junaid/php-web-security

hacking hacking-tool php xss xss-exploitation xss-vulnerability

Last synced: 9 months ago
JSON representation

Secure PHP web apps with best practices: SQLi prevention, XSS protection, CSRF tokens, password hashing, and secure session management.

Awesome Lists containing this project

README

          

# PHP-Web-Security
awjunaid

![GitHub commit activity](https://img.shields.io/github/commit-activity/t/aw-junaid/PHP-Web-Security)
![GitHub contributors](https://img.shields.io/github/contributors/aw-junaid/PHP-Web-Security)
![GitHub repo size](https://img.shields.io/github/repo-size/aw-junaid/PHP-Web-Security)

# Contact With Me:


youtube logo


instagram logo


twitch logo


gmail logo


linkedin logo


twitter logo


discord logo
>

# 💰 You can help me by Donating
[![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://buymeacoffee.com/awjunaid)

Secure PHP web apps with best practices: SQLi prevention, XSS protection, CSRF tokens, password hashing, and secure session management.

# Contents

- [Tools](#projects)
- [Web Framework Hardening](#web-framework-hardening)
- [Static Code Analysis](#static-code-analysis)
- [Vulnerabilities and Security Advisories](#vulnerabilities-and-security-advisories)
- [Educational](#educational)
- [Hacking Playground](#hacking-playground)
- [Guides](#guides)
- [Companies](#companies)

# Tools

## Web Framework Hardening

- [Snuffleupagus](https://snuffleupagus.rtfd.io) - Security mondule for PHP7/8, the successsor to [suhosin](http://suhosin.org/stories/index.html).
- [Secure-Headers](https://github.com/BePsvPT/secure-headers) - Add security related headers to HTTP response.

## Static Code Analysis

- [Enlightn](https://www.laravel-enlightn.com/) - Enlightn is a static and dynamic analysis tool to improve the security of Laravel applications.
- [Exakat](https://github.com/exakat/exakat) - *Exakat* is a PHP static code analysis, with serious [Security reviews](https://exakat.readthedocs.io/en/latest/Rulesets.html#security).
- [phpcs-security-audit](https://github.com/FloeDesignTechnologies/phpcs-security-audit) - phpcs-security-audit is a set of PHP_CodeSniffer rules that finds vulnerabilities and weaknesses related to security in PHP code.
- `docker pull guardrails/phpcs-security-audit`
- [progpilot](https://github.com/designsecurity/progpilot) - A static analyzer for security purposes.
- [Parse](https://github.com/psecio/parse) - The *Parse* scanner is a static scanning tool to review your PHP code for potential security-related issues.
- [SonarPHP](https://github.com/SonarSource/sonar-php) from [SonarQube](https://github.com/SonarSource/sonarqube) - A static code analyser for PHP language used as an extension for the SonarQube platform (200+ rules, Supports up to PHP 8, Import of unit test and coverage results, Support of custom rules)
- [Snyk Code](https://snyk.io/product/snyk-code/) PHP support (beta) and available in Snyk free tier

## Vulnerabilities and Security Advisories

- [security-checker](https://github.com/sensiolabs/security-checker) - PHP frontend for security.symfony.com.
- `docker pull guardrails/security-checker`
- [Symfony Security Monitoring](https://security.symfony.com/) - PHP security vulnerabilities monitoring.
- [roave/security-advisories](https://github.com/Roave/SecurityAdvisories) - Add this dependency to disallow known/vulnerable installation of packages directly through `composer update`
- [Security Advisories](https://github.com/FriendsOfPHP/security-advisories) - A database of PHP security advisories.
- [php-malware-detector](https://github.com/ollyxar/php-malware-detector) - PHP malware detector
- [Snyk Open Source](https://snyk.io/product/open-source-security-management/) - Package manager scanner with a free tier

# Educational

## Hacking Playground

- [DVWA](https://github.com/ethicalhack3r/DVWA) - Damn Vulnerable Web Application (DVWA) is a PHP/MySQL web application that is damn vulnerable.
- [Insecure PHP Example](https://github.com/rickogden/insecure-php-example) - This is an example application built using Silex for routing to provide examples of SQL Injection, plain text passwords and XSS.

## Guides

- [Official PHP Security Manual](http://php.net/manual/en/security.php)
- [Survive The Deep End: PHP Security](https://phpsecurity.readthedocs.io/en/latest/)
- [Security Tips for a PHP Application](https://dev.to/restoreddev/security-tips-for-a-php-application-4e9a)
- [Awesome-AppSec: PHP-Section](https://github.com/paragonie/awesome-appsec#php)
- [The 2018 Guide to Building Secure PHP Software](https://paragonie.com/blog/2017/12/2018-guide-building-secure-php-software)

# Companies

- [GuardRails](https://www.guardrails.io) - A GitHub App that gives you instant security feedback in your Pull Requests.
- [RIPS](https://www.ripstech.com) - RIPS is the leading security analysis solution for PHP
- [Snyk](https://snyk.io) - A developer-first solution that automates finding & fixing vulnerabilities in your dependencies.
- [Sqreen](https://sqreen.io) - Automated security for your web apps - real time application security protection.
- [Paragon Initiative Enterprises](https://paragonie.com) - PHP Security and Cryptography consultants, open source library publishers.

## License

[![CC0](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](http://creativecommons.org/publicdomain/zero/1.0/)