drupal-composer/drupal-security-advisories
Composer 安装命令:
composer require drupal-composer/drupal-security-advisories
包简介
无描述信息
README 文档
README
This package ensures that your application doesn't have installed dependencies with known security vulnerabilities. Inspired by Roave Security Advisories.
Deprecated
The project has been discontinued. The functions have been replaced by ‘composer audit’. Read the related drupal.org issue for more information.
Installation
Drupal 9+ (composer.json)
~$ composer require drupal-composer/drupal-security-advisories:9.x-dev Drupal 7 (composer.json)
~$ composer require drupal-composer/drupal-security-advisories:7.x-dev Usage
This package does not provide any API or usable classes: its only purpose is to prevent installation of software with known and documented security issues.
Stability
This package can only be required in its dev-* version: there will never be stable/tagged versions because of the nature of the problem being targeted. Security issues are in fact a moving target, and locking your project to a specific tagged version of the package would not make any sense.
This package is therefore only suited for installation in the root of your deployable project.
Handling Failures
In the rare event that a security release does not affect your project, and upgrading to latest release is undesireable, you can suppress a build failure by specifying a particular SHA project in composer.json. For example, assume that drupal/dynamic_entity_reference 8.1.0-beta2 just came out as a Security release. In order to keep using 8.1.0-beta1, you can specify the following in composer.json:
"require": { "drupal/dynamic_entity_reference": "dev-8.x-1.x#8713890" }, Note: that this approach opts your package out of any future security releases. You can check for future security releases with drush pm:security (drush9) or drush pm-updatestatus (drush8).
Sources
This packages gets information form Drupal.org APIs.
Build command: ./build/build.sh
drupal-composer/drupal-security-advisories 适用场景与选型建议
drupal-composer/drupal-security-advisories 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.23M 次下载、GitHub Stars 达 51, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 drupal-composer/drupal-security-advisories 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 drupal-composer/drupal-security-advisories 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2.23M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 53
- 点击次数: 18
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-01-04