Download the PHP package youwe/pimcore-object-bridge without Composer

On this page you can find all versions of the php package youwe/pimcore-object-bridge. 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 pimcore-object-bridge

Abandoned

Use advanced many to one object relation instead.

Object bridge field

Allows editing an object inline that doesn't link directly many-to-many like Example: MainObject -> BridgeObject -> SourceObject allows to edit inline BridgeObject after linking a source object to it Cart -> ProductItem -> Product

How to install

  1. Run composer require youwe/pimcore-object-bridge to receive the bundle
  2. Enable the bundle bin/console pimcore:bundle:enable ObjectBridgeBundle
  3. Then the field objectBridge should be available in field selector under relations (Add Data Component->Relation->objectBridge)

Allowed in:

Bridge object editing fields:

If not in list above then field will be read-only

Field specific settings

Source class
Select which class should be used as primary class
Source visible fields
Which fields from source class should be displayed
Bridge class
Select which class should be created when selecting the source object
Bridge visible fields
Same as source fields but from bridge class
Bridge field
Which field should be used when linking source object to bridge object
Bridge folder
Where bridge objects should be stored after automatic creating

Limitation: When many to one relation is used, there can only be one class type linked. First one will be used.

Example scenario

        +--------------+             +--------------+
        |              |             |              |
        |    Garage    |             |    Garage    |
        |              |             |              |
        +-+-----------++             +----+---------+
          |           |                   |
          |           |                   |
          |           |                   |
+---------+---+    +--+----------+   +----+--------+
|             |    |             |   |             |
|  GarageCar  |    |  GarageCar  |   |  GarageCar  |
|             |    |             |   |             |
+---------+---+    +--+----------+   +----+--------+
          |           |                   |
          |           |     +-------------+
          |           |     |
+---------+---+    +--+-----+----+
|             |    |             |
|     Car     |    |     Car     |
|             |    |             |
+-------------+    +-------------+

In this example, you would add the ObjectBridge field to Garage. The bridge table would be GarageCar. GarageCar would have a (single) many to one relation field to Car.

Fields for example tables:

Garage

GarageCar

Car

A certain car can be present in multiple garages, in different quantities.

See object bulk dump structure here

Screenshot

Todo's:


All versions of pimcore-object-bridge with dependencies

PHP Build Version
Package Version
Requires pimcore/pimcore Version ^10.5
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 youwe/pimcore-object-bridge contains the following files

Loading the files please wait ....