Changelog
All notable changes to Laravel Integrity will be documented in this file.
[v1.2.0] - Upcoming
Added
- HTML Reports: Added
--format=htmlto generate standalone HTML compliance reports. - N+1 Query Detection: Added
NPlusOneStaticCheckto statically detect database queries and lazy loading inside loops. - Blade Strict Types: Added
BladeComponentStrictTypeCheckto verify that required@propsare passed to Blade components. - Automated PR Reviewer: Added
php artisan integrity:pr-reviewto automatically post AST analysis results directly to GitHub PRs as inline comments.
[v1.1.0] - 2024-10-24
Added
- AI Agent Integration (MCP Server): Added
php artisan integrity:mcpcommand to expose local reflection tools to AI Agents like Cursor via Model Context Protocol. - Security Audits: Added
ModelMassAssignmentCheckto statically detect models usingprotected $guarded = [];. - Database Hygiene: Added
DatabaseIndexCheckto scan the actual database schema via DBAL and flag missing indexes on foreign key columns (e.g.,*_id). - Dead Code Elimination: Added
UnreferencedPrivateMethodCheckto detectprivatemethods that are never called locally ($this->method()) within their class. - Env Variable Contracts: Added
MissingEnvVariableCheckto ensure allenv()calls exist within.env.example.
[v1.0.0] - Initial Release
Added
- Initial stable release.
- Added comprehensive AST parsing via
nikic/php-parser. - Added baseline generation (
.integrity-baseline.json). - Added extensible
Checkcontract pipeline. - Fully documented Getting Started, Configuration, and Extensibility guides.
- Expanded PHP version constraint to
>=8.2for full PHP 8.4 & 8.5 compatibility.
