承接 matthewkp/ez-clean-up-versions 相关项目开发

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

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

matthewkp/ez-clean-up-versions

Composer 安装命令:

composer require matthewkp/ez-clean-up-versions

包简介

This tools clean ups all versions from all content in eZ Platform

README 文档

README

This script will remove old versions of all contents for eZ Platform.

versions

  • Branch v1 & Tags 1.x : eZ Platform v1.x
  • Branch v2 & Tags 2.x : eZ Platform v2.x

Install Package

composer require matthewkp/ez-clean-up-versions

Register Bundle

// app/AppKernel.php

class AppKernel extends Kernel
{
    ...
    public function registerBundles()
    {
        ...
        $bundles = [
            ...
            new Matthewkp\EzCleanUpVersionsBundle\MatthewkpEzCleanUpVersionsBundle(),
            ...
        ];
        ...
    }
}

Arguments

  • Add -v to have the full information regarding content and version ids removals.
  • Add --keep to set the number of versions to keep
  • Add --locationId to set the root location id to start processing

Add in crontab

// /etc/cron.d/<your_cron_file> or /var/spool/cron/apache
0 0 * * * <user> cd <your_site_path> && php bin/console matthewkp:ez-clean-up-versions --env=<ENV> > 2>&1

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2016-11-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固