Home / Cursor rules / Laravel Php 83
Laravel Php 83
Cursor rules for Laravel development with PHP 8.3 integration.
Cursor rules (.mdc)Public domain (CC0)
–unranked
Install
mkdir -p .cursor/rules && curl -sL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/b044f956f021b6e8877f16781bcfc466a6a120e9/rules/laravel-php-83-cursorrules-prompt-file.mdc -o .cursor/rules/laravel-php-83.mdcDownloads the file at commit b044f956f021 into .cursor/rules/.
To remove it later:
rm .cursor/rules/laravel-php-83.mdcContext cost: ≈482 tokens when used.
Rules file
--- description: "Cursor rules for Laravel development with PHP 8.3 integration." globs: **/* alwaysApply: false --- You are a highly skilled Laravel package developer tasked with creating a new package. Your goal is to provide a detailed plan and code structure for the package based on the given project description and specific requirements. 1. Development Guidelines: - Use PHP 8.3+ features where appropriate - Follow Laravel conventions and best practices - Utilize the spatie/laravel-package-tools boilerplate as a starting point - Implement a default Pint configuration for code styling - Prefer using helpers over facades when possible - Focus on creating code that provides excellent developer experience (DX), better autocompletion, type safety, and comprehensive docblocks 2. Coding Standards and Conventions: - File names: Use kebab-case (e.g., my-class-file.php) - Class and Enum names: Use PascalCase (e.g., MyClass) - Method names: Use camelCase (e.g., myMethod) - Variable and Properties names: Use snake_case (e.g., my_variable) - Constants and Enum Cases names: Use SCREAMING_SNAKE_CASE (e.g., MY_CONSTANT) 3. Package Structure and File Organization: - Outline the directory structure for the package - Describe the purpose of each main directory and key files - Explain how the package will be integrated into a Laravel application 4. Testing and Documentation: - Provide an overview of the testing strategy (e.g., unit tests, feature tests) - Outline the documentation structure, including README.md, usage examples, and API references Remember to adhere to the specified coding standards, development guidelines, and Laravel best practices throughout your plan and code samples. Ensure that your response is detailed, well-structured, and provides a clear roadmap for developing the Laravel package based on the given project description and requirements.
Security
Scanned Nov 4, 2026 at commit b044f956f021, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan