devamitbera / opensource-remove-paypal
Remove Paypal from magento Open Source
Package info
github.com/devamitbera/magento-open-source-remove-paypal
pkg:composer/devamitbera/opensource-remove-paypal
1.0.0
2026-04-05 06:31 UTC
Requires
- magento/product-community-edition: ^2.4.8
Replaces
- 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: *
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
- Website: https://www.amitbera.com/contact/\
- Email: dev.amitbera@gmail.com\
- Mobile: +91 9046952192\
- WhatApps: +91 9046952192\
- X(Aks twiiter): https://x.com/dev_amitbera\
- Facebook: https://www.facebook.com/amitberabca\
- LinkedIn: https://www.linkedin.com/in/devamitbera90/\
- YouTube: https://www.youtube.com/@dev.amitbera
📄 License
OSL-3.0