A comprehensive collection of best practices and coding standards for writing clean, maintainable Laravel applications.
Laravel Best Practices is a comprehensive guide that provides developers with proven patterns and standards for building maintainable Laravel applications. It solves the problem of inconsistent code quality by offering concrete examples of good and bad practices across various aspects of Laravel development, from database interactions to controller organization.
Laravel developers of all levels who want to improve their code quality, team leads establishing coding standards, and developers transitioning to Laravel from other frameworks.
Developers choose this resource because it provides concrete, actionable examples rather than abstract principles, is community-vetted through translations and contributions, and focuses specifically on Laravel's ecosystem rather than generic PHP practices.
Laravel best practices
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides clear side-by-side comparisons of bad and good code for practices like validation and Eloquent optimization, making it easy to identify and fix common mistakes.
Covers a wide range of topics from SRP and naming conventions to performance tips like eager loading and chunking, ensuring holistic guidance for Laravel development.
Supported by over 20 language translations, indicating global adoption and peer review, which adds credibility and accessibility for non-English speakers.
Emphasizes clean code through descriptive naming, avoiding duplication, and using Laravel's built-in tools, directly targeting long-term project health and readability.
Strongly advocates for specific patterns like 'Fat Models, Skinny Controllers' and discourages third-party tools, which may clash with teams preferring alternative architectures or external packages.
Does not specify which Laravel versions the practices apply to, risking obsolescence as the framework evolves with new features like Laravel 10's native types or Vite integration.
As a static guide, it offers no automated checks or integration with linters like Laravel Pint, leaving enforcement reliant on manual code reviews and discipline.