PHPackages                             webopstechnologies/laravel-autopsy - 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. webopstechnologies/laravel-autopsy

ActiveLibrary

webopstechnologies/laravel-autopsy
==================================

Forensic audit tool for Laravel applications - security, code quality, architecture, and performance.

v1.0.0(1mo ago)00MITPHPPHP ^8.1

Since Apr 8Pushed 1mo agoCompare

[ Source](https://github.com/neerajprashar/laravel-autopsy)[ Packagist](https://packagist.org/packages/webopstechnologies/laravel-autopsy)[ RSS](/packages/webopstechnologies-laravel-autopsy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

Laravel Autopsy
===============

[](#laravel-autopsy)

Laravel Autopsy is an audit tool that scans your Laravel project and shows security risks, code quality issues, architecture gaps, and performance bottlenecks in one clear report.

It is designed for founders, CTOs, project managers, and developers who want to quickly understand technical risk and fix high-impact issues first.

Why This Is Useful for Business
-------------------------------

[](#why-this-is-useful-for-business)

- Reduce security risk before it becomes a costly incident.
- Catch performance and architecture problems early, before scale-related outages.
- Prioritize technical debt with severity and estimated fix time.
- Get developer-friendly output and client-friendly reports (JSON/PDF).
- Use in CI to prevent critical issues from reaching production.

What You Get
------------

[](#what-you-get)

- A single command: `autopsy:run`
- Four analysis modules:
    - Security
    - Code Quality
    - Architecture
    - Performance
- Report formats:
    - Terminal output
    - JSON export
    - PDF report for stakeholders

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

[](#installation)

### Install from Packagist

[](#install-from-packagist)

```
composer require webopstechnologies/laravel-autopsy
```

### Install from local path (for localhost development)

[](#install-from-local-path-for-localhost-development)

Add this to your app's `composer.json`:

```
"repositories": [
  {
    "type": "path",
    "url": "../laravel-autopsy",
    "options": {
      "symlink": true
    }
  }
]
```

Then run:

```
composer require webopstechnologies/laravel-autopsy:*
```

Quick Start
-----------

[](#quick-start)

Run a full audit:

```
php artisan autopsy:run
```

Generate PDF report:

```
php artisan autopsy:run --report
```

Default PDF location:

`storage/app/reports/autopsy-report.pdf`

Usage Examples
--------------

[](#usage-examples)

Run only one module:

```
php artisan autopsy:run --module=security
php artisan autopsy:run --module=quality
php artisan autopsy:run --module=architecture
php artisan autopsy:run --module=performance
```

Export machine-readable JSON:

```
php artisan autopsy:run --format=json --output=storage/app/reports/autopsy-report.json
```

Generate branded PDF:

```
php artisan autopsy:run --report --brand="Your Agency Name" --output=storage/app/reports/autopsy-report.pdf
```

Use in CI (fail build if critical issues exist):

```
php artisan autopsy:run --ci
```

Sample Result Screenshot
------------------------

[](#sample-result-screenshot)

Add your screenshot file at `docs/autopsy-result-sample.png`, then this image will render:

[![Laravel Autopsy Result](docs/autopsy-result-sample.png)](docs/autopsy-result-sample.png)

What Each Module Checks
-----------------------

[](#what-each-module-checks)

### Security

[](#security)

- `.env` exposure and backup files
- Debug mode in production
- Rate limiting on sensitive routes
- Mass assignment risks
- CORS misconfiguration
- Telescope exposure
- Vulnerable dependencies via Composer audit

### Code Quality

[](#code-quality)

- Fat controllers
- Missing service layer
- N+1 query patterns
- DB queries inside Blade views
- Inline validation in controllers
- Synchronous operations that should be queued

### Architecture

[](#architecture)

- Directory structure standards
- Route file organization
- Hardcoded secrets/values
- Presence of automated tests
- God model detection

### Performance

[](#performance)

- Missing DB indexes in migrations
- Risky `Model::all()` usage
- Session driver recommendations
- Queue driver checks

Real-World Improvement Example
------------------------------

[](#real-world-improvement-example)

One project scored `38/100` before fixes.
After acting on priority findings, it improved to `91/100`.

This creates direct business value:

- Better uptime
- Faster pages
- Lower incident risk
- More predictable delivery

Contact
-------

[](#contact)

Built by **WebOps Technologies** - we rescue and modernize Laravel applications.
Book a free audit -&gt;

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance93

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

34d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad3d35d1e4a6001a12f1e5e0b3be6ee229b16fa216902a6f799c9a9483cf2013?d=identicon)[neerajprashar](/maintainers/neerajprashar)

---

Top Contributors

[![neerajprashar](https://avatars.githubusercontent.com/u/33280508?v=4)](https://github.com/neerajprashar "neerajprashar (3 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/webopstechnologies-laravel-autopsy/health.svg)

```
[![Health](https://phpackages.com/badges/webopstechnologies-laravel-autopsy/health.svg)](https://phpackages.com/packages/webopstechnologies-laravel-autopsy)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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