Files
main/rules-v0/laravel-php-83-cursorrules-prompt-file/laravel-package-development-guidelines.mdc
T
2025-02-27 00:04:07 +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