initial: bootstrap from BukidBountyApp base

This commit is contained in:
Jonathan Sykes
2026-06-06 18:43:00 +08:00
commit eb4a5731fb
5674 changed files with 160857 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
---
trigger: always_on
---
# Rule: Running PHP Artisan Commands
## ❗ Important
Never execute `php artisan` commands directly on the host machine.
## ✅ Correct Approach
All Artisan commands **must be executed inside the Docker container**.
## 📦 Reason
The application environment (PHP version, extensions, dependencies) is fully configured inside the container. Running commands outside may cause:
- Version mismatches
- Missing dependencies
- Inconsistent behavior
## 🛠️ How to Execute
Use one of the following patterns depending on the setup:
### Docker Compose
```bash
docker compose exec <app_service> php artisan <command>
```