Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Nov 18, 2025

All seal adapters will provide cmsig/seal-adapter-implementation.

All seal adapters in core go with:

    "provide": {
        "cmsig/seal-adapter-implementation": "self.version"
    },

Custom adapters need provide the related / supported cmsig/seal version:

    "provide": {
        "cmsig/seal-adapter-implementation": "0.12.0"
    },

As I personally not a big fan of the virtual packages we will currently not require them in our integration packages. But third party are this way free to require it to make composer fail if no adapter was required by the project / library.

This should help eventuall a future contao/backend-search-bundle package to require "cmsig/seal-adapter-implementation": "^0.12" if they want that behaviour.

@alexander-schranz alexander-schranz force-pushed the feature/virtual-packages-for-adapters branch from 0dfefea to 7875150 Compare November 18, 2025 18:59
@alexander-schranz alexander-schranz marked this pull request as ready for review November 18, 2025 19:12
@alexander-schranz alexander-schranz added features New feature or request SEAL Core Seal Core related issue DX Improves the developer experience labels Nov 18, 2025
Copy link
Member

@Toflar Toflar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we're going to use it in Contao after all but in any case, I think this is the right step for whoever builds a package that depends on SEAL and thus on at least one adapter 👍

@alexander-schranz alexander-schranz merged commit a2a283e into PHP-CMSIG:0.12 Nov 19, 2025
45 of 47 checks passed
@alexander-schranz alexander-schranz deleted the feature/virtual-packages-for-adapters branch November 19, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX Improves the developer experience features New feature or request SEAL Core Seal Core related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants