This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Use suntax php 8.4 | |
- Laravel version 12 | |
- Use ABAC instead of RBAC | |
- All laravel models should have $table, $fillable properties | |
- All laravel models should have @property annotation for all properties from DB and relations | |
- All laravel models should have all realations methods and casts() | |
- All enums in laravel models should be casted to PHP enum | |
- Use Laravel facades instead of helper methods | |
- Use DI where it possible instead of laravel facades | |
- Use Carbon instance instead of DateTime or DateInterval |