Download the PHP package sherlockode/sylius-mondial-relay-plugin without Composer

On this page you can find all versions of the php package sherlockode/sylius-mondial-relay-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-mondial-relay-plugin

Sherlockode SyliusMondialRelayPlugin


[ Support](https://www.sherlockode.fr/contactez-nous/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mondial_relay)

Table of Content


Overview


This plugin enables Mondial Relay shipping method on your Sylius website.

image


Installation


Install the plugin with composer:

Complete the configuration:

Import routing:

In your Shipment entity, import the PickupPointTrait:

Don't forget to make a migration or a d:s:u after that

Update your webpack configuration to add entries both in shop config and admin config:


Usage

Shipping method configuration

Now you only have to create a new shipping method. For the Shipping charges option, select "Mondial Relay"

image

Google API integration

In order to show a Google map to select pickup points, you need to enable Google Map API for your token. You can do it in the Google Cloud Console. Then, update the plugin configuration:

Additionally, you may want to enable Google Place API to show places suggestions when searching pickup points.

Open Street Map integration

This plugin also supports Open Street Map. To enable it, you just have to update the map_provider setting in your plugin configuration:

Print expedition tickets

When an order has been placed with Mondial Relay, you can print the expedition ticket from the Sylius admin. Go on the order details page and use the "Print ticket" button.

image

This feature can be disabled from the bundle configuration:


Demo Sylius Shop


We created a demo app with some useful use-cases of plugins! Visit sylius-demo.sherlockode.fr to take a look at it. The admin can be accessed under sylius-demo.sherlockode.fr/admin/login link. Plugins that we have used in the demo:

Plugin name GitHub Sylius' Store
Advance Content Bundle (ACB) https://github.com/sherlockode/SyliusAdvancedContentPlugin -
Mondial Relay https://github.com/sherlockode/SyliusMondialRelayPlugin -
Checkout Plugin https://github.com/sherlockode/SyliusCheckoutPlugin -
FAQ https://github.com/sherlockode/SyliusFAQPlugin -

Additional resources for developers


To learn more about our contribution workflow and more, we encourage you to use the following resources:

License


This plugin's source code is completely free and released under the terms of the MIT license.

Contact


If you want to contact us, the best way is to fill the form on our website or send us an e-mail to [email protected] with your question(s). We guarantee that we answer as soon as we can!


All versions of sylius-mondial-relay-plugin with dependencies

PHP Build Version
Package Version
Requires ext-curl Version *
ext-soap Version *
php Version ^8.0
sylius/sylius Version ~1.11.0 || ~1.12.0 || ~1.13.0
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 sherlockode/sylius-mondial-relay-plugin contains the following files

Loading the files please wait ....