pekral/cursor-rules
Publishes ready-made Cursor IDE rules for Laravel and PHP projects, helping AI coding assistants follow your team's conventions, structure, testing, and best practices. Install via Composer and publish configurable rule files into .cursor/rules for consistent, project-aware code suggestions.
.cursor/rules files from scratch or start from an opinionated baseline. At 11 stars and a short history, this is closer to "adopt a template" than "commit to a vendor."Consider it when:
Look elsewhere when:
.cursor/rules files are not.To executives: This is a low-cost, low-risk adoption. It's an MIT-licensed Composer package that installs Cursor's AI-coding conventions for Laravel projects. There are no runtime dependencies and no production surface — worst case we remove it. It buys us a consistent baseline for AI-assisted development without a custom tooling project, and creates a single place to evolve those standards.
To engineering leadership: Treat it as a seed, not a dependency. Fork it into an internal rules repo, adapt the conventions to our codebase, and gate it behind normal PR review. Keep an eye on upstream activity; expect to own this long-term. Pair it with enforceable tooling (Pint, PHPStan, Pest) so that "AI follows the rules" doesn't become the only line of defense — the rules nudge the model, the linters guarantee the outcome.
To engineers: Install via Composer, review the rules, and override anything that conflicts with our existing standards. It should make Cursor's suggestions land closer to "mergeable" on the first try, especially around tests and Laravel conventions. If you find a rule that's wrong for us, PR it — that's the whole point.
How can I help you explore Laravel packages today?