globalxtreme/compress-file 问题修复 & 功能扩展

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

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

globalxtreme/compress-file

最新稳定版本:1.0.2

Composer 安装命令:

composer require globalxtreme/compress-file

包简介

GlobalXtreme compress file with go and php

README 文档

README

Version Total Downloads License

Install with composer

For install with Composer, simply require the latest version of this package.

composer require globalxtreme/compress-file

Server

If you install this package in server (ubuntu or centos), you must be add script in composer.json.

{
  "scripts": {
    "post-autoload-dump": [
      "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 
      "@php artisan package:discover --ansi",
      "sh vendor/globalxtreme/compress-file/src/go/install-moduls.sh"
    ]
  }
} 

You can manual run "sh vendor/globalxtreme/compress-file/src/go/install-moduls.sh" from command line if you don't want to add it in "composer.json"

sh vendor/globalxtreme/compress-file/src/go/install-moduls.sh

Local

If you install this package in local (mac or windows or etc), you can temporarily disable or remove "sh vendor/globalxtreme/compress-file/src/go/install-moduls.sh" from "composer.json" and run this script.

cd vendor/globalxtreme/compress-file/src/go

go build -o resize-image resizeImage.go
go build -o resize-video resizeVideo.go

Video Compress

For video compress, you must be install "ffmpeg" on your device (mac, windows, linux)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固