Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Entity Usage 5.0.0 Major update available for module entity_usage (5.0.0). Release: Entity Usage 8.x-2.3 Minor update available for module entity_usage (8.x-2.3). Release: Excel Serialization 2.2.0 Minor update available for module xls_serialization (2.2.0). Release: GraphQL Compose 2.4.2 Minor update available for module graphql_compose (2.4.2). Release: TMGMT DeepL Integration 2.4.2 Minor update available for module tmgmt_deepl (2.4.2). Release: Freja eID for Drupal 1.0.0 Initial release available for module freja_eid (1.0.0)! Release: Charts Plotly 1.0.5 Minor update available for module charts_plotly (1.0.5). Release: Kamihaya CMS 2.0.0 Major update available for distribution kamihaya_cms (2.0.0). Module Revived: Two-factor Authentication (TFA) 8.x-1.13 Module tfa updated after 10 months of inactivity (8.x-1.13). Usage Milestone: Easy Email Module easy_email crossed 10,000 active installs.

Membership Manager

2 sites No security coverage Drupal 10–11
View on drupal.org

Membership Manager provides a flexible system for managing user memberships and subscriptions within Drupal. It handles the membership lifecycle, access control, and feature entitlements, allowing for integration with external payment systems rather than managing payments directly.

Membership Manager provides a flexible system for managing user memberships
and subscriptions in Drupal. The module focuses on membership lifecycle,
access control, and feature entitlements, while deliberately staying
payment-agnostic. It works equally well for free and paid memberships,
SaaS platforms, and content-driven websites. Payments, billing, and
invoicing are left to external systems such as Drupal Commerce, Stripe,
or custom integrations.

Features

  • Membership plans (free, paid, trial) as config entities
  • User memberships as content entities with full lifecycle: active, pending, trial, expired, canceled
  • Time-based expiration with configurable grace periods
  • Cron-based expiry processing via Drupal Queue API
  • Route-level access control via _membership_active requirement
  • Feature/entitlement checks per plan
  • Drupal role synchronisation on activation and expiry
  • Symfony lifecycle events: activated, expired, canceled, renewed
  • Payment-agnostic — no hard dependency on Commerce or any billing system
  • Drupal 10 and 11 compatible

Architecture

  • Business logic in MembershipManagerService
  • Thin controllers — lifecycle operations via POST routes with CSRF protection
  • Access via MembershipAccessChecker and MembershipAccessControlHandler
  • Custom storage class with domain-specific query helpers

Access control

Protect any route by adding _membership_active: 'TRUE' to its
requirements. Scope by feature key with
_membership_active: 'feature:api_access'.
Access decisions are cacheable and respect Drupal cache contexts.

Integration

Designed to integrate with Drupal Commerce, Stripe, PayPal, ECA, Rules,
and custom SaaS backends. Call MembershipManagerService::assign()
after any successful payment event.

Use cases

  • Paid or free content access
  • SaaS account plans
  • Membership portals
  • Feature-based subscriptions

Requirements

  • Drupal 10.2+ or Drupal 11
  • PHP 8.2+
  • User module (core)

Installation

  1. composer require drupal/membership_manager
  2. drush en membership_manager
  3. Visit /admin/membership to create your first plan.

Roadmap

  • Views integration for membership lists
  • Drupal Commerce submodule
  • Drush commands for bulk operations
  • REST / JSON:API support

Maintainers

Dmytro Porokhnya (darkdim)

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2026
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Mar 19, 2026
1.0.x-dev Dev 10–11 Mar 19, 2026