rozbehsharahi/meedia 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

rozbehsharahi/meedia

Composer 安装命令:

composer require rozbehsharahi/meedia

包简介

Compressed synchronisation between live and development environments.

README 文档

README

A tool for creating dummy media files based on live environments.

Build Status

Introduction

Meedia will provide dummy media files for dev-environments by connecting to a live setup via SSH and creating a configuration tree to generate example dummy images in the right proportions.

Additional dummy generators can be added by configuration.

The tool contains an meedia:install and meedia:update command, which will work fine for integrating it into review environments and continues integration systems.

This project is still in progress and experimental. In the future following features shall be added:

  • Add default video dummy generator
  • Implement fast mode for syncing only files that have changed.

Installation

composer require rozbehsharahi/meedia --dev

Commands

Initialize your ssh connection to live

php vendor/rozbehsharahi/meedia/meedia.php meedia:init

Test configured connection

php vendor/rozbehsharahi/meedia/meedia.php meedia:test-connection

Install media files either by lock or sync.

php vendor/rozbehsharahi/meedia/meedia.php meedia:install

Update media files by syncing from live.

php vendor/rozbehsharahi/meedia/meedia.php meedia:update

Fetch image sizes with ImageMagick/GraphicsMagick

On default meedia fetches image sizes through ImageTreeBuilder by ImageMagick's identify command. In case the live servers has GraphicsMagick installed, you can set useGraphicsMagick property on your configuration to use gm identify instead.

{
  // ...
  "useGraphicsMagick": true
  // ...
}

Requirements

  • PHP 7.1 (cli) on local environment
  • SSH2 php extension
  • ImageMagick on live server
  • Linux developing system (Windows and MAC not tested yet)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固