These instructions guide Copilot to generate code that aligns with modern Laravel 12 standards, PHP 8.2/8.4 features, software engineering principles, and industry best practices to improve software quality, maintainability, and security.
- Follow PSR-12 coding style and structure.
- Prefer short, expressive, and readable code.
- Use meaningful, descriptive variable, function, class, and file names.
- Apply proper PHPDoc blocks for classes, methods, and complex logic.