# Laravel 12 Production Audit

> Audit your Laravel application before production. Find security risks, performance problems, database issues, configuration gaps, authentication/authorization problems, and deployment risks with a structured production-readiness report.

Laravel 12 Production Audit is a paid AI agent skill on Agensi by Alir, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5.99 (one-time purchase)
- Creator: [Alir](https://www.agensi.io/creators/alir)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-09-18
- Security: scan passed (2026-09-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/laravel-12-production-audit
- Tags: api, devops, code-review, laravel, php, backend

## About this skill

### Laravel 12 Production Audit

Laravel 12 Production Audit is a professional AI Skill designed to review Laravel applications before deployment.

It performs a structured production-readiness audit across security, performance, database usage, authentication, authorization, validation, configuration, APIs, file uploads, queues, caching, logging, dependencies, frontend assets, and deployment configuration.

Instead of simply listing random code problems, the Skill prioritizes findings by severity and explains:

- What is wrong
- Where the problem is
- Why it matters
- How to fix it
- How to verify the fix

### Audit areas

- Production configuration
- Security review
- Authentication
- Authorization
- Routes
- Controllers
- Models & Eloquent
- Database & migrations
- N+1 query detection
- Performance review
- Validation
- Blade & frontend
- API security
- File uploads
- Queues & jobs
- Caching
- Logging & error handling
- Composer dependencies
- Vite/frontend configuration
- Deployment readiness

### Severity levels

### Critical

### High

### Medium

### Low

### Info

The final report includes a production-readiness summary, must-fix issues, recommended improvements, and a practical deployment checklist.

### Important

This Skill uses evidence from the project being inspected. It does not invent vulnerabilities, files, routes, or test results.

It is designed to help Laravel developers, freelancers, agencies, students, and SaaS developers review an application before deployment.

Compatible with Laravel projects using common Laravel development workflows.

### What it does

- Analyzes exact error messages to isolate the root cause across the Laravel stack.
- Inspects routing, controllers, models, and migrations to ensure architectural consistency.
- Identifies common Laravel pitfalls like mass assignment errors, 419 Page Expired (CSRF), and BindingResolutionExceptions.
- Provides a severity assessment (Critical to Low) to help prioritize tech debt and hotfixes.
- Generates precise code fixes with step-by-step verification instructions.

### Frameworks & tools

PHP, Laravel, Eloquent ORM, Blade, Vite, Composer, and Artisan.

### Why this beats prompting it yourself

Generic LLMs often hallucinate methods or suggest outdated Laravel 5 syntax. This skill follows a strict inspection workflow (Understand, Inspect, Diagnose, Fix) that forces the agent to verify file existence and class relationships before proposing a change, preventing "blind fixes" that break other components.

### Use cases

- Fixing broken authentication flows or policy-based authorization failures.
- Debugging complex Eloquent relationship queries and N+1 performance issues.
- Resolving Vite manifest errors and asset compilation problems in the frontend.
- Tracing 404/405 routing errors to specific middleware or method mismatches.

### Known limitations

Requires access to project files to be effective. Cannot access external databases to verify live production data.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Laravel 12 Production Audit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Which versions of Laravel does this bug finder support?

The skill is optimized for modern Laravel versions (6.x through 11.x) and supports core ecosystem tools like Eloquent ORM, Blade, Vite, and Artisan. While it can assist with legacy versions, its primary logic is built around current best practices and syntax.

### How does this skill differ from just pasting my error into a standard LLM?

Unlike generic AI, this skill uses a structured 'Understand-Inspect-Diagnose-Fix' workflow that prevents it from suggesting deprecated methods. It is specifically tuned to recognize Laravel-specific architectural patterns, reducing the risk of 'blind fixes' that might break your middleware or routing.

### Do I need to grant the agent access to my entire codebase?

To provide accurate root-cause analysis, the agent requires access to relevant project files such as your routes, controllers, and models. Please note that it cannot connect to live production databases or external hosting environments for security reasons.

### Can this skill help with complex database relationship errors or N+1 issues?

Yes, the skill is highly effective at diagnosing Eloquent-specific issues, including N+1 query problems, mass assignment errors, and complex relationship mismatches (hasMany, belongsToMany, etc.). It analyzes your models and migrations to ensure your queries align with your database schema.

### What exactly is included in my purchase?

This skill is a software asset that integrates with your AI agent; it does not include a standalone Laravel license or hosting. You receive the specialized debugging logic, diagnostic workflows, and periodic updates to support new Laravel releases.

### Does it support debugging frontend issues like Vite or Blade exceptions?

The Laravel Bug Finder handles common frontend-to-backend integration issues, specifically identifying Vite manifest errors, CSRF token mismatches (419 errors), and Blade directive syntax failures that often disrupt the user experience.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
