Download the PHP package dachcom-digital/dynamic-search-data-provider-trinity without Composer

On this page you can find all versions of the php package dachcom-digital/dynamic-search-data-provider-trinity. 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 dynamic-search-data-provider-trinity

Dynamic Search | Data Provider: Trinity Data

Latest Release Tests PhpStan

A data fetch extension for Pimcore Dynamic Search. Fetch pimcore elements by listings: assets, documents and objects.

Release Plan

Release Supported Pimcore Versions Supported Symfony Versions Release Date Maintained Branch
3.x 11.0 ^6.2 28.09.2023 Feature Branch master
2.x 10.0 - 10.6 ^5.4 19.12.2021 No 1.x
1.x 6.6 - 6.9 ^4.4 18.04.2021 No 1.x

Installation

Dynamic Search Bundle

You need to install / enable the Dynamic Search Bundle first. Read more about it here. After that, proceed as followed:

Add Bundle to bundles.php:


Publishing State

This Bundle will fetch unpublished elements by default. This is crucial and also a problematic fact. Read more about it here to learn how to handle the publishing state of pimcore elements.

Basic Setup


Provider Options

always

Name Default Value Description
index_asset false
asset_data_builder_identifier true
asset_types Asset::getTypes(), except folder
asset_additional_params []
index_object false
object_data_builder_identifier 'default'
object_types DataObject::getTypes(), except folder
object_class_names []
object_additional_params []
index_document false
document_data_builder_identifier 'default'
document_types Document::getTypes(), except folder
document_additional_params []

full_dispatch

Name Default Value Description
asset_limit 0
object_limit 0
document_limit 0

Resource Normalizer

trinity_default_resource_normalizer

Scaffold simple documents Options: none

trinity_localized_resource_normalizer

Scaffold localized documents

Options:

Name Default Value Allowed Type Description
locales all pimcore enabled languages array
skip_not_localized_documents true bool if false, an exception rises if a document/object has no valid locale

Transformer

Scaffolder

TrinityDataScaffolder

Identifier: trinity_data_scaffolder
Simple object scaffolder.
Supported types: Asset, Document, DataObject\Concrete.

Field Transformer

ElementIdExtractor

Identifier: element_id_extractor
Returns id of element

Return Type: string|int|null
Options: none

ElementPropertyExtractor

Identifier: element_property_extractor
Returns element property.

Return Type: string|null
Options:

Name Default Value Allowed Type Description
property null string
object_getter null null string
allow_inherited_value true bool
NormalizerValueCallback

Identifier: normalizer_value_callback
Returns given option value.

Return Type: string|null
Options:

Name Default Value Allowed Type Description
value null string
ObjectGetterExtractor

Identifier: object_getter_extractor
Returns value of object getter.

Return Type: bool|int|float|string|array|null
Options:

Name Default Value Allowed Type Description
method id string
arguments [] array
clean_string true bool cleans HTML and whitespace (if value is string)
transform_callback null null|closure a callback function for further value transform
ObjectRelationsGetterExtractor

Identifier: object_relations_getter_extractor
Returns values of object relations getter.

Return Type: array|null
Options:

Name Default Value Allowed Type Description
relations null string
method id string
arguments [] array
ObjectPathGenerator

Identifier: object_path_generator
Returns object path generated by link generator.

Return Type: string|null
Options:

Name Default Value Allowed Type Description
arguments [] array
fetch_object_for_variant false bool If true and object is type of variant the next parent gets fetched first until type object has been reached
DocumentMetaExtractor

Identifier: document_meta_extractor
Returns documents meta title or description.

Return Type: string|null
Options:

Name Default Value Allowed Type Description
type title string Possible Types: title or description
DocumentPathGenerator

Identifier: document_path_generator
Returns real full path of document

Return Type: string|null
Options: none

PdfDataExtractor

Identifier: asset_pdf_extractor
Extracts pdf content with ghostscript

Return Type: string|null
Options: none

AssetPathGenerator

Identifier: asset_path_generator
Returns real full path of document

Return Type: string|null
Options: none


License

DACHCOM.DIGITAL AG, Löwenhofstrasse 15, 9424 Rheineck, Schweiz
dachcom.com, [email protected]
Copyright © 2024 DACHCOM.DIGITAL. All rights reserved.

For licensing details please visit LICENSE.md

Upgrade Info

Before updating, please check our upgrade notes!


All versions of dynamic-search-data-provider-trinity with dependencies

PHP Build Version
Package Version
Requires pimcore/pimcore Version ^11.0
dachcom-digital/dynamic-search Version ^3.0 || ^4.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 dachcom-digital/dynamic-search-data-provider-trinity contains the following files

Loading the files please wait ....