承接 moztopia/lavackage 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

moztopia/lavackage

最新稳定版本:0.1.0

Composer 安装命令:

composer require moztopia/lavackage

包简介

A Laravel 12+ Package used for helpers, commands, and other common tools.

README 文档

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 → 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

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-15