Download the PHP package monei/sylius-monei-plugin without Composer

On this page you can find all versions of the php package monei/sylius-monei-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sylius-monei-plugin

MONEI

MONEI Payment Plugin for Sylius

Accept payments with MONEI in your Sylius store — Cards, Bizum, Apple Pay, Google Pay.
MONEI is a licensed Payment Institution (Banco de España #6911).

Build Status Latest Stable Version License Sylius Version PHP Version


Features

Requirements

Dependency Version
PHP 8.2+
Sylius 2.1+
Symfony 6.4 or 7.x

Installation

1. Install via Composer

2. Register the bundle

If your Sylius project doesn't use Symfony Flex, add the bundle manually:

3. Import the plugin routes (optional)

Payum handles the webhook notify route automatically — no additional route config is needed for basic operation.

4. Configure MONEI in the Sylius Admin

  1. Go to Configuration → Payment methods
  2. Click Create and choose MONEI as the gateway
  3. Fill in your API Key and Account ID (find these at dashboard.monei.com)
  4. Select your preferred Integration Type: Redirect or Embedded Component
  5. Toggle Sandbox mode for testing
  6. Assign the payment method to your desired channels

That's it — your store is now accepting payments via MONEI.

Configuration Reference

Field Description
api_key Your MONEI API key (pk_test_... for sandbox, pk_live_... for production)
account_id Your MONEI account identifier
integration_type redirect (hosted page) or component (embedded MONEI.js widget)
sandbox Enable test mode — no real charges are processed

How It Works

Redirect Flow (Hosted Payment Page)

  1. Customer clicks "Pay" → Sylius creates a MONEI payment via the API
  2. Customer is redirected to MONEI's PCI-compliant hosted page
  3. Customer completes payment (card, Bizum, Apple Pay, Google Pay)
  4. MONEI redirects back to your store's completion URL
  5. MONEI sends a webhook to confirm the final status asynchronously

Component Flow (Embedded MONEI.js)

  1. Customer clicks "Pay" → Sylius creates a MONEI payment via the API
  2. An in-page payment form is rendered using MONEI.js with card input, Bizum, Apple Pay, and Google Pay buttons
  3. Customer completes payment without leaving the page
  4. On success, the customer is redirected to the order confirmation page
  5. MONEI sends a webhook to confirm the final status asynchronously

Webhooks

MONEI uses webhooks to notify your store of payment status changes. The plugin automatically:

  1. Verifies the MONEI-Signature header using the official SDK's signature verification (timestamp-based HMAC-SHA256)
  2. Re-fetches the payment from MONEI's API to prevent spoofing
  3. Updates the Sylius payment status accordingly

Ensure your server is accessible from the internet so MONEI can reach the callback URL.

Testing

Use MONEI sandbox credentials (pk_test_...) and MONEI test cards to test the full flow without real charges.

Architecture

Contributing

Please see CONTRIBUTING.md for details.

License

This plugin is open-sourced software licensed under the MIT license.

Links


All versions of sylius-monei-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
monei/monei-php-sdk Version ^2.10
payum/core Version ^1.7
sylius/sylius Version ^2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package monei/sylius-monei-plugin contains the following files

Loading the files please wait ...