devamitbera/opensource-remove-paypal

Remove Paypal from magento Open Source

Maintainers

Package info

github.com/devamitbera/magento-open-source-remove-paypal

pkg:composer/devamitbera/opensource-remove-paypal

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-04-05 06:31 UTC

This package is not auto-updated.

Last update: 2026-04-05 16:10:36 UTC


README

📦 Package Name

devamitbera/opensource-remove-paypal

🧩 Description

This package is designed to remove PayPal / Braintree modules from Magento Open Source installations by leveraging Composer's replace functionality.

Instead of installing PayPal-related modules, this package declares them as replaced, preventing Composer from downloading and installing them. This helps create a lean Magento setup without unnecessary payment integrations.

🚀 Features

  • Removes all PayPal / Braintree related modules
  • Reduces Magento installation size
  • Improves dependency control
  • Ideal for custom payment gateway implementations
  • No core file modification required

📋 Replaced Modules

  • paypal/module-braintree\
  • paypal/module-braintree-core\
  • paypal/module-braintree-customer-balance\
  • paypal/module-braintree-edge\
  • paypal/module-braintree-gift-card\
  • paypal/module-braintree-gift-card-account\
  • paypal/module-braintree-gift-wrapping\
  • paypal/module-braintree-graph-ql\
  • paypal/module-braintree-reward

⚙️ Requirements

  • Magento Open Source: 2.4.8 or higher (within 2.x series)
"require": {
  "magento/product-community-edition": "^2.4.8"
}

📥 Installation

composer require devamitbera/opensource-remove-paypal
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush

⚠️ Important Notes

  • This package completely removes PayPal/Braintree modules at dependency level.
  • Ensure your store does not rely on PayPal or Braintree.

👨‍💻 Author

Built by Amit Bera, Magento StackExchange Moderator & Adobe Commerce(magento) Certified Developer & Consultant.

📞 Contact

📄 License

OSL-3.0