drupal/devel
Composer 安装命令:
composer require drupal/devel
包简介
Various blocks, pages, and functions for developers.
README 文档
README
[[TOC]]
Updates
- July 2025: Use Kint module if you prefer Kint to the built-in Symfony Var-Dumper. Kint support has moved to that module.
Introduction
Devel module contains helper functions and pages for Drupal developers and inquisitive admins:
- A block and toolbar for quickly accessing devel pages. Install drupal/navigation_extra_tools for core navigation module integration.
- A local task tab added to entities to view their properties
- Urls created to view the internal entity properties even when there is no menu tab, for example /devel/paragraph/n
- Debug functions for inspecting a variable such as
dpm($variable) - Debug a SQL query
dpq($queryor print a backtraceddebug_backtrace() - A block for masquerading as other users (useful for testing)
- A mail-system class which redirects outbound email to files
- Drush commands such as
fn-hook,fn-event,token,uuid, anddevel-services - Devel Generate. Bulk creates nodes, users, comment, taxonomy, media, menus, block content for development. Has Drush integration.
This module is safe to use on a production site. Just be sure to only grant access development information permission to developers.
Collaboration
- https://gitlab.com/drupalspoons/devel is our workplace for code, MRs, and CI.
- Create a personal fork in order to make an MR.
- We plan to move bck to drupal.org once it uses Gitlab for issues.
- We auto-push back to git.drupalcode.org in order to keep Security Team coverage and packages.drupal.org integration.
- Chat with us at #devel on Drupal Slack.
Local Development
DDEV is configured with https://github.com/ddev/ddev-drupal-contrib for for easy local development, test running, etc.
Version Compatibility
| Devel version | Drupal core | PHP | Drush |
|---|---|---|---|
| 5.5+ | 10.4+ | 8.3+ | 13.7+ |
| 5.2-5.4 | 10+ | 8.1+ | 12+ |
| 5.0, 5.1 | 9,10 | 8.1+ | 11+ |
| 4.x | 8.9+,9 | 7.2+ | 9+ |
| 8.x-2.x | 8.x | 7.0+ | 8+ |
Maintainers
See https://gitlab.com/groups/drupaladmins/devel/-/group_members.
drupal/devel 适用场景与选型建议
drupal/devel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.99M 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 04 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 drupal/devel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 drupal/devel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.99M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 14
- 依赖项目数: 280
- 推荐数: 2
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2022-04-21