Drupal is a registered trademark of Dries Buytaert
drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). trash 3.0.27 Minor update available for module trash (3.0.27). twig_tweak 4.0.0-alpha2 New alpha version released for module twig_tweak (4.0.0-alpha2). twig_tweak 4.0.0-alpha1 First alpha version released for module twig_tweak (4.0.0-alpha1). node_revision_delete 2.1.1 Minor update available for module node_revision_delete (2.1.1). commerce_paypal 2.1.2 Minor update available for module commerce_paypal (2.1.2). ckeditor5_premium_features 1.8.1 Minor update available for module ckeditor5_premium_features (1.8.1). ckeditor5_plugin_pack 1.5.2 Minor update available for module ckeditor5_plugin_pack (1.5.2). node_revision_delete 2.1.0 Minor update available for module node_revision_delete (2.1.0).

Content Packages provides a Git-friendly workflow for managing selected Drupal content as canonical package files with YAML front matter. It validates, imports, exports, and diffs package files against Drupal content entities so teams can review content changes in the same process as code and configuration.

Features

  • Validate content package files before import.
  • Import packages into Drupal content entities and upsert by UUID.
  • Export Drupal content entities back to canonical package files.
  • Diff package files against Drupal entity values to detect drift.
  • Support legacy node Markdown packages and schema v2 content entity packages.
  • Handle package-relative file/image assets, media references, Paragraphs/composite content, and explicit translations where supporting modules are installed.

Post-Installation

Enable the module, then use the Drush commands to validate, import, export, and diff package files. The default package type supports legacy node Markdown body packages. Generic schema v2 content entity packages can be used with the content_entity package type, and site-specific package type plugins can define bundle-specific mappings.

Additional Requirements

The module requires the CommonMark and HTML-to-Markdown PHP libraries through Composer. Optional integrations activate only when supporting modules such as Media, Entity Reference Revisions, and Paragraphs are installed.

No additional modules are required for the core workflow. Media and Paragraphs support is available when those modules are installed for the site.

Similar projects

Single Content Sync is a better fit for broad site-wide entity synchronization and UI-driven workflows. Default Content is a better fit for install-time content shipped with modules, recipes, distributions, or install profiles. Content Packages focuses on selected content that should live in Git as reviewable package files.

Supporting this Module

Use the Drupal.org issue queue for bug reports, support requests, and feature discussions.

Community Documentation

See the project README for package formats, commands, and plugin examples.

Activity

Total releases
1
First release
Apr 2026
Latest release
22 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Apr 24, 2026