Laravel Cursor Rules Starter (Free)
Free Laravel Cursor rules in .mdc format, checked against current Laravel docs, plus a linter that shows why a rule isn't applying.
View Laravel Cursor Rules Starter (Free)
8 Laravel rules your agent actually follows: each one attaches only to the files it's about, states the version-specific behavior, and installs with one command.

8 Cursor project rules (.mdc) for Laravel, scoped so each loads only when relevant, with an installer that detects your stack, an AGENTS.md exporter (Claude Code, Codex) and a rules linter. Written against current docs (checked Nov 2026).
The screenshot is real output from the kit’s own commands. Tested from a fresh download of this exact zip: ./run_tests.sh ran 8 tests OK on Python 3.13 and 3.10.

python3 tools/install_rules.py --detect /path/to/app # what it finds
python3 tools/install_rules.py /path/to/app --auto # install rules for detected stacks into .cursor/rules/
python3 tools/install_rules.py /path/to/app --all --agents-md # everything, plus AGENTS.md
python3 tools/lint_rules.py /path/to/app/.cursor/rules --project /path/to/appExisting files are never overwritten unless you pass --force; --dry-run previews. ./tools/demo.sh runs it on examples/sample-app; ./run_tests.sh runs the tests. As a Cursor plugin, the manifest is .cursor-plugin/plugin.json.
| Rule | Loads | First instruction |
|---|---|---|
| laravel-overview.mdc | always | Check laravel/framework in composer.lock before using an API |
| laravel-eloquent.mdc | by file (app/Models//*.php) | Turn on Model::shouldBeStrict(! app()->isProduction()) in a service provider so lazy loading, missing attributes... |
| laravel-migrations.mdc | by file (database/migrations/*.php) | Create with php artisan make:migration create_orders_table |
| laravel-controllers-requests.mdc | by file (app/Http//*.php, routes/*.php) | Validate in Form Requests (php artisan make:request StoreOrderRequest) and use $request->validated() |
| laravel-queues-jobs.mdc | by file (app/Jobs//*.php, app/Listeners//*.php, config/queue.php, routes/console.php) | Jobs implementing ShouldQueue must be idempotent: they can run twice |
| laravel-security.mdc | by file (config//*.php, app/Http//*.php, bootstrap/app.php, .env.example) | Secrets live in .env (never committed) and are read through config(), not env(), outside config files |
| laravel-testing.mdc | by file (tests//*.php) | Use the repo's framework: Pest (Laravel 13 pairs with Pest 4) or PHPUnit 12 |
| laravel-blade-livewire.mdc | by file (resources/views//*.php, app/Livewire//*.php, app/View//*.php) | Prefer Blade components (<x-button>) and slots over copy-pasted markup |
Zip, 20 KB, v1.0, 31 files. You may use and modify this kit for your own work and for clients you serve, including paid client work. Not affiliated with or endorsed by Cursor (Anysphere) or Laravel.
8 Cursor rules for Laravel, written against current docs. Installs in one command, exports AGENTS.md for Claude Code and Codex. $12 once.
Free Laravel Cursor rules in .mdc format, checked against current Laravel docs, plus a linter that shows why a rule isn't applying.
View Laravel Cursor Rules Starter (Free)7 Cursor rules for FastAPI, written against current docs. Installs in one command, exports AGENTS.md for Claude Code and Codex. $12 once.
View Cursor Rules for FastAPIFree FastAPI Cursor rules in .mdc format, checked against current FastAPI docs, plus a linter that shows why a rule isn't applying.
View FastAPI Cursor Rules Starter (Free)