PHPackages                             prabath/security-audit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. prabath/security-audit

ActiveLibrary[Security](/categories/security)

prabath/security-audit
======================

A package to scan for common security vulnerabilities in PHP applications

v1.0.0(1y ago)05MITPHPPHP ^7.4 || ^8.0

Since Oct 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/prabath1998/php-security-audit)[ Packagist](https://packagist.org/packages/prabath/security-audit)[ RSS](/packages/prabath-security-audit/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Security Audit Package
======================

[](#security-audit-package)

A simple PHP package for conducting security audits on your codebase. This package checks for common security vulnerabilities and provides a report on potential issues.

Features
--------

[](#features)

- Checks for SQL injection vulnerabilities
- Identifies hardcoded sensitive information
- Evaluates password security practices
- Provides a command-line interface for easy usage

Installation
------------

[](#installation)

You can install the package via Composer. Run the following command in your project directory:

```
composer require prabath/security-audit
```

Usage
-----

[](#usage)

```
use Prabath\SecurityAudit\SecurityAudit;

// Create an instance of the SecurityAudit class
$audit = new SecurityAudit();

// Run the audit
$audit->run();
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

634d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64155072?v=4)[Prabath Udayanga](/maintainers/prabath1998)[@prabath1998](https://github.com/prabath1998)

---

Top Contributors

[![prabath1998](https://avatars.githubusercontent.com/u/64155072?v=4)](https://github.com/prabath1998 "prabath1998 (9 commits)")

### Embed Badge

![Health badge](/badges/prabath-security-audit/health.svg)

```
[![Health](https://phpackages.com/badges/prabath-security-audit/health.svg)](https://phpackages.com/packages/prabath-security-audit)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
