apax/recipe_apax_decoupled
Composer 安装命令:
composer require apax/recipe_apax_decoupled
包简介
A Drupal 11 recipe for extending the apax/recipe_apax_base recipe with additional Drupal modules and configurations for a decoupled Drupal setup.
README 文档
README
A Drupal 11 recipe for extending the apax/recipe_apax_base recipe with additional Drupal modules and configurations for a decoupled Drupal setup.
This Drupal recipe is designed to:
- Install the APAX Base recipe (
apax/recipe_apax_base) - Install and configure GraphQL Compose for common entities.
- Install and configure Simple OAuth for authentication.
- Install and configure a decoupled preview iframe and inline content editing with Visual Editor.
Usage
composer require apax/recipe_apax_decoupled drush recipe ./path/to/recipe_apax_decoupled
Local Development
This project uses Lando for local development. Starting Lando will build and install a containerized Drupal site with this recipe applied.
Core Commands
lando start: Start the development environment.lando rebuild: Reinstall the Drupal site and reapply the recipe. Use this command when you make changes torecipe.ymlor need a clean slate.lando export: Export configuration changes from the Drupal UI to theconfig/directory in your project.lando test: Run the automated Jest test suite located in thetest/directory.lando reset-oauth: Generates OAuth clients and keys required for testing. This creates atest/.envfile with credentials that the test suite uses.
Testing
The test suite uses Jest and is located in the test/ directory. To run the tests:
- Ensure the development environment is running (
lando start). - Set up the OAuth clients for the test environment:
lando reset-oauth - Run the tests:
lando test
OAuth Configuration
The recipe automatically configures two OAuth clients with the client_credentials grant:
viewer: For general content access.previewer: For previewing unpublished content.
The lando reset-oauth command generates the necessary RSA keys (in the /keys directory) and configures the clients in Drupal for local testing.
AI Assisted Development
This project includes an AGENTS.md file that provides general guidelines and context for AI assistants such as Cursor, Claude Code, and Gemini. To use it with your preferred AI assisted development tool, simply symlink or copy the AGENTS.md file to the appropriate rules file name for your assistant (e.g., .cursorrules, CLAUDE.md, GEMINI.md).
apax/recipe_apax_decoupled 适用场景与选型建议
apax/recipe_apax_decoupled 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 109 次下载、GitHub Stars 达 2, 最近一次更新时间为 2025 年 06 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「recipe」 「drupal recipe」 「drupal decoupled」 「drupal decoupled recipe」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 apax/recipe_apax_decoupled 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 apax/recipe_apax_decoupled 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 apax/recipe_apax_decoupled 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Provides an add-on purchasable entity.
Drupal integration module for the Kalastatic prototyping and styleguide tool
Provides a base set of configuration and module dependencies for starting new Drupal projects.
A comprehensive recipe FieldType for Craft CMS that includes metric/imperial conversion, portion calculation, and JSON-LD microdata support
A Highly Opinionated Symfony3/4 Deployer Recipe
This module extends Drupal Migrate framework.
统计信息
- 总下载量: 109
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-06-18