Download the PHP package survos/marketplace-bundle without Composer

On this page you can find all versions of the php package survos/marketplace-bundle. 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 marketplace-bundle

survos/marketplace-bundle

Publish listings to eBay and Mercado Libre through one provider-neutral interface.

The clients are optional — install only the marketplace you sell on:

Configuration

What the adapters normalize

The two providers encode the same ideas incompatibly. This is the whole job:

eBay Mercado Libre
publish 3 calls: inventory item → offer → publish 1 call: POST /items
prerequisites merchant location + 3 business policies none
title cap 80 60
requiredness aspectConstraint.aspectRequired tags.required
allowed values aspectValues[].localizedValue values[] with ids
cardinality itemToAspectCardinality: MULTI tags.multivalued
unsettable attributes read_only / hidden (37 of 56 on MLM429001)
confidence relevancy, "85%" not reported
conditions 8 values 3
sandbox yes none

Both collapse onto AttributeSchema, which is what makes the category → required-attributes → generate → validate loop portable.

Four things worth knowing

The tighter title cap wins. A title generated once and offered to both providers must fit 60, not 80. Read limits() before generating, not after — truncating an 80-character title to 60 ends it mid-word.

eBay's externalId is the offer id, not the listing id. It is the handle every eBay write accepts, including withdraw(). The public listing id is in raw and in url. On Mercado Libre both are the same item id.

Mercado Libre attributes get upgraded to value IDs. ListingDraft carries plain strings because eBay has no equivalent, so MercadoLibreAdapter resolves names back to ids from the category schema at publish time. A free-text name on a closed-set attribute publishes and then fails catalog matching, which is worse than a rejection.

sandbox: true on a Mercado Libre connection throws. It has no sandbox, and silently publishing to production because someone asked for one that does not exist is the worst available outcome. Use test users instead — see survos/mercadolibre-php.

Condition mapping is lossy in one direction

eBay has eight conditions, Mercado Libre three. UsedVeryGood and ForPartsOrNotWorking both become used; the distinction has to survive in the description. The neutral enum keeps eBay's granularity because coarsening is lossless in the direction adapters actually need.

Tests

tests/bootstrap.php autoloads the sibling packages from the monorepo, since they are not on Packagist yet. Delete it once they are.


All versions of marketplace-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
survos/marketplace-contracts Version ^2.27
survos/kit-bundle Version ^2.5
symfony/config Version ^8.1
symfony/console Version ^8.1
symfony/dependency-injection Version ^8.1
symfony/framework-bundle Version ^8.1
symfony/http-client-contracts Version ^3.7
doctrine/orm Version ^3.3
doctrine/doctrine-bundle Version ^3.2
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 survos/marketplace-bundle contains the following files

Loading the files please wait ...