tomjn/composerpress
Composer 安装命令:
composer require tomjn/composerpress
包简介
Takes stock of a local install and generates a composer.json
README 文档
README
Retroactively attempts to create a composer.json for a WordPress site. On activation, a composer.json menu appears in the admin area under the Tools menu. This page shows what composerpress thinks a composer.json that will generate a website close or identical to the site the plugin is installed on might look like.
Includes support for detecting/reverse engineering composer packages via:
- packagist
- wpackagist*
- private mercurial repositories
- private git repositories
- private svn repositories
- non-composer plugins residing in git/svn/mercurial repositories
Installation Notes
Install as a regular plugin and then run composer install on the wp-content/plugins/composerpress plugin folder to install dependencies.
For instructions on installing composer: see here for *nix and here for Windows
TODOs:
Currently ComposerPress does not perform any checking with wpackagist #2 (or similaries), leaving open these problems:
- when a TextDomain doesn't match a Plugins Name ?
- when a plugin doesn't match its Folder Name ?
- when a Plugin is Custom to a site (ie doesn't exist in the wp.org repo)?
Keep in mind
-
At present, if composerpress can not find the source of a plugin, the choice will fall back on the default "composerpress" (to help you recognize them and act accordingly)
-
If you encounter a false positive try to contact plugin's author and ask them to insert, at least a
Plugin URI:in the header of the plugin; for example: these two plugins could collide if a URI plugin was not specified:
Plugin URI: http://wordpress.org/extend/plugins/wp-less/that will become something likewpackagist-plugin/wp-lessPlugin URI: https://github.com/sanchothefat/wp-less/that will become something likesanchothefat/wp-less
- You can always give an help and contribute... 😄
Author articles
tomjn/composerpress 适用场景与选型建议
tomjn/composerpress 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 87, 最近一次更新时间为 2023 年 05 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 tomjn/composerpress 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tomjn/composerpress 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 87
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2023-05-03