PHP Security

Open-source PHP projects categorized as Security

Top 23 PHP Security Projects

  1. Matomo

    Empowering People Ethically 🚀 — Matomo is hiring! Join us → https://matomo.org/jobs Matomo is the leading open-source alternative to Google Analytics, giving you complete control and built-in privacy. Easily collect, visualise, and analyse data from websites & apps. Star us on GitHub ⭐️ – Pull Requests welcome!

    Project mention: 10 of the Best Web Analytics Tools for React Websites | dev.to | 2025-03-20

    As an open-source cloud and on-premise tool, Matomo gives users complete control over their data, allowing them to host it on their servers and comply with privacy regulations such as GDPR.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. DVWA

    Damn Vulnerable Web Application (DVWA)

    Project mention: Cybersecurity Beginner's Guide: Build Your Own Vulnerable Lab in 5 Minutes (DVWA + More) | dev.to | 2025-04-17

    Step 2: Deploy DVWA (Damn Vulnerable Web App) DVWA is a classi learning platform containing common vulnerabilities like XSS, SQLi, CSRF, and file upload flaws. ✓Installation Steps:https://github.com/digininja/DVWA.git 1.Move DVWA into ServBay’s root directory (/Applications/ServBay/www/) Then modify the config.inc.php.dist file suffix to config.inc.php, and modify the database user name and password. Other configurations do not need to be changed.

  4. random_compat

    PHP 5.x support for random_bytes() and random_int()

  5. PrivateBin

    A minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES.

    Project mention: We build Dropbud, place to upload files without uploading | news.ycombinator.com | 2025-02-23
  6. awesome-appsec

    A curated list of resources for learning about application security

  7. MISP

    MISP (core software) - Open Source Threat Intelligence and Sharing Platform

    Project mention: Cradle – Open-Source Collaborative Threat Intelligence Hub | news.ycombinator.com | 2025-03-15
  8. PHPSecLib

    PHP Secure Communications Library

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. pfSense

    Main repository for pfSense

    Project mention: US Weighs Banning TP-Link Routers | news.ycombinator.com | 2024-12-18

    >I'm currently upgrading my home network, trying various options, and one of the headaches is provenance of the equipment.

    If you're concerned about provenance (or even if you're not), I suggest using a general purpose device and rolling your own ala pfSense[0]/OPNSense[1], etc, or just use one of the BSDs or Linux and use native tools or one of the many router/firewall distros[2]

    [0] https://www.pfsense.org/

    [1] https://opnsense.org/

    [2] https://en.wikipedia.org/wiki/List_of_router_and_firewall_di...

  11. Passbolt

    Passbolt Community Edition (CE) API. The JSON API for the open source password manager for teams!

  12. PHP Encryption

    Simple Encryption in PHP.

  13. bouncer

    Laravel Eloquent roles and abilities.

  14. PHPGGC

    PHPGGC is a library of PHP unserialize() payloads along with a tool to generate them, from command line or programmatically.

    Project mention: PHAR Deserialization in Monolog 2.7 | dev.to | 2025-03-10

    Once we verify that the application uses this library in this specific version (usually through the composer.json file), we can test for insecure deserialization in an image upload route, for example. But first we need to create the gadget with the PHPGGC collection:

  15. HTML Purifier

    Standards compliant HTML filter written in PHP

  16. SensioLabs Security Check

    A database of PHP security advisories

  17. Sentinel

    A framework agnostic authentication & authorization system. (by cartalyst)

  18. IniScan

    A php.ini scanner for best security practices

  19. wp2static

    WordPress static site generator for security, performance and cost benefits

  20. mutillidae

    OWASP Mutillidae II is a free, open-source, deliberately vulnerable web application providing a target for web-security training. This is an easy-to-use web hacking environment designed for labs, security enthusiasts, classrooms, CTF, and vulnerability assessment tool targets.

  21. Optimus

    🤖 Id obfuscation based on Knuth's multiplicative hashing method for PHP.

  22. Latte

    ☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.

  23. PHP-Auth

    Authentication for PHP. Simple, lightweight and secure.

  24. Halite

    High-level cryptography interface powered by libsodium

  25. TwoFactorAuth

    PHP library for Two Factor Authentication (TFA / 2FA) (by RobThree)

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Security discussion

Log in or Post with

PHP Security related posts

  • Cybersecurity Beginner's Guide: Build Your Own Vulnerable Lab in 5 Minutes (DVWA + More)

    1 project | dev.to | 17 Apr 2025
  • Build a Cyber Range in 5 Minutes: Unlock Your First Step to Becoming a Hacking Pro! (Save This Guide)

    1 project | dev.to | 27 Mar 2025
  • Montando um laboratório de Pentest com um celular Android e Kali Linux

    1 project | dev.to | 20 Mar 2025
  • Setting up a pentest lab with an Android Phone and Kali Linux

    1 project | dev.to | 20 Mar 2025
  • PHAR Deserialization in Monolog 2.7

    1 project | dev.to | 10 Mar 2025
  • We build Dropbud, place to upload files without uploading

    1 project | news.ycombinator.com | 23 Feb 2025
  • PrivateBin – OSS pastebin where the server has zero knowledge of pasted data

    1 project | news.ycombinator.com | 18 Nov 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 22 Apr 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Security projects in PHP? This list will help you:

# Project Stars
1 Matomo 20,422
2 DVWA 11,055
3 random_compat 8,176
4 PrivateBin 7,081
5 awesome-appsec 6,496
6 MISP 5,639
7 PHPSecLib 5,457
8 pfSense 5,184
9 Passbolt 4,960
10 PHP Encryption 3,823
11 bouncer 3,507
12 PHPGGC 3,431
13 HTML Purifier 3,152
14 SensioLabs Security Check 2,073
15 Sentinel 1,523
16 IniScan 1,482
17 wp2static 1,432
18 mutillidae 1,337
19 Optimus 1,268
20 Latte 1,179
21 PHP-Auth 1,152
22 Halite 1,133
23 TwoFactorAuth 1,119

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that PHP is
the 14th most popular programming language
based on number of references?