@the-bearded-bear/claude-craft 3.1.2 → 3.3.1-next.f4f0d1e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (537) hide show
  1. package/Dev/i18n/de/Angular/CLAUDE.md.template +49 -0
  2. package/Dev/i18n/de/Angular/agents/angular-reviewer.md +213 -0
  3. package/Dev/i18n/de/Angular/checklists/new-feature.md +125 -0
  4. package/Dev/i18n/de/Angular/checklists/pre-commit.md +77 -0
  5. package/Dev/i18n/de/Angular/commands/check-architecture.md +261 -0
  6. package/Dev/i18n/de/Angular/commands/check-code-quality.md +238 -0
  7. package/Dev/i18n/de/Angular/commands/check-compliance.md +199 -0
  8. package/Dev/i18n/de/Angular/commands/check-security.md +263 -0
  9. package/Dev/i18n/de/Angular/commands/check-testing.md +292 -0
  10. package/Dev/i18n/de/Angular/commands/generate-component.md +220 -0
  11. package/Dev/i18n/de/Angular/rules/00-project-context.md.template +78 -0
  12. package/Dev/i18n/de/Angular/rules/02-architecture-angular.md +477 -0
  13. package/Dev/i18n/de/Angular/rules/03-coding-standards.md +640 -0
  14. package/Dev/i18n/de/Angular/rules/06-tooling.md +516 -0
  15. package/Dev/i18n/de/Angular/rules/07-testing-angular.md +739 -0
  16. package/Dev/i18n/de/Angular/rules/08-quality-tools.md +501 -0
  17. package/Dev/i18n/de/Angular/rules/11-security-angular.md +497 -0
  18. package/Dev/i18n/de/Angular/templates/component.template.ts +115 -0
  19. package/Dev/i18n/de/Angular/templates/service.template.ts +203 -0
  20. package/Dev/i18n/de/CSharp/CLAUDE.md.template +65 -0
  21. package/Dev/i18n/de/CSharp/agents/csharp-reviewer.md +166 -0
  22. package/Dev/i18n/de/CSharp/checklists/new-feature.md +178 -0
  23. package/Dev/i18n/de/CSharp/checklists/pre-commit.md +126 -0
  24. package/Dev/i18n/de/CSharp/commands/check-architecture.md +294 -0
  25. package/Dev/i18n/de/CSharp/commands/check-code-quality.md +355 -0
  26. package/Dev/i18n/de/CSharp/commands/check-compliance.md +178 -0
  27. package/Dev/i18n/de/CSharp/commands/check-security.md +369 -0
  28. package/Dev/i18n/de/CSharp/commands/check-testing.md +295 -0
  29. package/Dev/i18n/de/CSharp/commands/generate-feature.md +481 -0
  30. package/Dev/i18n/de/CSharp/rules/00-project-context.md.template +100 -0
  31. package/Dev/i18n/de/CSharp/rules/02-architecture-csharp.md +536 -0
  32. package/Dev/i18n/de/CSharp/rules/03-coding-standards.md +494 -0
  33. package/Dev/i18n/de/CSharp/rules/06-tooling.md +493 -0
  34. package/Dev/i18n/de/CSharp/rules/07-testing-csharp.md +566 -0
  35. package/Dev/i18n/de/CSharp/rules/08-quality-tools.md +497 -0
  36. package/Dev/i18n/de/CSharp/rules/11-security-csharp.md +568 -0
  37. package/Dev/i18n/de/CSharp/rules/12-aspire-cloud-native.md +514 -0
  38. package/Dev/i18n/de/CSharp/templates/command-handler.template.cs +100 -0
  39. package/Dev/i18n/de/CSharp/templates/entity.template.cs +159 -0
  40. package/Dev/i18n/de/Common/commands/add-technology.md +195 -0
  41. package/Dev/i18n/de/Laravel/CLAUDE.md.template +104 -0
  42. package/Dev/i18n/de/Laravel/agents/laravel-reviewer.md +200 -0
  43. package/Dev/i18n/de/Laravel/checklists/new-feature.md +277 -0
  44. package/Dev/i18n/de/Laravel/checklists/pre-commit.md +156 -0
  45. package/Dev/i18n/de/Laravel/commands/check-architecture.md +306 -0
  46. package/Dev/i18n/de/Laravel/commands/check-code-quality.md +302 -0
  47. package/Dev/i18n/de/Laravel/commands/check-compliance.md +141 -0
  48. package/Dev/i18n/de/Laravel/commands/check-security.md +372 -0
  49. package/Dev/i18n/de/Laravel/commands/check-testing.md +397 -0
  50. package/Dev/i18n/de/Laravel/commands/generate-controller.md +388 -0
  51. package/Dev/i18n/de/Laravel/rules/00-project-context.md.template +140 -0
  52. package/Dev/i18n/de/Laravel/rules/02-architecture-laravel.md +644 -0
  53. package/Dev/i18n/de/Laravel/rules/03-coding-standards.md +573 -0
  54. package/Dev/i18n/de/Laravel/rules/06-tooling.md +580 -0
  55. package/Dev/i18n/de/Laravel/rules/07-testing-laravel.md +525 -0
  56. package/Dev/i18n/de/Laravel/rules/08-quality-tools.md +591 -0
  57. package/Dev/i18n/de/Laravel/rules/11-security-laravel.md +787 -0
  58. package/Dev/i18n/de/Laravel/templates/action.template.php +79 -0
  59. package/Dev/i18n/de/Laravel/templates/controller.template.php +99 -0
  60. package/Dev/i18n/de/Laravel/templates/model.template.php +206 -0
  61. package/Dev/i18n/de/Laravel/templates/test.template.php +263 -0
  62. package/Dev/i18n/de/PHP/CLAUDE.md.template +460 -0
  63. package/Dev/i18n/de/PHP/agents/php-reviewer.md +345 -0
  64. package/Dev/i18n/de/PHP/checklists/new-feature.md +132 -0
  65. package/Dev/i18n/de/PHP/checklists/pre-commit.md +231 -0
  66. package/Dev/i18n/de/PHP/commands/check-architecture.md +557 -0
  67. package/Dev/i18n/de/PHP/commands/check-code-quality.md +448 -0
  68. package/Dev/i18n/de/PHP/commands/check-compliance.md +477 -0
  69. package/Dev/i18n/de/PHP/commands/check-security.md +420 -0
  70. package/Dev/i18n/de/PHP/commands/check-testing.md +486 -0
  71. package/Dev/i18n/de/PHP/rules/00-project-context.md.template +266 -0
  72. package/Dev/i18n/de/PHP/rules/02-architecture-php.md +696 -0
  73. package/Dev/i18n/de/PHP/rules/03-coding-standards.md +641 -0
  74. package/Dev/i18n/de/PHP/rules/06-tooling.md +543 -0
  75. package/Dev/i18n/de/PHP/rules/07-testing-php.md +636 -0
  76. package/Dev/i18n/de/PHP/rules/08-quality-tools.md +533 -0
  77. package/Dev/i18n/de/PHP/rules/11-security-php.md +759 -0
  78. package/Dev/i18n/de/PHP/templates/entity.md +435 -0
  79. package/Dev/i18n/de/PHP/templates/use-case.md +512 -0
  80. package/Dev/i18n/de/PHP/templates/value-object.md +555 -0
  81. package/Dev/i18n/de/VueJS/CLAUDE.md.template +102 -0
  82. package/Dev/i18n/de/VueJS/agents/vuejs-reviewer.md +206 -0
  83. package/Dev/i18n/de/VueJS/checklists/new-feature.md +131 -0
  84. package/Dev/i18n/de/VueJS/checklists/pre-commit.md +68 -0
  85. package/Dev/i18n/de/VueJS/commands/check-architecture.md +137 -0
  86. package/Dev/i18n/de/VueJS/commands/check-code-quality.md +152 -0
  87. package/Dev/i18n/de/VueJS/commands/check-compliance.md +124 -0
  88. package/Dev/i18n/de/VueJS/commands/check-security.md +186 -0
  89. package/Dev/i18n/de/VueJS/commands/check-testing.md +185 -0
  90. package/Dev/i18n/de/VueJS/commands/generate-component.md +233 -0
  91. package/Dev/i18n/de/VueJS/rules/00-project-context.md.template +125 -0
  92. package/Dev/i18n/de/VueJS/rules/02-architecture-vuejs.md +375 -0
  93. package/Dev/i18n/de/VueJS/rules/03-coding-standards.md +502 -0
  94. package/Dev/i18n/de/VueJS/rules/06-tooling.md +422 -0
  95. package/Dev/i18n/de/VueJS/rules/07-testing-vuejs.md +606 -0
  96. package/Dev/i18n/de/VueJS/rules/08-quality-tools.md +441 -0
  97. package/Dev/i18n/de/VueJS/rules/11-security-vuejs.md +465 -0
  98. package/Dev/i18n/de/VueJS/templates/component.template.vue +133 -0
  99. package/Dev/i18n/de/VueJS/templates/composable.template.ts +162 -0
  100. package/Dev/i18n/de/VueJS/templates/store.template.ts +282 -0
  101. package/Dev/i18n/de/VueJS/templates/test.template.ts +233 -0
  102. package/Dev/i18n/en/Angular/CLAUDE.md.template +49 -0
  103. package/Dev/i18n/en/Angular/agents/angular-reviewer.md +213 -0
  104. package/Dev/i18n/en/Angular/checklists/new-feature.md +125 -0
  105. package/Dev/i18n/en/Angular/checklists/pre-commit.md +77 -0
  106. package/Dev/i18n/en/Angular/commands/check-architecture.md +261 -0
  107. package/Dev/i18n/en/Angular/commands/check-code-quality.md +238 -0
  108. package/Dev/i18n/en/Angular/commands/check-compliance.md +199 -0
  109. package/Dev/i18n/en/Angular/commands/check-security.md +263 -0
  110. package/Dev/i18n/en/Angular/commands/check-testing.md +292 -0
  111. package/Dev/i18n/en/Angular/commands/generate-component.md +220 -0
  112. package/Dev/i18n/en/Angular/rules/00-project-context.md.template +78 -0
  113. package/Dev/i18n/en/Angular/rules/02-architecture-angular.md +477 -0
  114. package/Dev/i18n/en/Angular/rules/03-coding-standards.md +640 -0
  115. package/Dev/i18n/en/Angular/rules/06-tooling.md +516 -0
  116. package/Dev/i18n/en/Angular/rules/07-testing-angular.md +739 -0
  117. package/Dev/i18n/en/Angular/rules/08-quality-tools.md +501 -0
  118. package/Dev/i18n/en/Angular/rules/11-security-angular.md +497 -0
  119. package/Dev/i18n/en/Angular/templates/component.template.ts +115 -0
  120. package/Dev/i18n/en/Angular/templates/service.template.ts +203 -0
  121. package/Dev/i18n/en/CSharp/CLAUDE.md.template +65 -0
  122. package/Dev/i18n/en/CSharp/agents/csharp-reviewer.md +166 -0
  123. package/Dev/i18n/en/CSharp/checklists/new-feature.md +178 -0
  124. package/Dev/i18n/en/CSharp/checklists/pre-commit.md +126 -0
  125. package/Dev/i18n/en/CSharp/commands/check-architecture.md +294 -0
  126. package/Dev/i18n/en/CSharp/commands/check-code-quality.md +355 -0
  127. package/Dev/i18n/en/CSharp/commands/check-compliance.md +178 -0
  128. package/Dev/i18n/en/CSharp/commands/check-security.md +369 -0
  129. package/Dev/i18n/en/CSharp/commands/check-testing.md +295 -0
  130. package/Dev/i18n/en/CSharp/commands/generate-feature.md +481 -0
  131. package/Dev/i18n/en/CSharp/rules/00-project-context.md.template +100 -0
  132. package/Dev/i18n/en/CSharp/rules/02-architecture-csharp.md +536 -0
  133. package/Dev/i18n/en/CSharp/rules/03-coding-standards.md +494 -0
  134. package/Dev/i18n/en/CSharp/rules/06-tooling.md +493 -0
  135. package/Dev/i18n/en/CSharp/rules/07-testing-csharp.md +566 -0
  136. package/Dev/i18n/en/CSharp/rules/08-quality-tools.md +497 -0
  137. package/Dev/i18n/en/CSharp/rules/11-security-csharp.md +568 -0
  138. package/Dev/i18n/en/CSharp/rules/12-aspire-cloud-native.md +514 -0
  139. package/Dev/i18n/en/CSharp/templates/command-handler.template.cs +100 -0
  140. package/Dev/i18n/en/CSharp/templates/entity.template.cs +159 -0
  141. package/Dev/i18n/en/Common/commands/add-technology.md +293 -0
  142. package/Dev/i18n/en/Laravel/CLAUDE.md.template +104 -0
  143. package/Dev/i18n/en/Laravel/agents/laravel-reviewer.md +200 -0
  144. package/Dev/i18n/en/Laravel/checklists/new-feature.md +277 -0
  145. package/Dev/i18n/en/Laravel/checklists/pre-commit.md +156 -0
  146. package/Dev/i18n/en/Laravel/commands/check-architecture.md +306 -0
  147. package/Dev/i18n/en/Laravel/commands/check-code-quality.md +302 -0
  148. package/Dev/i18n/en/Laravel/commands/check-compliance.md +141 -0
  149. package/Dev/i18n/en/Laravel/commands/check-security.md +372 -0
  150. package/Dev/i18n/en/Laravel/commands/check-testing.md +397 -0
  151. package/Dev/i18n/en/Laravel/commands/generate-controller.md +388 -0
  152. package/Dev/i18n/en/Laravel/rules/00-project-context.md.template +140 -0
  153. package/Dev/i18n/en/Laravel/rules/02-architecture-laravel.md +644 -0
  154. package/Dev/i18n/en/Laravel/rules/03-coding-standards.md +573 -0
  155. package/Dev/i18n/en/Laravel/rules/06-tooling.md +580 -0
  156. package/Dev/i18n/en/Laravel/rules/07-testing-laravel.md +525 -0
  157. package/Dev/i18n/en/Laravel/rules/08-quality-tools.md +591 -0
  158. package/Dev/i18n/en/Laravel/rules/11-security-laravel.md +787 -0
  159. package/Dev/i18n/en/Laravel/templates/action.template.php +79 -0
  160. package/Dev/i18n/en/Laravel/templates/controller.template.php +99 -0
  161. package/Dev/i18n/en/Laravel/templates/model.template.php +206 -0
  162. package/Dev/i18n/en/Laravel/templates/test.template.php +263 -0
  163. package/Dev/i18n/en/PHP/CLAUDE.md.template +460 -0
  164. package/Dev/i18n/en/PHP/agents/php-reviewer.md +345 -0
  165. package/Dev/i18n/en/PHP/checklists/new-feature.md +132 -0
  166. package/Dev/i18n/en/PHP/checklists/pre-commit.md +231 -0
  167. package/Dev/i18n/en/PHP/commands/check-architecture.md +557 -0
  168. package/Dev/i18n/en/PHP/commands/check-code-quality.md +448 -0
  169. package/Dev/i18n/en/PHP/commands/check-compliance.md +477 -0
  170. package/Dev/i18n/en/PHP/commands/check-security.md +420 -0
  171. package/Dev/i18n/en/PHP/commands/check-testing.md +486 -0
  172. package/Dev/i18n/en/PHP/rules/00-project-context.md.template +266 -0
  173. package/Dev/i18n/en/PHP/rules/02-architecture-php.md +696 -0
  174. package/Dev/i18n/en/PHP/rules/03-coding-standards.md +641 -0
  175. package/Dev/i18n/en/PHP/rules/06-tooling.md +543 -0
  176. package/Dev/i18n/en/PHP/rules/07-testing-php.md +636 -0
  177. package/Dev/i18n/en/PHP/rules/08-quality-tools.md +533 -0
  178. package/Dev/i18n/en/PHP/rules/11-security-php.md +759 -0
  179. package/Dev/i18n/en/PHP/templates/entity.md +435 -0
  180. package/Dev/i18n/en/PHP/templates/use-case.md +512 -0
  181. package/Dev/i18n/en/PHP/templates/value-object.md +555 -0
  182. package/Dev/i18n/en/VueJS/CLAUDE.md.template +102 -0
  183. package/Dev/i18n/en/VueJS/agents/vuejs-reviewer.md +206 -0
  184. package/Dev/i18n/en/VueJS/checklists/new-feature.md +131 -0
  185. package/Dev/i18n/en/VueJS/checklists/pre-commit.md +68 -0
  186. package/Dev/i18n/en/VueJS/commands/check-architecture.md +137 -0
  187. package/Dev/i18n/en/VueJS/commands/check-code-quality.md +152 -0
  188. package/Dev/i18n/en/VueJS/commands/check-compliance.md +124 -0
  189. package/Dev/i18n/en/VueJS/commands/check-security.md +186 -0
  190. package/Dev/i18n/en/VueJS/commands/check-testing.md +185 -0
  191. package/Dev/i18n/en/VueJS/commands/generate-component.md +233 -0
  192. package/Dev/i18n/en/VueJS/rules/00-project-context.md.template +125 -0
  193. package/Dev/i18n/en/VueJS/rules/02-architecture-vuejs.md +375 -0
  194. package/Dev/i18n/en/VueJS/rules/03-coding-standards.md +502 -0
  195. package/Dev/i18n/en/VueJS/rules/06-tooling.md +422 -0
  196. package/Dev/i18n/en/VueJS/rules/07-testing-vuejs.md +606 -0
  197. package/Dev/i18n/en/VueJS/rules/08-quality-tools.md +441 -0
  198. package/Dev/i18n/en/VueJS/rules/11-security-vuejs.md +465 -0
  199. package/Dev/i18n/en/VueJS/templates/component.template.vue +133 -0
  200. package/Dev/i18n/en/VueJS/templates/composable.template.ts +162 -0
  201. package/Dev/i18n/en/VueJS/templates/store.template.ts +282 -0
  202. package/Dev/i18n/en/VueJS/templates/test.template.ts +233 -0
  203. package/Dev/i18n/es/Angular/CLAUDE.md.template +49 -0
  204. package/Dev/i18n/es/Angular/agents/angular-reviewer.md +213 -0
  205. package/Dev/i18n/es/Angular/checklists/new-feature.md +125 -0
  206. package/Dev/i18n/es/Angular/checklists/pre-commit.md +77 -0
  207. package/Dev/i18n/es/Angular/commands/check-architecture.md +261 -0
  208. package/Dev/i18n/es/Angular/commands/check-code-quality.md +238 -0
  209. package/Dev/i18n/es/Angular/commands/check-compliance.md +199 -0
  210. package/Dev/i18n/es/Angular/commands/check-security.md +263 -0
  211. package/Dev/i18n/es/Angular/commands/check-testing.md +292 -0
  212. package/Dev/i18n/es/Angular/commands/generate-component.md +220 -0
  213. package/Dev/i18n/es/Angular/rules/00-project-context.md.template +78 -0
  214. package/Dev/i18n/es/Angular/rules/02-architecture-angular.md +477 -0
  215. package/Dev/i18n/es/Angular/rules/03-coding-standards.md +640 -0
  216. package/Dev/i18n/es/Angular/rules/06-tooling.md +516 -0
  217. package/Dev/i18n/es/Angular/rules/07-testing-angular.md +739 -0
  218. package/Dev/i18n/es/Angular/rules/08-quality-tools.md +501 -0
  219. package/Dev/i18n/es/Angular/rules/11-security-angular.md +497 -0
  220. package/Dev/i18n/es/Angular/templates/component.template.ts +115 -0
  221. package/Dev/i18n/es/Angular/templates/service.template.ts +203 -0
  222. package/Dev/i18n/es/CSharp/CLAUDE.md.template +65 -0
  223. package/Dev/i18n/es/CSharp/agents/csharp-reviewer.md +166 -0
  224. package/Dev/i18n/es/CSharp/checklists/new-feature.md +178 -0
  225. package/Dev/i18n/es/CSharp/checklists/pre-commit.md +126 -0
  226. package/Dev/i18n/es/CSharp/commands/check-architecture.md +294 -0
  227. package/Dev/i18n/es/CSharp/commands/check-code-quality.md +355 -0
  228. package/Dev/i18n/es/CSharp/commands/check-compliance.md +178 -0
  229. package/Dev/i18n/es/CSharp/commands/check-security.md +369 -0
  230. package/Dev/i18n/es/CSharp/commands/check-testing.md +295 -0
  231. package/Dev/i18n/es/CSharp/commands/generate-feature.md +481 -0
  232. package/Dev/i18n/es/CSharp/rules/00-project-context.md.template +100 -0
  233. package/Dev/i18n/es/CSharp/rules/02-architecture-csharp.md +536 -0
  234. package/Dev/i18n/es/CSharp/rules/03-coding-standards.md +494 -0
  235. package/Dev/i18n/es/CSharp/rules/06-tooling.md +493 -0
  236. package/Dev/i18n/es/CSharp/rules/07-testing-csharp.md +566 -0
  237. package/Dev/i18n/es/CSharp/rules/08-quality-tools.md +497 -0
  238. package/Dev/i18n/es/CSharp/rules/11-security-csharp.md +568 -0
  239. package/Dev/i18n/es/CSharp/rules/12-aspire-cloud-native.md +514 -0
  240. package/Dev/i18n/es/CSharp/templates/command-handler.template.cs +100 -0
  241. package/Dev/i18n/es/CSharp/templates/entity.template.cs +159 -0
  242. package/Dev/i18n/es/Common/commands/add-technology.md +195 -0
  243. package/Dev/i18n/es/Laravel/CLAUDE.md.template +104 -0
  244. package/Dev/i18n/es/Laravel/agents/laravel-reviewer.md +200 -0
  245. package/Dev/i18n/es/Laravel/checklists/new-feature.md +277 -0
  246. package/Dev/i18n/es/Laravel/checklists/pre-commit.md +156 -0
  247. package/Dev/i18n/es/Laravel/commands/check-architecture.md +306 -0
  248. package/Dev/i18n/es/Laravel/commands/check-code-quality.md +302 -0
  249. package/Dev/i18n/es/Laravel/commands/check-compliance.md +141 -0
  250. package/Dev/i18n/es/Laravel/commands/check-security.md +372 -0
  251. package/Dev/i18n/es/Laravel/commands/check-testing.md +397 -0
  252. package/Dev/i18n/es/Laravel/commands/generate-controller.md +388 -0
  253. package/Dev/i18n/es/Laravel/rules/00-project-context.md.template +140 -0
  254. package/Dev/i18n/es/Laravel/rules/02-architecture-laravel.md +644 -0
  255. package/Dev/i18n/es/Laravel/rules/03-coding-standards.md +573 -0
  256. package/Dev/i18n/es/Laravel/rules/06-tooling.md +580 -0
  257. package/Dev/i18n/es/Laravel/rules/07-testing-laravel.md +525 -0
  258. package/Dev/i18n/es/Laravel/rules/08-quality-tools.md +591 -0
  259. package/Dev/i18n/es/Laravel/rules/11-security-laravel.md +787 -0
  260. package/Dev/i18n/es/Laravel/templates/action.template.php +79 -0
  261. package/Dev/i18n/es/Laravel/templates/controller.template.php +99 -0
  262. package/Dev/i18n/es/Laravel/templates/model.template.php +206 -0
  263. package/Dev/i18n/es/Laravel/templates/test.template.php +263 -0
  264. package/Dev/i18n/es/PHP/CLAUDE.md.template +460 -0
  265. package/Dev/i18n/es/PHP/agents/php-reviewer.md +345 -0
  266. package/Dev/i18n/es/PHP/checklists/new-feature.md +132 -0
  267. package/Dev/i18n/es/PHP/checklists/pre-commit.md +231 -0
  268. package/Dev/i18n/es/PHP/commands/check-architecture.md +557 -0
  269. package/Dev/i18n/es/PHP/commands/check-code-quality.md +448 -0
  270. package/Dev/i18n/es/PHP/commands/check-compliance.md +477 -0
  271. package/Dev/i18n/es/PHP/commands/check-security.md +420 -0
  272. package/Dev/i18n/es/PHP/commands/check-testing.md +486 -0
  273. package/Dev/i18n/es/PHP/rules/00-project-context.md.template +266 -0
  274. package/Dev/i18n/es/PHP/rules/02-architecture-php.md +696 -0
  275. package/Dev/i18n/es/PHP/rules/03-coding-standards.md +641 -0
  276. package/Dev/i18n/es/PHP/rules/06-tooling.md +543 -0
  277. package/Dev/i18n/es/PHP/rules/07-testing-php.md +636 -0
  278. package/Dev/i18n/es/PHP/rules/08-quality-tools.md +533 -0
  279. package/Dev/i18n/es/PHP/rules/11-security-php.md +759 -0
  280. package/Dev/i18n/es/PHP/templates/entity.md +435 -0
  281. package/Dev/i18n/es/PHP/templates/use-case.md +512 -0
  282. package/Dev/i18n/es/PHP/templates/value-object.md +555 -0
  283. package/Dev/i18n/es/VueJS/CLAUDE.md.template +102 -0
  284. package/Dev/i18n/es/VueJS/agents/vuejs-reviewer.md +206 -0
  285. package/Dev/i18n/es/VueJS/checklists/new-feature.md +131 -0
  286. package/Dev/i18n/es/VueJS/checklists/pre-commit.md +68 -0
  287. package/Dev/i18n/es/VueJS/commands/check-architecture.md +137 -0
  288. package/Dev/i18n/es/VueJS/commands/check-code-quality.md +152 -0
  289. package/Dev/i18n/es/VueJS/commands/check-compliance.md +124 -0
  290. package/Dev/i18n/es/VueJS/commands/check-security.md +186 -0
  291. package/Dev/i18n/es/VueJS/commands/check-testing.md +185 -0
  292. package/Dev/i18n/es/VueJS/commands/generate-component.md +233 -0
  293. package/Dev/i18n/es/VueJS/rules/00-project-context.md.template +125 -0
  294. package/Dev/i18n/es/VueJS/rules/02-architecture-vuejs.md +375 -0
  295. package/Dev/i18n/es/VueJS/rules/03-coding-standards.md +502 -0
  296. package/Dev/i18n/es/VueJS/rules/06-tooling.md +422 -0
  297. package/Dev/i18n/es/VueJS/rules/07-testing-vuejs.md +606 -0
  298. package/Dev/i18n/es/VueJS/rules/08-quality-tools.md +441 -0
  299. package/Dev/i18n/es/VueJS/rules/11-security-vuejs.md +465 -0
  300. package/Dev/i18n/es/VueJS/templates/component.template.vue +133 -0
  301. package/Dev/i18n/es/VueJS/templates/composable.template.ts +162 -0
  302. package/Dev/i18n/es/VueJS/templates/store.template.ts +282 -0
  303. package/Dev/i18n/es/VueJS/templates/test.template.ts +233 -0
  304. package/Dev/i18n/fr/Angular/CLAUDE.md.template +49 -0
  305. package/Dev/i18n/fr/Angular/agents/angular-reviewer.md +213 -0
  306. package/Dev/i18n/fr/Angular/checklists/new-feature.md +125 -0
  307. package/Dev/i18n/fr/Angular/checklists/pre-commit.md +77 -0
  308. package/Dev/i18n/fr/Angular/commands/check-architecture.md +261 -0
  309. package/Dev/i18n/fr/Angular/commands/check-code-quality.md +238 -0
  310. package/Dev/i18n/fr/Angular/commands/check-compliance.md +199 -0
  311. package/Dev/i18n/fr/Angular/commands/check-security.md +263 -0
  312. package/Dev/i18n/fr/Angular/commands/check-testing.md +292 -0
  313. package/Dev/i18n/fr/Angular/commands/generate-component.md +220 -0
  314. package/Dev/i18n/fr/Angular/rules/00-project-context.md.template +78 -0
  315. package/Dev/i18n/fr/Angular/rules/02-architecture-angular.md +477 -0
  316. package/Dev/i18n/fr/Angular/rules/03-coding-standards.md +640 -0
  317. package/Dev/i18n/fr/Angular/rules/06-tooling.md +516 -0
  318. package/Dev/i18n/fr/Angular/rules/07-testing-angular.md +739 -0
  319. package/Dev/i18n/fr/Angular/rules/08-quality-tools.md +501 -0
  320. package/Dev/i18n/fr/Angular/rules/11-security-angular.md +497 -0
  321. package/Dev/i18n/fr/Angular/templates/component.template.ts +115 -0
  322. package/Dev/i18n/fr/Angular/templates/service.template.ts +203 -0
  323. package/Dev/i18n/fr/CSharp/CLAUDE.md.template +65 -0
  324. package/Dev/i18n/fr/CSharp/agents/csharp-reviewer.md +166 -0
  325. package/Dev/i18n/fr/CSharp/checklists/new-feature.md +178 -0
  326. package/Dev/i18n/fr/CSharp/checklists/pre-commit.md +126 -0
  327. package/Dev/i18n/fr/CSharp/commands/check-architecture.md +294 -0
  328. package/Dev/i18n/fr/CSharp/commands/check-code-quality.md +355 -0
  329. package/Dev/i18n/fr/CSharp/commands/check-compliance.md +178 -0
  330. package/Dev/i18n/fr/CSharp/commands/check-security.md +369 -0
  331. package/Dev/i18n/fr/CSharp/commands/check-testing.md +295 -0
  332. package/Dev/i18n/fr/CSharp/commands/generate-feature.md +481 -0
  333. package/Dev/i18n/fr/CSharp/rules/00-project-context.md.template +100 -0
  334. package/Dev/i18n/fr/CSharp/rules/02-architecture-csharp.md +536 -0
  335. package/Dev/i18n/fr/CSharp/rules/03-coding-standards.md +494 -0
  336. package/Dev/i18n/fr/CSharp/rules/06-tooling.md +493 -0
  337. package/Dev/i18n/fr/CSharp/rules/07-testing-csharp.md +566 -0
  338. package/Dev/i18n/fr/CSharp/rules/08-quality-tools.md +497 -0
  339. package/Dev/i18n/fr/CSharp/rules/11-security-csharp.md +568 -0
  340. package/Dev/i18n/fr/CSharp/rules/12-aspire-cloud-native.md +514 -0
  341. package/Dev/i18n/fr/CSharp/templates/command-handler.template.cs +100 -0
  342. package/Dev/i18n/fr/CSharp/templates/entity.template.cs +159 -0
  343. package/Dev/i18n/fr/Common/commands/add-technology.md +293 -0
  344. package/Dev/i18n/fr/Laravel/CLAUDE.md.template +104 -0
  345. package/Dev/i18n/fr/Laravel/agents/laravel-reviewer.md +200 -0
  346. package/Dev/i18n/fr/Laravel/checklists/new-feature.md +277 -0
  347. package/Dev/i18n/fr/Laravel/checklists/pre-commit.md +156 -0
  348. package/Dev/i18n/fr/Laravel/commands/check-architecture.md +306 -0
  349. package/Dev/i18n/fr/Laravel/commands/check-code-quality.md +302 -0
  350. package/Dev/i18n/fr/Laravel/commands/check-compliance.md +141 -0
  351. package/Dev/i18n/fr/Laravel/commands/check-security.md +372 -0
  352. package/Dev/i18n/fr/Laravel/commands/check-testing.md +397 -0
  353. package/Dev/i18n/fr/Laravel/commands/generate-controller.md +388 -0
  354. package/Dev/i18n/fr/Laravel/rules/00-project-context.md.template +140 -0
  355. package/Dev/i18n/fr/Laravel/rules/02-architecture-laravel.md +644 -0
  356. package/Dev/i18n/fr/Laravel/rules/03-coding-standards.md +573 -0
  357. package/Dev/i18n/fr/Laravel/rules/06-tooling.md +580 -0
  358. package/Dev/i18n/fr/Laravel/rules/07-testing-laravel.md +525 -0
  359. package/Dev/i18n/fr/Laravel/rules/08-quality-tools.md +591 -0
  360. package/Dev/i18n/fr/Laravel/rules/11-security-laravel.md +787 -0
  361. package/Dev/i18n/fr/Laravel/templates/action.template.php +79 -0
  362. package/Dev/i18n/fr/Laravel/templates/controller.template.php +99 -0
  363. package/Dev/i18n/fr/Laravel/templates/model.template.php +206 -0
  364. package/Dev/i18n/fr/Laravel/templates/test.template.php +263 -0
  365. package/Dev/i18n/fr/PHP/CLAUDE.md.template +460 -0
  366. package/Dev/i18n/fr/PHP/agents/php-reviewer.md +345 -0
  367. package/Dev/i18n/fr/PHP/checklists/new-feature.md +132 -0
  368. package/Dev/i18n/fr/PHP/checklists/pre-commit.md +231 -0
  369. package/Dev/i18n/fr/PHP/commands/check-architecture.md +557 -0
  370. package/Dev/i18n/fr/PHP/commands/check-code-quality.md +448 -0
  371. package/Dev/i18n/fr/PHP/commands/check-compliance.md +477 -0
  372. package/Dev/i18n/fr/PHP/commands/check-security.md +420 -0
  373. package/Dev/i18n/fr/PHP/commands/check-testing.md +486 -0
  374. package/Dev/i18n/fr/PHP/rules/00-project-context.md.template +266 -0
  375. package/Dev/i18n/fr/PHP/rules/02-architecture-php.md +506 -0
  376. package/Dev/i18n/fr/PHP/rules/03-coding-standards.md +585 -0
  377. package/Dev/i18n/fr/PHP/rules/06-tooling.md +543 -0
  378. package/Dev/i18n/fr/PHP/rules/07-testing-php.md +636 -0
  379. package/Dev/i18n/fr/PHP/rules/08-quality-tools.md +533 -0
  380. package/Dev/i18n/fr/PHP/rules/11-security-php.md +642 -0
  381. package/Dev/i18n/fr/PHP/templates/entity.md +435 -0
  382. package/Dev/i18n/fr/PHP/templates/use-case.md +512 -0
  383. package/Dev/i18n/fr/PHP/templates/value-object.md +555 -0
  384. package/Dev/i18n/fr/VueJS/CLAUDE.md.template +102 -0
  385. package/Dev/i18n/fr/VueJS/agents/vuejs-reviewer.md +206 -0
  386. package/Dev/i18n/fr/VueJS/checklists/new-feature.md +131 -0
  387. package/Dev/i18n/fr/VueJS/checklists/pre-commit.md +68 -0
  388. package/Dev/i18n/fr/VueJS/commands/check-architecture.md +137 -0
  389. package/Dev/i18n/fr/VueJS/commands/check-code-quality.md +152 -0
  390. package/Dev/i18n/fr/VueJS/commands/check-compliance.md +124 -0
  391. package/Dev/i18n/fr/VueJS/commands/check-security.md +186 -0
  392. package/Dev/i18n/fr/VueJS/commands/check-testing.md +185 -0
  393. package/Dev/i18n/fr/VueJS/commands/generate-component.md +233 -0
  394. package/Dev/i18n/fr/VueJS/rules/00-project-context.md.template +125 -0
  395. package/Dev/i18n/fr/VueJS/rules/02-architecture-vuejs.md +375 -0
  396. package/Dev/i18n/fr/VueJS/rules/03-coding-standards.md +502 -0
  397. package/Dev/i18n/fr/VueJS/rules/06-tooling.md +422 -0
  398. package/Dev/i18n/fr/VueJS/rules/07-testing-vuejs.md +606 -0
  399. package/Dev/i18n/fr/VueJS/rules/08-quality-tools.md +441 -0
  400. package/Dev/i18n/fr/VueJS/rules/11-security-vuejs.md +465 -0
  401. package/Dev/i18n/fr/VueJS/templates/component.template.vue +133 -0
  402. package/Dev/i18n/fr/VueJS/templates/composable.template.ts +162 -0
  403. package/Dev/i18n/fr/VueJS/templates/store.template.ts +282 -0
  404. package/Dev/i18n/fr/VueJS/templates/test.template.ts +233 -0
  405. package/Dev/i18n/pt/Angular/CLAUDE.md.template +49 -0
  406. package/Dev/i18n/pt/Angular/agents/angular-reviewer.md +213 -0
  407. package/Dev/i18n/pt/Angular/checklists/new-feature.md +125 -0
  408. package/Dev/i18n/pt/Angular/checklists/pre-commit.md +77 -0
  409. package/Dev/i18n/pt/Angular/commands/check-architecture.md +261 -0
  410. package/Dev/i18n/pt/Angular/commands/check-code-quality.md +238 -0
  411. package/Dev/i18n/pt/Angular/commands/check-compliance.md +199 -0
  412. package/Dev/i18n/pt/Angular/commands/check-security.md +263 -0
  413. package/Dev/i18n/pt/Angular/commands/check-testing.md +292 -0
  414. package/Dev/i18n/pt/Angular/commands/generate-component.md +220 -0
  415. package/Dev/i18n/pt/Angular/rules/00-project-context.md.template +78 -0
  416. package/Dev/i18n/pt/Angular/rules/02-architecture-angular.md +477 -0
  417. package/Dev/i18n/pt/Angular/rules/03-coding-standards.md +640 -0
  418. package/Dev/i18n/pt/Angular/rules/06-tooling.md +516 -0
  419. package/Dev/i18n/pt/Angular/rules/07-testing-angular.md +739 -0
  420. package/Dev/i18n/pt/Angular/rules/08-quality-tools.md +501 -0
  421. package/Dev/i18n/pt/Angular/rules/11-security-angular.md +497 -0
  422. package/Dev/i18n/pt/Angular/templates/component.template.ts +115 -0
  423. package/Dev/i18n/pt/Angular/templates/service.template.ts +203 -0
  424. package/Dev/i18n/pt/CSharp/CLAUDE.md.template +65 -0
  425. package/Dev/i18n/pt/CSharp/agents/csharp-reviewer.md +166 -0
  426. package/Dev/i18n/pt/CSharp/checklists/new-feature.md +178 -0
  427. package/Dev/i18n/pt/CSharp/checklists/pre-commit.md +126 -0
  428. package/Dev/i18n/pt/CSharp/commands/check-architecture.md +294 -0
  429. package/Dev/i18n/pt/CSharp/commands/check-code-quality.md +355 -0
  430. package/Dev/i18n/pt/CSharp/commands/check-compliance.md +178 -0
  431. package/Dev/i18n/pt/CSharp/commands/check-security.md +369 -0
  432. package/Dev/i18n/pt/CSharp/commands/check-testing.md +295 -0
  433. package/Dev/i18n/pt/CSharp/commands/generate-feature.md +481 -0
  434. package/Dev/i18n/pt/CSharp/rules/00-project-context.md.template +100 -0
  435. package/Dev/i18n/pt/CSharp/rules/02-architecture-csharp.md +536 -0
  436. package/Dev/i18n/pt/CSharp/rules/03-coding-standards.md +494 -0
  437. package/Dev/i18n/pt/CSharp/rules/06-tooling.md +493 -0
  438. package/Dev/i18n/pt/CSharp/rules/07-testing-csharp.md +566 -0
  439. package/Dev/i18n/pt/CSharp/rules/08-quality-tools.md +497 -0
  440. package/Dev/i18n/pt/CSharp/rules/11-security-csharp.md +568 -0
  441. package/Dev/i18n/pt/CSharp/rules/12-aspire-cloud-native.md +514 -0
  442. package/Dev/i18n/pt/CSharp/templates/command-handler.template.cs +100 -0
  443. package/Dev/i18n/pt/CSharp/templates/entity.template.cs +159 -0
  444. package/Dev/i18n/pt/Common/commands/add-technology.md +195 -0
  445. package/Dev/i18n/pt/Laravel/CLAUDE.md.template +104 -0
  446. package/Dev/i18n/pt/Laravel/agents/laravel-reviewer.md +200 -0
  447. package/Dev/i18n/pt/Laravel/checklists/new-feature.md +277 -0
  448. package/Dev/i18n/pt/Laravel/checklists/pre-commit.md +156 -0
  449. package/Dev/i18n/pt/Laravel/commands/check-architecture.md +306 -0
  450. package/Dev/i18n/pt/Laravel/commands/check-code-quality.md +302 -0
  451. package/Dev/i18n/pt/Laravel/commands/check-compliance.md +141 -0
  452. package/Dev/i18n/pt/Laravel/commands/check-security.md +372 -0
  453. package/Dev/i18n/pt/Laravel/commands/check-testing.md +397 -0
  454. package/Dev/i18n/pt/Laravel/commands/generate-controller.md +388 -0
  455. package/Dev/i18n/pt/Laravel/rules/00-project-context.md.template +140 -0
  456. package/Dev/i18n/pt/Laravel/rules/02-architecture-laravel.md +644 -0
  457. package/Dev/i18n/pt/Laravel/rules/03-coding-standards.md +573 -0
  458. package/Dev/i18n/pt/Laravel/rules/06-tooling.md +580 -0
  459. package/Dev/i18n/pt/Laravel/rules/07-testing-laravel.md +525 -0
  460. package/Dev/i18n/pt/Laravel/rules/08-quality-tools.md +591 -0
  461. package/Dev/i18n/pt/Laravel/rules/11-security-laravel.md +787 -0
  462. package/Dev/i18n/pt/Laravel/templates/action.template.php +79 -0
  463. package/Dev/i18n/pt/Laravel/templates/controller.template.php +99 -0
  464. package/Dev/i18n/pt/Laravel/templates/model.template.php +206 -0
  465. package/Dev/i18n/pt/Laravel/templates/test.template.php +263 -0
  466. package/Dev/i18n/pt/PHP/CLAUDE.md.template +460 -0
  467. package/Dev/i18n/pt/PHP/agents/php-reviewer.md +345 -0
  468. package/Dev/i18n/pt/PHP/checklists/new-feature.md +132 -0
  469. package/Dev/i18n/pt/PHP/checklists/pre-commit.md +231 -0
  470. package/Dev/i18n/pt/PHP/commands/check-architecture.md +557 -0
  471. package/Dev/i18n/pt/PHP/commands/check-code-quality.md +448 -0
  472. package/Dev/i18n/pt/PHP/commands/check-compliance.md +477 -0
  473. package/Dev/i18n/pt/PHP/commands/check-security.md +420 -0
  474. package/Dev/i18n/pt/PHP/commands/check-testing.md +486 -0
  475. package/Dev/i18n/pt/PHP/rules/00-project-context.md.template +266 -0
  476. package/Dev/i18n/pt/PHP/rules/02-architecture-php.md +696 -0
  477. package/Dev/i18n/pt/PHP/rules/03-coding-standards.md +641 -0
  478. package/Dev/i18n/pt/PHP/rules/06-tooling.md +543 -0
  479. package/Dev/i18n/pt/PHP/rules/07-testing-php.md +636 -0
  480. package/Dev/i18n/pt/PHP/rules/08-quality-tools.md +533 -0
  481. package/Dev/i18n/pt/PHP/rules/11-security-php.md +759 -0
  482. package/Dev/i18n/pt/PHP/templates/entity.md +435 -0
  483. package/Dev/i18n/pt/PHP/templates/use-case.md +512 -0
  484. package/Dev/i18n/pt/PHP/templates/value-object.md +555 -0
  485. package/Dev/i18n/pt/VueJS/CLAUDE.md.template +102 -0
  486. package/Dev/i18n/pt/VueJS/agents/vuejs-reviewer.md +206 -0
  487. package/Dev/i18n/pt/VueJS/checklists/new-feature.md +131 -0
  488. package/Dev/i18n/pt/VueJS/checklists/pre-commit.md +68 -0
  489. package/Dev/i18n/pt/VueJS/commands/check-architecture.md +137 -0
  490. package/Dev/i18n/pt/VueJS/commands/check-code-quality.md +152 -0
  491. package/Dev/i18n/pt/VueJS/commands/check-compliance.md +124 -0
  492. package/Dev/i18n/pt/VueJS/commands/check-security.md +186 -0
  493. package/Dev/i18n/pt/VueJS/commands/check-testing.md +185 -0
  494. package/Dev/i18n/pt/VueJS/commands/generate-component.md +233 -0
  495. package/Dev/i18n/pt/VueJS/rules/00-project-context.md.template +125 -0
  496. package/Dev/i18n/pt/VueJS/rules/02-architecture-vuejs.md +375 -0
  497. package/Dev/i18n/pt/VueJS/rules/03-coding-standards.md +502 -0
  498. package/Dev/i18n/pt/VueJS/rules/06-tooling.md +422 -0
  499. package/Dev/i18n/pt/VueJS/rules/07-testing-vuejs.md +606 -0
  500. package/Dev/i18n/pt/VueJS/rules/08-quality-tools.md +441 -0
  501. package/Dev/i18n/pt/VueJS/rules/11-security-vuejs.md +465 -0
  502. package/Dev/i18n/pt/VueJS/templates/component.template.vue +133 -0
  503. package/Dev/i18n/pt/VueJS/templates/composable.template.ts +162 -0
  504. package/Dev/i18n/pt/VueJS/templates/store.template.ts +282 -0
  505. package/Dev/i18n/pt/VueJS/templates/test.template.ts +233 -0
  506. package/Dev/scripts/install-angular-rules.sh +543 -0
  507. package/Dev/scripts/install-common-rules.sh +13 -1
  508. package/Dev/scripts/install-csharp-rules.sh +544 -0
  509. package/Dev/scripts/install-flutter-rules.sh +17 -4
  510. package/Dev/scripts/install-from-config.sh +61 -23
  511. package/Dev/scripts/install-laravel-rules.sh +552 -0
  512. package/Dev/scripts/install-php-rules.sh +537 -0
  513. package/Dev/scripts/install-python-rules.sh +17 -4
  514. package/Dev/scripts/install-react-rules.sh +17 -4
  515. package/Dev/scripts/install-reactnative-rules.sh +17 -4
  516. package/Dev/scripts/install-symfony-rules.sh +22 -4
  517. package/Dev/scripts/install-vuejs-rules.sh +588 -0
  518. package/README.md +68 -2
  519. package/Tools/Ralph/README.md +106 -10
  520. package/Tools/Ralph/lib/checkpoint.sh +15 -9
  521. package/Tools/Ralph/lib/circuit-breaker.sh +16 -7
  522. package/Tools/Ralph/lib/context-manager.sh +473 -0
  523. package/Tools/Ralph/lib/context-reconstruction.sh +329 -0
  524. package/Tools/Ralph/lib/dod-validator.sh +17 -4
  525. package/Tools/Ralph/lib/loop.sh +33 -10
  526. package/Tools/Ralph/lib/session.sh +88 -33
  527. package/Tools/Ralph/lib/sprint-progress.sh +832 -0
  528. package/Tools/Ralph/lib/utils.sh +362 -0
  529. package/Tools/Ralph/ralph.sh +172 -14
  530. package/Tools/Ralph/templates/ralph.yml.template +87 -0
  531. package/Tools/Ralph/templates/sprint-progress.md.template +72 -0
  532. package/Tools/i18n/ralph/de.sh +31 -0
  533. package/Tools/i18n/ralph/en.sh +31 -0
  534. package/Tools/i18n/ralph/es.sh +31 -0
  535. package/Tools/i18n/ralph/fr.sh +31 -0
  536. package/Tools/i18n/ralph/pt.sh +31 -0
  537. package/package.json +1 -1
@@ -0,0 +1,644 @@
1
+ # Laravel Architecture Standards
2
+
3
+ ## Clean Architecture Principles
4
+
5
+ ### Layer Structure
6
+
7
+ ```
8
+ app/
9
+ ├── Domain/ # Core business logic
10
+ │ ├── {Module}/ # e.g., User, Order, Product
11
+ │ │ ├── Models/ # Eloquent models (entities)
12
+ │ │ ├── ValueObjects/ # Immutable value types
13
+ │ │ ├── Events/ # Domain events
14
+ │ │ ├── Exceptions/ # Domain exceptions
15
+ │ │ ├── Contracts/ # Repository interfaces
16
+ │ │ └── Services/ # Domain services
17
+ │ └── Shared/ # Shared domain concepts
18
+ │
19
+ ├── Application/ # Use cases & orchestration
20
+ │ ├── {Module}/
21
+ │ │ ├── Actions/ # Single-purpose action classes
22
+ │ │ ├── Commands/ # CQRS commands (write)
23
+ │ │ ├── Queries/ # CQRS queries (read)
24
+ │ │ ├── DTOs/ # Data Transfer Objects
25
+ │ │ └── Handlers/ # Command/Query handlers
26
+ │ └── Contracts/ # Application interfaces
27
+ │
28
+ ├── Infrastructure/ # External concerns
29
+ │ ├── Persistence/ # Repository implementations
30
+ │ │ ├── Eloquent/ # Eloquent repositories
31
+ │ │ └── Cache/ # Cache repositories
32
+ │ ├── Services/ # External service implementations
33
+ │ ├── Mail/ # Mail implementations
34
+ │ └── Queue/ # Queue job implementations
35
+ │
36
+ └── Interfaces/ # Presentation layer
37
+ ├── Http/
38
+ │ ├── Controllers/ # API/Web controllers
39
+ │ ├── Requests/ # Form requests (validation)
40
+ │ ├── Resources/ # API resources (transformers)
41
+ │ └── Middleware/ # HTTP middleware
42
+ ├── Console/ # Artisan commands
43
+ └── Jobs/ # Queue jobs
44
+ ```
45
+
46
+ ### Alternative: Modular Monolith Structure
47
+
48
+ ```
49
+ app/
50
+ ├── Modules/
51
+ │ ├── User/
52
+ │ │ ├── Domain/
53
+ │ │ │ ├── Models/
54
+ │ │ │ ├── Events/
55
+ │ │ │ └── Contracts/
56
+ │ │ ├── Application/
57
+ │ │ │ ├── Actions/
58
+ │ │ │ └── DTOs/
59
+ │ │ ├── Infrastructure/
60
+ │ │ │ └── Repositories/
61
+ │ │ └── Interfaces/
62
+ │ │ ├── Http/
63
+ │ │ │ ├── Controllers/
64
+ │ │ │ ├── Requests/
65
+ │ │ │ └── Resources/
66
+ │ │ └── routes.php
67
+ │ │
68
+ │ └── Order/
69
+ │ └── ... (same structure)
70
+ │
71
+ ├── Shared/ # Cross-module shared code
72
+ │ ├── Domain/
73
+ │ ├── Application/
74
+ │ └── Infrastructure/
75
+ │
76
+ └── Support/ # Framework utilities
77
+ ```
78
+
79
+ ### Dependency Rules
80
+
81
+ ```
82
+ ┌─────────────────────────────────────────────────────────┐
83
+ │ Interfaces │
84
+ │ (Controllers, Commands, Resources) │
85
+ └────────────────────────┬────────────────────────────────┘
86
+ │ depends on
87
+ ┌────────────────────────▼────────────────────────────────┐
88
+ │ Infrastructure │
89
+ │ (Repositories, External Services, Mail) │
90
+ └────────────────────────┬────────────────────────────────┘
91
+ │ depends on
92
+ ┌────────────────────────▼────────────────────────────────┐
93
+ │ Application │
94
+ │ (Actions, DTOs, Handlers) │
95
+ └────────────────────────┬────────────────────────────────┘
96
+ │ depends on
97
+ ┌────────────────────────▼────────────────────────────────┐
98
+ │ Domain │
99
+ │ (Models, Value Objects, Repository Interfaces) │
100
+ └─────────────────────────────────────────────────────────┘
101
+ ```
102
+
103
+ **CRITICAL**: Dependencies MUST flow inward only. Domain has NO external dependencies.
104
+
105
+ ## Domain Layer
106
+
107
+ ### Eloquent Models as Entities
108
+
109
+ ```php
110
+ <?php
111
+
112
+ namespace App\Domain\Order\Models;
113
+
114
+ use App\Domain\Order\Events\OrderCreated;
115
+ use App\Domain\Order\Events\OrderShipped;
116
+ use App\Domain\Order\ValueObjects\Money;
117
+ use App\Domain\Shared\Models\BaseModel;
118
+ use Illuminate\Database\Eloquent\Relations\HasMany;
119
+ use Illuminate\Database\Eloquent\Relations\BelongsTo;
120
+
121
+ class Order extends BaseModel
122
+ {
123
+ protected $fillable = ['customer_id', 'status'];
124
+
125
+ protected $casts = [
126
+ 'total_amount' => Money::class,
127
+ 'status' => OrderStatus::class,
128
+ 'shipped_at' => 'datetime',
129
+ ];
130
+
131
+ // Relationships
132
+ public function customer(): BelongsTo
133
+ {
134
+ return $this->belongsTo(Customer::class);
135
+ }
136
+
137
+ public function items(): HasMany
138
+ {
139
+ return $this->hasMany(OrderItem::class);
140
+ }
141
+
142
+ // Factory method
143
+ public static function create(array $attributes = []): static
144
+ {
145
+ $order = new static($attributes);
146
+ $order->status = OrderStatus::Draft;
147
+ $order->save();
148
+
149
+ event(new OrderCreated($order));
150
+
151
+ return $order;
152
+ }
153
+
154
+ // Domain methods
155
+ public function addItem(Product $product, int $quantity): OrderItem
156
+ {
157
+ $item = $this->items()->create([
158
+ 'product_id' => $product->id,
159
+ 'quantity' => $quantity,
160
+ 'unit_price' => $product->price,
161
+ ]);
162
+
163
+ $this->recalculateTotal();
164
+
165
+ return $item;
166
+ }
167
+
168
+ public function ship(): void
169
+ {
170
+ if (!$this->canBeShipped()) {
171
+ throw new OrderCannotBeShippedException($this);
172
+ }
173
+
174
+ $this->status = OrderStatus::Shipped;
175
+ $this->shipped_at = now();
176
+ $this->save();
177
+
178
+ event(new OrderShipped($this));
179
+ }
180
+
181
+ public function canBeShipped(): bool
182
+ {
183
+ return $this->status === OrderStatus::Confirmed
184
+ && $this->items()->exists();
185
+ }
186
+
187
+ private function recalculateTotal(): void
188
+ {
189
+ $this->total_amount = $this->items->sum(
190
+ fn (OrderItem $item) => $item->total->amount
191
+ );
192
+ $this->save();
193
+ }
194
+ }
195
+ ```
196
+
197
+ ### Value Objects with Casts
198
+
199
+ ```php
200
+ <?php
201
+
202
+ namespace App\Domain\Order\ValueObjects;
203
+
204
+ use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
205
+ use InvalidArgumentException;
206
+
207
+ final class Money implements CastsAttributes
208
+ {
209
+ public function __construct(
210
+ public readonly int $amount,
211
+ public readonly string $currency = 'EUR'
212
+ ) {
213
+ if ($amount < 0) {
214
+ throw new InvalidArgumentException('Amount cannot be negative');
215
+ }
216
+ }
217
+
218
+ public static function fromCents(int $cents, string $currency = 'EUR'): self
219
+ {
220
+ return new self($cents, $currency);
221
+ }
222
+
223
+ public static function zero(string $currency = 'EUR'): self
224
+ {
225
+ return new self(0, $currency);
226
+ }
227
+
228
+ public function add(Money $other): self
229
+ {
230
+ $this->ensureSameCurrency($other);
231
+ return new self($this->amount + $other->amount, $this->currency);
232
+ }
233
+
234
+ public function multiply(int $factor): self
235
+ {
236
+ return new self($this->amount * $factor, $this->currency);
237
+ }
238
+
239
+ public function format(): string
240
+ {
241
+ return number_format($this->amount / 100, 2) . ' ' . $this->currency;
242
+ }
243
+
244
+ // CastsAttributes implementation
245
+ public function get($model, string $key, $value, array $attributes): ?self
246
+ {
247
+ if ($value === null) {
248
+ return null;
249
+ }
250
+ return new self(
251
+ (int) $value,
252
+ $attributes[$key . '_currency'] ?? 'EUR'
253
+ );
254
+ }
255
+
256
+ public function set($model, string $key, $value, array $attributes): array
257
+ {
258
+ if ($value === null) {
259
+ return [$key => null];
260
+ }
261
+ return [
262
+ $key => $value->amount,
263
+ $key . '_currency' => $value->currency,
264
+ ];
265
+ }
266
+
267
+ private function ensureSameCurrency(Money $other): void
268
+ {
269
+ if ($this->currency !== $other->currency) {
270
+ throw new InvalidArgumentException('Currency mismatch');
271
+ }
272
+ }
273
+ }
274
+ ```
275
+
276
+ ### Repository Interfaces (Contracts)
277
+
278
+ ```php
279
+ <?php
280
+
281
+ namespace App\Domain\Order\Contracts;
282
+
283
+ use App\Domain\Order\Models\Order;
284
+ use Illuminate\Support\Collection;
285
+
286
+ interface OrderRepositoryInterface
287
+ {
288
+ public function find(int $id): ?Order;
289
+
290
+ public function findOrFail(int $id): Order;
291
+
292
+ public function findByCustomer(int $customerId): Collection;
293
+
294
+ public function findPending(): Collection;
295
+
296
+ public function save(Order $order): void;
297
+
298
+ public function delete(Order $order): void;
299
+ }
300
+ ```
301
+
302
+ ## Application Layer
303
+
304
+ ### Action Classes (Single Responsibility)
305
+
306
+ ```php
307
+ <?php
308
+
309
+ namespace App\Application\Order\Actions;
310
+
311
+ use App\Application\Order\DTOs\CreateOrderData;
312
+ use App\Domain\Order\Contracts\OrderRepositoryInterface;
313
+ use App\Domain\Order\Models\Order;
314
+ use App\Domain\Product\Contracts\ProductRepositoryInterface;
315
+ use Illuminate\Support\Facades\DB;
316
+
317
+ final class CreateOrderAction
318
+ {
319
+ public function __construct(
320
+ private readonly OrderRepositoryInterface $orderRepository,
321
+ private readonly ProductRepositoryInterface $productRepository,
322
+ ) {}
323
+
324
+ public function execute(CreateOrderData $data): Order
325
+ {
326
+ return DB::transaction(function () use ($data) {
327
+ $order = Order::create([
328
+ 'customer_id' => $data->customerId,
329
+ ]);
330
+
331
+ foreach ($data->items as $itemData) {
332
+ $product = $this->productRepository->findOrFail($itemData->productId);
333
+ $order->addItem($product, $itemData->quantity);
334
+ }
335
+
336
+ return $order->fresh(['items']);
337
+ });
338
+ }
339
+ }
340
+ ```
341
+
342
+ ### Data Transfer Objects (DTOs)
343
+
344
+ ```php
345
+ <?php
346
+
347
+ namespace App\Application\Order\DTOs;
348
+
349
+ use Spatie\LaravelData\Data;
350
+ use Spatie\LaravelData\Attributes\Validation\Required;
351
+ use Spatie\LaravelData\Attributes\Validation\Min;
352
+
353
+ final class CreateOrderData extends Data
354
+ {
355
+ public function __construct(
356
+ #[Required]
357
+ public readonly int $customerId,
358
+
359
+ /** @var OrderItemData[] */
360
+ #[Required, Min(1)]
361
+ public readonly array $items,
362
+ ) {}
363
+ }
364
+
365
+ final class OrderItemData extends Data
366
+ {
367
+ public function __construct(
368
+ #[Required]
369
+ public readonly int $productId,
370
+
371
+ #[Required, Min(1)]
372
+ public readonly int $quantity,
373
+ ) {}
374
+ }
375
+ ```
376
+
377
+ ### CQRS Pattern (Optional)
378
+
379
+ ```php
380
+ <?php
381
+
382
+ // Commands (Write)
383
+ namespace App\Application\Order\Commands;
384
+
385
+ final class CreateOrderCommand
386
+ {
387
+ public function __construct(
388
+ public readonly int $customerId,
389
+ public readonly array $items,
390
+ ) {}
391
+ }
392
+
393
+ // Command Handler
394
+ namespace App\Application\Order\Handlers;
395
+
396
+ use App\Application\Order\Commands\CreateOrderCommand;
397
+ use App\Domain\Order\Models\Order;
398
+
399
+ final class CreateOrderHandler
400
+ {
401
+ public function __construct(
402
+ private readonly CreateOrderAction $createOrderAction,
403
+ ) {}
404
+
405
+ public function handle(CreateOrderCommand $command): Order
406
+ {
407
+ return $this->createOrderAction->execute(
408
+ CreateOrderData::from([
409
+ 'customerId' => $command->customerId,
410
+ 'items' => $command->items,
411
+ ])
412
+ );
413
+ }
414
+ }
415
+
416
+ // Queries (Read)
417
+ namespace App\Application\Order\Queries;
418
+
419
+ use App\Domain\Order\Models\Order;
420
+ use Illuminate\Support\Collection;
421
+
422
+ final class GetOrdersByCustomerQuery
423
+ {
424
+ public function __construct(
425
+ public readonly int $customerId,
426
+ ) {}
427
+ }
428
+
429
+ final class GetOrdersByCustomerHandler
430
+ {
431
+ public function handle(GetOrdersByCustomerQuery $query): Collection
432
+ {
433
+ return Order::where('customer_id', $query->customerId)
434
+ ->with(['items.product'])
435
+ ->orderByDesc('created_at')
436
+ ->get();
437
+ }
438
+ }
439
+ ```
440
+
441
+ ## Infrastructure Layer
442
+
443
+ ### Eloquent Repository Implementation
444
+
445
+ ```php
446
+ <?php
447
+
448
+ namespace App\Infrastructure\Persistence\Eloquent;
449
+
450
+ use App\Domain\Order\Contracts\OrderRepositoryInterface;
451
+ use App\Domain\Order\Models\Order;
452
+ use Illuminate\Support\Collection;
453
+
454
+ final class EloquentOrderRepository implements OrderRepositoryInterface
455
+ {
456
+ public function find(int $id): ?Order
457
+ {
458
+ return Order::find($id);
459
+ }
460
+
461
+ public function findOrFail(int $id): Order
462
+ {
463
+ return Order::findOrFail($id);
464
+ }
465
+
466
+ public function findByCustomer(int $customerId): Collection
467
+ {
468
+ return Order::where('customer_id', $customerId)
469
+ ->orderByDesc('created_at')
470
+ ->get();
471
+ }
472
+
473
+ public function findPending(): Collection
474
+ {
475
+ return Order::where('status', OrderStatus::Pending)
476
+ ->with(['items', 'customer'])
477
+ ->get();
478
+ }
479
+
480
+ public function save(Order $order): void
481
+ {
482
+ $order->save();
483
+ }
484
+
485
+ public function delete(Order $order): void
486
+ {
487
+ $order->delete();
488
+ }
489
+ }
490
+ ```
491
+
492
+ ### Service Provider Bindings
493
+
494
+ ```php
495
+ <?php
496
+
497
+ namespace App\Providers;
498
+
499
+ use Illuminate\Support\ServiceProvider;
500
+ use App\Domain\Order\Contracts\OrderRepositoryInterface;
501
+ use App\Infrastructure\Persistence\Eloquent\EloquentOrderRepository;
502
+
503
+ class RepositoryServiceProvider extends ServiceProvider
504
+ {
505
+ public array $bindings = [
506
+ OrderRepositoryInterface::class => EloquentOrderRepository::class,
507
+ ProductRepositoryInterface::class => EloquentProductRepository::class,
508
+ CustomerRepositoryInterface::class => EloquentCustomerRepository::class,
509
+ ];
510
+ }
511
+ ```
512
+
513
+ ## Interfaces Layer
514
+
515
+ ### API Controllers
516
+
517
+ ```php
518
+ <?php
519
+
520
+ namespace App\Interfaces\Http\Controllers\Api;
521
+
522
+ use App\Application\Order\Actions\CreateOrderAction;
523
+ use App\Application\Order\DTOs\CreateOrderData;
524
+ use App\Domain\Order\Contracts\OrderRepositoryInterface;
525
+ use App\Interfaces\Http\Requests\CreateOrderRequest;
526
+ use App\Interfaces\Http\Resources\OrderResource;
527
+ use Illuminate\Http\JsonResponse;
528
+ use Illuminate\Http\Resources\Json\AnonymousResourceCollection;
529
+
530
+ class OrderController extends Controller
531
+ {
532
+ public function __construct(
533
+ private readonly OrderRepositoryInterface $orderRepository,
534
+ private readonly CreateOrderAction $createOrderAction,
535
+ ) {}
536
+
537
+ public function index(): AnonymousResourceCollection
538
+ {
539
+ $orders = $this->orderRepository->findByCustomer(
540
+ auth()->id()
541
+ );
542
+
543
+ return OrderResource::collection($orders);
544
+ }
545
+
546
+ public function store(CreateOrderRequest $request): JsonResponse
547
+ {
548
+ $order = $this->createOrderAction->execute(
549
+ CreateOrderData::from($request->validated())
550
+ );
551
+
552
+ return OrderResource::make($order)
553
+ ->response()
554
+ ->setStatusCode(201);
555
+ }
556
+
557
+ public function show(int $id): OrderResource
558
+ {
559
+ $order = $this->orderRepository->findOrFail($id);
560
+
561
+ $this->authorize('view', $order);
562
+
563
+ return OrderResource::make($order);
564
+ }
565
+ }
566
+ ```
567
+
568
+ ### Form Requests (Validation)
569
+
570
+ ```php
571
+ <?php
572
+
573
+ namespace App\Interfaces\Http\Requests;
574
+
575
+ use Illuminate\Foundation\Http\FormRequest;
576
+
577
+ class CreateOrderRequest extends FormRequest
578
+ {
579
+ public function authorize(): bool
580
+ {
581
+ return true;
582
+ }
583
+
584
+ public function rules(): array
585
+ {
586
+ return [
587
+ 'customer_id' => ['required', 'integer', 'exists:customers,id'],
588
+ 'items' => ['required', 'array', 'min:1'],
589
+ 'items.*.product_id' => ['required', 'integer', 'exists:products,id'],
590
+ 'items.*.quantity' => ['required', 'integer', 'min:1', 'max:100'],
591
+ ];
592
+ }
593
+
594
+ public function messages(): array
595
+ {
596
+ return [
597
+ 'items.min' => 'At least one item is required.',
598
+ 'items.*.quantity.max' => 'Maximum quantity per item is 100.',
599
+ ];
600
+ }
601
+ }
602
+ ```
603
+
604
+ ### API Resources (Transformers)
605
+
606
+ ```php
607
+ <?php
608
+
609
+ namespace App\Interfaces\Http\Resources;
610
+
611
+ use Illuminate\Http\Request;
612
+ use Illuminate\Http\Resources\Json\JsonResource;
613
+
614
+ class OrderResource extends JsonResource
615
+ {
616
+ public function toArray(Request $request): array
617
+ {
618
+ return [
619
+ 'id' => $this->id,
620
+ 'status' => $this->status->value,
621
+ 'total_amount' => $this->total_amount?->format(),
622
+ 'items' => OrderItemResource::collection($this->whenLoaded('items')),
623
+ 'customer' => CustomerResource::make($this->whenLoaded('customer')),
624
+ 'shipped_at' => $this->shipped_at?->toIso8601String(),
625
+ 'created_at' => $this->created_at->toIso8601String(),
626
+ 'updated_at' => $this->updated_at->toIso8601String(),
627
+ ];
628
+ }
629
+ }
630
+ ```
631
+
632
+ ## Architecture Checklist
633
+
634
+ - [ ] Domain layer has NO external dependencies (except Eloquent base)
635
+ - [ ] Application layer only depends on Domain
636
+ - [ ] Infrastructure implements interfaces from Domain
637
+ - [ ] Controllers are thin (delegate to Actions/Services)
638
+ - [ ] Business logic lives in Domain or Application layer
639
+ - [ ] Repository interfaces defined in Domain
640
+ - [ ] DTOs used for data transfer between layers
641
+ - [ ] Form Requests handle validation
642
+ - [ ] API Resources handle response transformation
643
+ - [ ] Events used for cross-cutting concerns
644
+ - [ ] Service Providers wire up dependencies