📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Stale v1.7.4

Subscribepro Magento2 Ext

subscribepro/subscribepro-magento2-ext

Integrates Magento 2 with Subscribe Pro for subscription management. Enables recurring payments and subscription options for products.

153,805
Downloads
Below average
23
GitHub Stars
Below average
1y ago
Last Release
54
Open Issues
Build Issues
2/3 checks passed

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
2 errors , 1774 warnings
PHPStan Failed

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.7.4 on Magento 2.4.8-p3
Dec 27, 2025

Looking for Contributors

Dependency injection compilation fails. Your contribution could help the entire Magento community!

Contribute

Share This Module's Status

Subscribepro Magento2 Ext Magento compatibility status badge

README

Loaded from GitHub

Subscribe Pro Magento 2 Integration Extension

Latest Stable Version Total Downloads Latest Unstable Version License

This is the official Magento 2 extension for Subscribe Pro.

To learn more about Subscribe Pro you can visit us at https://www.subscribepro.com/.

Getting Started

Please visit our documentation website and start with our step by step integration guide for Magento 2: https://docs.subscribepro.com/display/spd/Install+Subscribe+Pro+for+Magento+2

Installation via Composer

You can install our Subscribe Pro Magento 2 extension via Composer. Please run these commands at the root of your Magento install:

composer require subscribepro/subscribepro-magento2-ext
php bin/magento module:enable Swarming_SubscribePro
php bin/magento setup:upgrade

Coding Standards

Subscribe Pro team follows the standards described in https://devdocs.magento.com

  • https://devdocs.magento.com/guides/v2.4/coding-standards/bk-coding-standards.html - this document's purpose is to explain how the code should be formatted and the main idea for PHP developers is "use codesniffer". Helpful and concise instructions on how to set it up are provided. The rules imposed by codesniffer are based on PSR12 standard (see https://www.php-fig.org/psr/psr-1/ https://www.php-fig.org/psr/psr-2/ https://www.php-fig.org/psr/psr-12/) and are arguably too numerous for humans to remember and consistently apply, so official Magento team does not provide a human-readable description anyway
  • https://devdocs.magento.com/guides/v2.4/coding-standards/technical-guidelines.html - this document describes semantic requirements and best coding practices
  • https://devdocs.magento.com/guides/v2.4/coding-standards/code-standard-javascript.html - JS coding standard
  • https://devdocs.magento.com/guides/v2.4/coding-standards/code-standard-less.html - less coding standard
  • https://devdocs.magento.com/guides/v2.4/coding-standards/code-standard-html.html - HTML coding standard

Subscribe Pro's internal coding standards

  • Use fully-qualified class names in PHPDoc, e.g.,
    /**
     * @param \Magento\Framework\App\RequestInterface $request
     * @return bool
     */
    
    This is expected to make the code more clear when skimming through, leaves less ambiguity when dealing with classes that are named similarly but belong to different namespaces, in IDE there is no need to ctrl+click twice to actually see the class if an alias is used. This also eradicates the situations when an unnecessary use operator is included only for the sake of writing a phpdoc/comment.
  • No space after type cast, e.g.,
    (int)$variable
    
    None of the existing PHP standards stipulates this at the moment of writing, so "no space" was elected.

To confirm project is compliant with standards PHP_CodeSniffer (phpcs)

Run PHP_CodeSniffer:

vendor/bin/phpcs -s \
  --standard=Magento2 app/code/Swarming/SubscribePro \
  --extensions=phtml \
  --error-severity=10 \
  --ignore-annotations \
  --exclude=Magento2.Annotation.MethodAnnotationStructure \
  app/code/Swarming/SubscribePro

To automatically fix certain issues with PHP Code Beautifier and Fixer:

bin/phpcbf --standard=Magento2 \
  --extensions=phtml \
  --error-severity=10 \
  --ignore-annotations \
  --exclude=Magento2.Annotation.MethodAnnotationStructure \
  app/code/Swarming/SubscribePro

Run phpstan

bin/analyse app/code/Swarming/SubscribePro --level=1 -c app/code/Swarming/SubscribePro/phpstan.neon

Run PHP Coding Standards Fixer (php-cs-fixer)

php-cs-fixer fix src/app/code/Swarming/SubscribePro

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.