定制 ozdemir/clear-logs-command 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ozdemir/clear-logs-command

最新稳定版本:1.0.2

Composer 安装命令:

composer require ozdemir/clear-logs-command

包简介

README 文档

README

A Laravel Artisan command to clear application logs with additional options. The logs cleared by this command are located in the logs directory within the Laravel storage folder. It is a standard practice in Laravel to store logs in this location.

Installation

Install the package via Composer:

composer require ozdemir/clear-logs-command

The package will be automatically registered by Laravel.

Usage

Clear Logs

To clear all logs in the default logs directory, run the following command:

php artisan logs:clear

Options

--dry-run: Simulate the command without clearing any files.

php artisan logs:clear --dry-run

License

This package is open-sourced software licensed under the MIT license.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-09