返回 Skill 列表
extension
分类: 开发与工程无需 API Key

laravel-tall-stack-best-practices-cursorrules-prom-cursorrules

申请laravel-tall-stack-best-practices-cursorrules-prom

person作者: jakexiaohubgithub

laravel-tall-stack-best-practices-cursorrules-prom


description: Laravel specific best practices for different modules and features. globs: /**/*.php

  • Use Eloquent ORM instead of raw SQL queries when possible.
  • Implement Repository pattern for data access layer.
  • Use Laravel's built-in authentication and authorization features.
  • Utilize Laravel's caching mechanisms for improved performance.
  • Implement job queues for long-running tasks.
  • Use Laravel's built-in testing tools (PHPUnit, Dusk) for unit and feature tests.
  • Implement API versioning for public APIs.
  • Use Laravel's localization features for multi-language support.
  • Implement proper CSRF protection and security measures.
  • Use Laravel Mix for asset compilation.
  • Implement proper database indexing for improved query performance.
  • Use Laravel's built-in pagination features.
  • Implement proper error logging and monitoring.