moztopia / lavackage
A Laravel 12+ Package used for helpers, commands, and other common tools.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/moztopia/lavackage
Requires
- php: ^8.3
- laravel/framework: >=12.0
Requires (Dev)
- orchestra/testbench: ^9.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
README
Moztopia Lavackage is a Laravel 11+ package offering contributor-friendly commands, logging utilities, and shared framework helpers. Designed for clarity, reversibility, and ergonomic workflows.
π Installation
composer require moztopia/lavackage
Lavackage uses Laravel's auto-discovery, so no manual provider registration is needed.
π οΈ Available Commands
lavackage:log
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.)
π§ͺ Testing
Lavackage uses Pest + Testbench for isolated Laravel testing:
./vendor/bin/pest
All tests run inside a temporary Laravel sandbox β no files are written to your repo.
π§© Package Structure
src/
βββ Console/
β βββ Commands/
β βββ LogCommand.php
βββ LavackageServiceProvider.php
tests/
βββ Feature/
βββ Commands/
βββ Log/
βββ LogBackupTest.php
π§βπ» Contributing
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
π Links
- π Moztopia
- π Packagist: moztopia/lavackage
- π οΈ GitHub: moztopia/lavackage