Drupal is a registered trademark of Dries Buytaert
Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). oEmbed Providers 3.0.0 Major update available for module oembed_providers (3.0.0). Emulsify Tools 2.2.0 Minor update available for module emulsify_tools (2.2.0). amazee.ai Private AI Provider 1.3.4 Minor update available for module ai_provider_amazeeio (1.3.4). highlight.js Input Filter 2.0.0 Major update available for module highlightjs_input_filter (2.0.0). Webform QR Code Element 1.4.0 Minor update available for module webform_qr_code_element (1.4.0). Comments Order 4.0.0 Major update available for module comments_order (4.0.0). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). CRM - Contact Relationship Management 1.0.0-beta11 New beta version released for module crm (1.0.0-beta11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Membership Manager

2 sites No security coverage
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)

Activity

Total releases
2
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

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