Skip to content

Add recipe for djdmg/transparent-pixel-bundle (v1.0.1) - #1841

Closed
djdmg wants to merge 3 commits into
symfony:mainfrom
djdmg:feature/transparent-pixel-bundle-1.0
Closed

Add recipe for djdmg/transparent-pixel-bundle (v1.0.1)#1841
djdmg wants to merge 3 commits into
symfony:mainfrom
djdmg:feature/transparent-pixel-bundle-1.0

Conversation

@djdmg

@djdmg djdmg commented Aug 15, 2025

Copy link
Copy Markdown
Contributor
Field Value
Package djdmg/transparent-pixel-bundle
Type symfony-bundle
Purpose Provide a 1×1 transparent tracking pixel for Symfony (pages & emails)
Packagist https://packagist.org/packages/djdmg/transparent-pixel-bundle
Repository https://github.com/djdmg/transparent-pixel-bundle
License MIT

Summary

This PR adds a Symfony Flex contrib recipe for djdmg/transparent-pixel-bundle.
The recipe wires the bundle automatically and imports its attribute routes so users can start immediately after composer require.

What the recipe does

  • Registers Djdmg\TransparentPixelBundle\TransparentPixelBundle in config/bundles.php (all envs).
  • Copies config/routes/transparent_pixel.yaml that imports @TransparentPixelBundle/Controller/ (attribute routing).

Files added by this recipe

  • djdmg/transparent-pixel-bundle/1.0/manifest.json
  • djdmg/transparent-pixel-bundle/1.0/config/routes/transparent_pixel.yaml

manifest.json (for reference)

{
  "manifest_version": 1,
  "bundles": {
    "Djdmg\\TransparentPixelBundle\\TransparentPixelBundle": ["all"]
  },
  "copy-from-recipe": {
    "config/": "%CONFIG_DIR%/"
  },
  "post-install-output": [
    "TransparentPixelBundle ready.",
    "Routes imported at config/routes/transparent_pixel.yaml",
    "Next steps:",
    "  - bin/console doctrine:migrations:diff",
    "  - bin/console doctrine:migrations:migrate -n"
  ]
}

@symfony-recipes-bot
symfony-recipes-bot enabled auto-merge (squash) August 15, 2025 03:32
@github-actions

github-actions Bot commented Aug 15, 2025

Copy link
Copy Markdown

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1841/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1841/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'djdmg/transparent-pixel-bundle:^1.0'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

auto-merge was automatically disabled August 15, 2025 03:33

Head branch was pushed to by a user without write access

@symfony-recipes-bot
symfony-recipes-bot enabled auto-merge (squash) August 15, 2025 03:34
auto-merge was automatically disabled August 15, 2025 03:35

Head branch was pushed to by a user without write access

@symfony-recipes-bot
symfony-recipes-bot enabled auto-merge (squash) August 15, 2025 03:35
@djdmg djdmg changed the title Add recipe for djdmg/transparent-pixel-bundle (v1.0) Add recipe for djdmg/transparent-pixel-bundle (v1.0.1) Aug 15, 2025
@djdmg djdmg closed this Aug 15, 2025
auto-merge was automatically disabled August 15, 2025 03:42

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant