定制 vizrex/laravel-cleaner 二次开发

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

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

vizrex/laravel-cleaner

Composer 安装命令:

composer require vizrex/laravel-cleaner

包简介

This a utility package to clean-up temporary files of Laravel applications.

README 文档

README

READ THIS FIRST

It is highly recommended for all contributors to update this file whenever there's a major update in source code. Use this tool for easy editing or visit this page for comprehensive guide on markdown syntax.

Introduction

This package consists of following three commands:

app:cleanup

This utility calls one or more of the following commands, depending on the given parameters:

  • auth:clear-resets
  • cache:clear
  • config:clear
  • debugbar:clear
  • route:clear
  • view:clear
  • session:clear
  • log:clear

It will call the commands if they are registered. All commands except last two are built in to Laravel or some other packages. Continue below to study about last two commands that are exposed by this package.

Signature

app:cleanup {--all} {--auth} {--cache} {--config} {--debugbar} {--route} {--view} {--session} {--log}

Usage Examples

php artisan app:clean
php artisan app:clean --view --cache
php artisan app:clean --all

session:clear

This command is exposed by this package. It clears all the files from storage/framework/sessions folder.

Signature

session:clear

log:clear

This command is also exposed by this package. It deletes all laravel*.log files from storage/logs folder.

Signature

log:clear

Usage Examples

  • php artisan env:switch dev

  • php artisan env:switch prod --force

To-dos

Following are the approved items:

  • session:clear command deletes all files from sessions folder. However if session driver is different than file than it won't work. It needs to work with other drivers as well, specially with redis driver.

Wishlist

Add the suggestions in this wishlist. Only approved wishlist items can be moved to To-dos list:

  • Item-1

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-01-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固