承接 metabolism/package-actions 相关项目开发

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

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

metabolism/package-actions

最新稳定版本:1.2.6

Composer 安装命令:

composer require metabolism/package-actions

包简介

Allow file and folder actions upon package installation or update

README 文档

README

add copy/create/remove/rename/symlink per package actions

available for both post-package-install and post-package-update

Installation

composer require metabolism/package-actions 

Example

"extra": { "post-package-install": { "create": { "vendor/package-name": { "public/uploads": 777, "public/download": 655 }, "copy": { "vendor/package-name": { "folder/file.php": "public/myfile.php", } }, "symlink": { "vendor/package-name": { "folder/file.php": "public/myfile.php", } } "rename": { "vendor/package-name": { "public/myfile.php": "public/file.php", } } "remove": { "vendor/package-name": ["public/myfile.php"] } } } } 

Create

 destination : permissions 

destination is relative to the composer.json file

permissions use umask, only 3 last digits

Copy / Symlink

 source : destination 

source is relative to the package folder

destination is relative to the composer.json file

Rename

 source : destination 

source and destination are relative to the composer.json file

Remove

 [destination] 

destination is relative to the composer.json file

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固