Download the PHP package jaygaha/laravel-ai-prep-kit without Composer
On this page you can find all versions of the php package jaygaha/laravel-ai-prep-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jaygaha/laravel-ai-prep-kit
More information about jaygaha/laravel-ai-prep-kit
Files in jaygaha/laravel-ai-prep-kit
Package laravel-ai-prep-kit
Short Description Audit, optimize, and prepare Laravel codebases for seamless AI agent integration
License MIT
Homepage https://github.com/jaygaha/laravel-ai-prep-kit
Informations about the package laravel-ai-prep-kit
Laravel AI Prep Kit
Audit, optimize, and prepare your Laravel codebase for AI coding agents (Claude Code, Cursor, Copilot, Codex).
Requirements
- PHP 8.3+
- Laravel 11 or 12
Installation
Publish the config (optional):
Optional dependencies:
Usage
Audit
Scan your codebase and get a 0-100 AI-readiness score:
Scores are based on type coverage, Pint adherence, Larastan compliance, test coverage, and pattern enforcement. Reports are saved to storage/ai-prep-kit/.
Fix
Auto-fix issues to improve readiness:
The fix pipeline runs: Pint formatting, Larastan analysis, Rector types, test stub generation, controller refactoring (FormRequests, DTOs, Actions/Services), and pattern enforcement scaffolding.
Generate AGENTS.md
Create AI agent guidelines from your project's patterns:
Detects queue, mail, auth, architecture, and testing patterns automatically.
Simulate
Predict what an AI agent would do with your codebase:
Publish Stubs
Copy 9 AI-optimized stub templates to your project:
Configuration
All behavior is controlled via config/ai-prep-kit.php:
- paths/exclude -- Directories to scan and skip
- weights -- Scoring weights per analyzer (normalized)
- thresholds -- Pass/warn/fail score boundaries
- fixers -- Enable/disable individual fixers
- rules -- Enable/disable pattern enforcement rules
- refactors -- Line count/complexity thresholds, generator toggles
- guidelines.detectors -- Enable/disable pattern detectors
- simulation.scenarios -- Enable/disable simulation scenarios
- plugins -- Register plugin classes
- macros -- Enable Eloquent Builder macros (
whereActive,whereBelongsToAuth, etc.) - hooks -- Register AI tool hooks (Prism, NeuronAI)
Plugins
Register built-in or custom plugins in config:
Plugins can contribute analyzers, fixers, rules, detectors, and scenarios. Extend AbstractPlugin and override only what you need.
CI Integration
Publish the reusable GitHub Actions workflow:
Development
Contributing
See CONTRIBUTING.md.
Security
See SECURITY.md. Do not open public issues for vulnerabilities.
Changelog
See CHANGELOG.md.
License
MIT -- see LICENSE.
All versions of laravel-ai-prep-kit with dependencies
illuminate/support Version ^11.0|^12.0
illuminate/console Version ^11.0|^12.0
nikic/php-parser Version ^5.0