承接 omaralalwi/laravel-trash-cleaner 相关项目开发

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

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

omaralalwi/laravel-trash-cleaner

最新稳定版本:1.0.4

Composer 安装命令:

composer require omaralalwi/laravel-trash-cleaner

包简介

clean logs and debug files (clockwork , laravel telescope and more)

README 文档

README

Laravel Trash Cleaner

Laravel Trash Cleaner is a lightweight and powerful utility package that helps you keep your Laravel application clean and performant by:

  • ???? Deleting debug and log files (Clockwork, Debugbar).
  • ⚡ Clearing compiled view caches and frontend build directories.
  • ????️ Optionally rebuilding frontend assets using tools like npm, yarn, or pnpm.

Trash Cleaner Screenshot

Trash Assets Cleaner Screenshot

???? Installation

Install the package via Composer:

composer require omaralalwi/laravel-trash-cleaner

???? Publish Configuration

Optionally, publish the configuration file to customize paths and build settings:

php artisan vendor:publish --tag=laravel-trash-cleaner

???? Usage

???? Clean Debug Files

Cleans out storage/debugbar and storage/clockwork folders with a progress bar:

php artisan trash:clean

???? Clean Asset Folders

Removes frontend-related build caches and compiled view files based on your config:

php artisan trash:clean-assets

???? Clean + Rebuild Frontend (Optional)

Use the --build flag to also run your frontend build steps (npm install && npm run build or equivalent):

php artisan trash:clean-assets --build

This is ideal for resetting the build process after switching branches, clearing corrupted caches, or deploying updates.

customize Assets paths & commnds

Note: You can fully customize the asset cleanup paths and build commands in the configuration file. For example, if you're using pnpm instead of the default npm, make sure to update the config key to 'package_manager' => 'pnpm'.

⏰ Scheduling Automatic Cleanup

To automate cleanup using Laravel's scheduler:

  1. Enable it in your config:
'schedule' => true, 'frequency' => 'daily',
  1. Ensure Laravel's scheduler is running via cron:
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

???? Contributing

Contributions are welcome! Please see CONTRIBUTING for details.

????️ Security

If you discover any security vulnerabilities, please contact: omaralwi2010@gmail.com

???? License

Licensed under the MIT License.

???? Helpful Open Source Packages

  • lexi translate Lexi Translate simplify managing translations for multilingual Eloquent models with power of morph relationships and caching .

  • laravel Taxify Gpdf Open Source HTML to PDF converter for PHP & Laravel Applications, supports Arabic content out-of-the-box and other languages..

  • laravel Taxify laravel Taxify Laravel Taxify provides a set of helper functions and classes to simplify tax (VAT) calculations within Laravel applications.

  • laravel Deployer laravel Deployer Streamlined Deployment for Laravel and Node.js apps, with Zero-Downtime and various environments and branches.

  • laravel Trash Cleaner laravel Time Craft simple trait and helper functions that allow you, Effortlessly manage date and time queries in Laravel apps.

  • Laravel Startkit Laravel Startkit Laravel Admin Dashboard, Admin Template with Frontend Template, for scalable Laravel projects.

omaralalwi/laravel-trash-cleaner 适用场景与选型建议

omaralalwi/laravel-trash-cleaner 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.35k 次下载、GitHub Stars 达 21, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「laravel」 「progress bar」 「debugbar」 「scheduler」 「Clockwork」 「laravel package」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 omaralalwi/laravel-trash-cleaner 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 omaralalwi/laravel-trash-cleaner 我们能提供哪些服务?
定制开发 / 二次开发

基于 omaralalwi/laravel-trash-cleaner 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 21
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04