Moztopia Lavackage is a Laravel 11+ package offering contributor-friendly commands, logging utilities, and shared framework helpers. Designed for clarity, reversibility, and ergonomic workflows.
composer require moztopia/lavackageLavackage uses Laravel's auto-discovery, so no manual provider registration is needed.
Manage Laravel's default log file with clear, reversible options:
php artisan lavackage:log [--clear] [--backup] [--threshold=LEVEL]--clear→ wipeslaravel.logsafely--backup→ creates a timestamped backup before clearing--threshold=LEVEL→ filters log entries by severity (info,warning,error, etc.)
Lavackage uses Pest + Testbench for isolated Laravel testing:
./vendor/bin/pestAll tests run inside a temporary Laravel sandbox — no files are written to your repo.
src/
├── Console/
│ └── Commands/
│ └── LogCommand.php
├── LavackageServiceProvider.php
tests/
└── Feature/
└── Commands/
└── Log/
└── LogBackupTest.php
We welcome PRs and feedback! Please follow Moztopia’s contributor guidelines:
- Use branded headers and blank lines for clarity
- Ensure all commands are reversible and container-safe
- Log operator actions via Laravel-native methods