Skip to content
generated from mozrin/devlite_core

A Laravel 11+ Package used for helpers, commands, and other common frameworks.

Notifications You must be signed in to change notification settings

moztopia/lavackage

Repository files navigation

📦 Lavackage

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 → wipes laravel.log safely
  • --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

About

A Laravel 11+ Package used for helpers, commands, and other common frameworks.

Resources

Stars

Watchers

Forks

Packages

No packages published