sitegeist/kaleidoscope-valueobjects-migrations

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 1

Type:neos-package

pkg:composer/sitegeist/kaleidoscope-valueobjects-migrations

v1.0.0 2026-01-15 15:43 UTC

This package is auto-updated.

Last update: 2026-01-15 16:28:35 UTC


README

Neos 8 Migrations to convert properties to ImageSourceProxies.

Authors & Sponsors

The development and the public-releases of this package is generously sponsored by our employer http://www.sitegeist.de.

Installation

Sitegeist.Kaleidoscope.ValueObjects.Migrations is available via packagist run composer require sitegeist/kaleidoscope-valueobjects-migrations. We use semantic versioning so every breaking change will increase the major-version number.

Usage

To convert existing Nodes to the new ImageSourceProxy and ImageSourceProxyCollection you can use the included transformation and configure your own content migrations.

up:
  comments: 'Convert Images and Asset[] to ImageSourceProxy and ImageSourceProxyCollection'
  migration:
    - filters:
        - type: 'NodeType'
          settings:
            nodeType: 'Vendor.Site:Node'
            withSubTypes: true
      transformations:
        - type: '\Sitegeist\Kaleidoscope\ValueObjects\Migration\Transformations\ImageToImageSourceProxy'
          settings:
            sourceProperty: 'image'
            targetProperty: 'image'
            altProperty: 'imageAlt'
            titleProperty: 'imageTitle'
        - type: '\Sitegeist\Kaleidoscope\ValueObjects\Migration\Transformations\AssetsToImageSourceProxyCollection'
          settings:
            sourceProperty: 'imageList'
            targetProperty: 'imageList'

down:
  comments: 'Convert ImageSourceProxy and ImageSourceProxyCollection back to Images'
  migration:
      - filters:
            - type: 'NodeType'
              settings:
                  nodeType: 'Vendor.Site:Node'
                  withSubTypes: true
        transformations:
            - type: '\Sitegeist\Kaleidoscope\ValueObjects\Migration\Transformations\ImageSourceProxyToImage'
              settings:
                  sourceProperty: 'image'
                  targetProperty: 'image'
                  altProperty: 'imageAlt'
                  titleProperty: 'imageTitle'
            - type: '\Sitegeist\Kaleidoscope\ValueObjects\Migration\Transformations\ImageSourceProxyCollectionToAssets'
              settings:
                  sourceProperty: 'imageList'
                  targetProperty: 'imageList'

Contribution

We will gladly accept contributions. Please send us pull requests.