Commit bae6eef
committed
docs: add new best practices skills for Laravel
Introduce five new best practices skills to enhance Laravel
development, addressing key recommendations:
- **Routes Best Practices**: Encourage clean route definitions
without business logic, ensuring maintainability.
- **Data Chunking**: Efficiently handle large datasets using
chunking and lazy collections to reduce memory usage.
- **Internationalization**: Implement i18n from the outset,
utilizing translation helpers for easy localization.
- **Constants & Configuration**: Replace hardcoded values with
maintainable constants, enums, and configuration settings.
- **Documentation Best Practices**: Focus on meaningful
documentation explaining reasons, not just technical details.
These skills fill existing gaps and align with comprehensive
Laravel development patterns, providing practical examples
and real-world usage.1 parent 56e0de7 commit bae6eef
7 files changed
+2337
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
3 | 19 | | |
4 | 20 | | |
5 | 21 | | |
| |||
0 commit comments