Download the PHP package torq/pimcore-helpers-bundle without Composer
On this page you can find all versions of the php package torq/pimcore-helpers-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package pimcore-helpers-bundle
Pimcore Helpers Bundle
A collection of helpful services, utilities, and extensions for Pimcore.
Installation
-
Install the composer package:
-
Add the bundle to
Kernel.phporbundles.php: - (Optional) If using the
HashedInputcustom field type, make sure to add the "torq_pimcore_helpers.secret" parameter to the Symfony container inservices.yaml:
Repository
The repository pattern wraps fetching, saving, and deleting Pimcore elements (assets, objects, etc.). There are several benefits to this pattern:
- Co-location of fetching logic; complicated querying logic can be encapculated into a single spot, promoting reusable queries over random queries sprinkled throughout the service layer.
- Mocks for testing; mocking static database read/writes is challenging, mocking a repository method is easy.
Normalizer
A full set of Symfony normalizers for Pimcore's unique object types including data objects, asset, field collections, object bricks, blocks, classification stores, etc.
Startup Commands
Set the #[AsStartupCommand] attribute on a Symfony command and add the following to the deploy or startup script:
To automatically run that command on deploy/start-up. Startup commands are tracked in the startup_command_runs
database
table and are only run once by default. Set #[AsStartupCommand(repeatable: true)] to define a command which should be
run every time.
License
This bundle is licensed under the Pimcore Open Core License (POCL) and is intended for use with Pimcore Platform 2025.1 and newer.
See LICENSE.md for full license text.
All versions of pimcore-helpers-bundle with dependencies
symfony/serializer-pack Version ^v1.3.0
phpdocumentor/reflection-docblock Version ^5.6
ext-sodium Version *