goblindegook/syllables
Composer 安装命令:
composer require goblindegook/syllables
包简介
Syllables are helper classes and functions for WordPress development.
README 文档
README
Syllables are helper classes and functions for WordPress development.
Installation
To install this library as a dependency in your WordPress project using Composer, run the following command to get the latest version:
$ composer require goblindegook/syllables
By default, Composer will install Syllables as a plugin in the wp-content/plugins/syllables directory. You may then sign into the Dashboard, navigate to "Plugins" and activate "Syllables".
Even though Syllables exists as a plugin, it doesn't do anything by itself, but it does make its classes and functions available so you don't have to include it as a dependency in every single one of your plugins or themes.
Install as a must-use WordPress plugin
To install Syllables as a must-use plugin (which cannot be turned off by users), make sure your site's composer.json file contains an extra.installer-paths section and that goblindegook/syllables is set to install in the correct directory:
"extra": {
"installer-paths": {
"wp-content/mu-plugins/syllables/": ["goblindegook/syllables"]
}
}
Running Composer to install your dependencies will place Syllables into the wp-content/mu-plugins/syllables folder instead.
Now, because WordPress doesn't look for must-use plugins in subfolders, you will also need to copy the syllables-mu.php file provided into the parent directory.
$ cd /path/to/wp-content/mu-plugins/syllables
$ cp syllables-mu.php ..
Development builds
Syllables uses Gulp to automate builds through the following tasks:
gulp build: Installs Composer dependencies.gulp test: Runs automated PHPUnit tests.gulp watch: Observes source files for changes and runs unit tests automatically.gulp apigen: Builds documentation using ApiGen.
Acknowledgements
Syllables\Cache\Fragmentis adapted from Mark Jaquith's fragment caching class.
License
Syllables is licensed under the GPL, version 2.0 or any later version. See LICENSE.
goblindegook/syllables 适用场景与选型建议
goblindegook/syllables 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 26.69k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2014 年 11 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「library」 「toolkit」 「wordpress」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 goblindegook/syllables 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 goblindegook/syllables 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 goblindegook/syllables 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Inbox pattern process implementation for your Laravel Applications
Symfony2 Bundle that adds basic user account entity and city/state/country setup as well
Core library that defines common interfaces used by the rest of the intahwebz..
Amqp classes
Common helpers and classes for ICanBoogie
统计信息
- 总下载量: 26.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2014-11-29