Files
main/rules-v0-deprecated/laravel-php-83-cursorrules-prompt-file/laravel-package-development-guidelines.mdc
T
2025-03-03 23:40:27 +05:30

10 lines
554 B
Plaintext

---
description: General guidelines for developing Laravel packages, including PHP version, conventions, and tooling.
globs: */src/**/*.*
---
- 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