Download the PHP package apax/recipe_apax_decoupled without Composer
On this page you can find all versions of the php package apax/recipe_apax_decoupled. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download apax/recipe_apax_decoupled
More information about apax/recipe_apax_decoupled
Files in apax/recipe_apax_decoupled
Package recipe_apax_decoupled
Short Description A Drupal 11 recipe for extending the apax/recipe_apax_base recipe with additional Drupal modules and configurations for a decoupled Drupal setup.
License GPL-2.0-or-later
Informations about the package recipe_apax_decoupled
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 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
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).
All versions of recipe_apax_decoupled with dependencies
drupal/decoupled_preview_iframe Version ^1.0
drupal/graphql_compose Version ^2.2
drupal/graphql_compose_fragments Version ^1.0@beta
drupal/graphql_compose_preview Version ^1.0
drupal/graphql_compose_webform Version ^1.2@dev
drupal/simple_oauth Version ^6.0
drupal/site_settings Version ^2.0
drupal/view_unpublished Version ^1.2
drupal/visual_editor Version ^1.0