Skip to content

A collection of basic commonly used Pimcore services, wrappers and helpers

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

TorqIT/pimcore-helpers-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pimcore Helpers Bundle

A collection of several simple but commonly used, mockable service wrappers

  • AssetRepository: Service wrapper for fetching, saving and deleting assets
    • createAsset(UploadedFile $file, ElementInterface $parent): A helper which builds an asset from an UploadedFile
  • FolderRepository: Service wrappers for either getting or getting/creating the three major folder types in pimcore
  • DataObjectRepository: Abstract service wrapper for saving/deleting data objects
  • ArrayUtils: A collection of helper functions for deep parsing arrays as well as finding items within an array
    • get(string|string[] $key, array $array): Navigates either one or a series of nested keys within an array and returns either the target value or null if any part of the chain does not exist. Several casting variations also exist which return specific types or null:
      • getDate()
      • getInt()
      • getFloat()
    • findIndex(callable $callable, array $array) and findInArray(callable $callable, array $array) functions, which find an item in an array based on a given function

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.

About

A collection of basic commonly used Pimcore services, wrappers and helpers

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages