PHPackages                             apax/recipe\_apax\_decoupled - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. apax/recipe\_apax\_decoupled

ActiveDrupal-recipe[Utility &amp; Helpers](/categories/utility)

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.

v1.0.4(2mo ago)1109↓50%GPL-2.0-or-laterJavaScript

Since Jul 17Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/apaxsoftware/drupal-recipe-decoupled)[ Packagist](https://packagist.org/packages/apax/recipe_apax_decoupled)[ RSS](/packages/apax-recipe-apax-decoupled/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (10)Versions (9)Used By (0)

APAX Decoupled Drupal Recipe
============================

[](#apax-decoupled-drupal-recipe)

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](https://www.drupal.org/docs/extending-drupal/drupal-recipes) 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
-----

[](#usage)

```
composer require apax/recipe_apax_decoupled
drush recipe ./path/to/recipe_apax_decoupled
```

Local Development
-----------------

[](#local-development)

This project uses [Lando](https://lando.dev/) for local development. Starting Lando will build and install a containerized Drupal site with this recipe applied.

### Core Commands

[](#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 to `recipe.yml` or need a clean slate.
- **`lando export`**: Export configuration changes from the Drupal UI to the `config/` directory in your project.
- **`lando test`**: Run the automated Jest test suite located in the `test/` directory.
- **`lando reset-oauth`**: Generates OAuth clients and keys required for testing. This creates a `test/.env` file with credentials that the test suite uses.

### Testing

[](#testing)

The test suite uses Jest and is located in the `test/` directory. To run the tests:

1. Ensure the development environment is running (`lando start`).
2. Set up the OAuth clients for the test environment: `lando reset-oauth`
3. Run the tests: `lando test`

### OAuth Configuration

[](#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

[](#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`).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance85

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Total

5

Last Release

76d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1003070?v=4)[Chris Allen](/maintainers/chris-allen)[@chris-allen](https://github.com/chris-allen)

![](https://avatars.githubusercontent.com/u/27921423?v=4)[Josh Stewart](/maintainers/jmstewart00)[@JMStewart00](https://github.com/JMStewart00)

---

Top Contributors

[![JMStewart00](https://avatars.githubusercontent.com/u/27921423?v=4)](https://github.com/JMStewart00 "JMStewart00 (14 commits)")[![AaronFeledy](https://avatars.githubusercontent.com/u/1000487?v=4)](https://github.com/AaronFeledy "AaronFeledy (5 commits)")[![chris-allen](https://avatars.githubusercontent.com/u/1003070?v=4)](https://github.com/chris-allen "chris-allen (5 commits)")

---

Tags

recipedrupal recipedrupal decoupleddrupal decoupled recipe

### Embed Badge

![Health badge](/badges/apax-recipe-apax-decoupled/health.svg)

```
[![Health](https://phpackages.com/badges/apax-recipe-apax-decoupled/health.svg)](https://phpackages.com/packages/apax-recipe-apax-decoupled)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
