deviantintegral/drupal-update-client
Composer 安装命令:
composer require deviantintegral/drupal-update-client
包简介
A client for updates.drupal.org
README 文档
README
Bootstrapping a new Drupal environment for CI workflows is somewhat in flux
right now. Drush no longer supports downloading projects, instead recommending
a composer-based workflow. Drupal core does not have reusable code for
interacting with updates.drupal.org's API as it's all coupled to
update.module.
I wanted something to let me quickly download any release from drupal.org, as well as a real-world opportunity to learn what the state of XML deserializers in PHP was. If Drupal doesn't go to a full-composer workflow, perhaps this library will be useful to modernize the Update module.
Features
- PHARs available on the releases page
- A strongly-typed set of classes representing Projects, Releases, and Files.
- Serialization and deserialization of Projects from XML retreived from drupal.org.
- An example of using the JMS Serializer library.
- This originally used Symfony's Serializer component, but it lacks support for XML namespaces and generally seems to better support JSON.
- A console command to download and extract projects.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-02-18