1 Repo
Static analysis of method chains in custom query builders to ensure type safety.
Distinct from Query Builders: Distinct from Query Builders: focuses on the static validation of the builder's method chains rather than the act of building queries.
Explore 1 awesome GitHub repository matching data & databases · Builder Chain Validation. Refine with filters or upvote what's useful.
Larastan is a static analysis extension and type inference engine for PHP designed to detect bugs and type errors in Laravel applications. It extends PHPStan to resolve framework-specific patterns and magic methods, providing a rule-based scanning engine to audit code quality without executing the application. The tool specializes in Eloquent analysis, verifying that model properties, casts, and relationships align with database schemas and migrations. It tracks types across Eloquent collections, custom builders, and model factories to ensure type safety during database operations and iterati
Validates method chains in custom query builders to ensure type safety during database queries.