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)! linkit 7.0.14 Minor update available for module linkit (7.0.14). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). 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). symfony_mailer 2.0.0 Major update available for module symfony_mailer (2.0.0). editoria11y 3.0.1 Minor update available for module editoria11y (3.0.1). geofield_map 11.1.9 Minor update available for module geofield_map (11.1.9). domain 3.0.0 Major update available for module domain (3.0.0). ai 1.2.15 Minor update available for module ai (1.2.15). ai 1.3.4 Minor update available for module ai (1.3.4).

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
1 month ago
Release cadence
0 days
Stability
50% stable

Releases

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