Skip to content

Commit 95cfd79

Browse files
committed
guidelines: laravel: improve artisan command success
1 parent 77b2e14 commit 95cfd79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ai/laravel/core.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
- Use `php artisan make:` commands to create new files (i.e. migrations, controllers, models, etc.). You can list available Artisan commands using the `list-artisan-commands` tool.
44
- If you're creating a generic PHP class, use `artisan make:class`.
5+
- Pass `--no-interaction` to all artisan commands to ensure they work. You should pass correct `--options` to ensure it works.
56

67
### Database
78
- Always use proper Eloquent relationship methods with return type hints. Prefer relationship methods over raw queries or manual joins.

0 commit comments

Comments
 (0)