BMAD-METHOD/.claude/rules/laravel-php-83-cursorrules-.../laravel-package-development...

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