From e370d21235d5a94606b07428b01cd0539c7dd6cf Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Wed, 9 Sep 2026 18:15:05 +0000 Subject: [PATCH] Create Flex endpoint --- index.json | 20 +++++++++++ indexnowkit.symfony-bundle.0.15.json | 54 ++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 index.json create mode 100644 indexnowkit.symfony-bundle.0.15.json diff --git a/index.json b/index.json new file mode 100644 index 00000000..45685727 --- /dev/null +++ b/index.json @@ -0,0 +1,20 @@ +{ + "aliases": [], + "recipes": { + "indexnowkit/symfony-bundle": [ + "0.15" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_links": { + "repository": "github.com/symfony/recipes-contrib", + "origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main", + "recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2048/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2048/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +} diff --git a/indexnowkit.symfony-bundle.0.15.json b/indexnowkit.symfony-bundle.0.15.json new file mode 100644 index 00000000..437e9f1d --- /dev/null +++ b/indexnowkit.symfony-bundle.0.15.json @@ -0,0 +1,54 @@ +{ + "manifests": { + "indexnowkit/symfony-bundle": { + "manifest": { + "bundles": { + "IndexNowKit\\SymfonyBundle\\IndexNowKitBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "The IndexNow key, served at /.txt. Generate one into .env.local: bin/console indexnow:key:generate --write-env", + "#2": "Empty outside production = dry run (nothing is sent); empty in production = a configuration error indexnow:check explains", + "INDEXNOW_KEY": "", + "#3": "The public URL of the site (console commands and Messenger workers have no request to read it from)", + "INDEXNOW_BASE_URL": "https://www.example.com" + }, + "post-install-output": [ + " IndexNow is installed: search engines (Yandex, Bing, Naver, Seznam, ...) get told which pages changed.", + "", + " Next steps:", + " 1. Run bin/console indexnow:key:generate --write-env \u2014 writes INDEXNOW_KEY to .env.local", + " 2. Set INDEXNOW_BASE_URL to the public URL of the site", + " 3. Add #[IndexNow(route: '...')] to the entities that have a public page (needs indexnowkit/doctrine)", + " 4. Run bin/console indexnow:check \u2014 it verifies the key file, the transport and the configuration", + "", + " Documentation: https://github.com/indexnowkit/php/tree/main/packages/symfony-bundle" + ] + }, + "files": { + "config/packages/indexnowkit.yaml": { + "contents": [ + "indexnowkit:", + " key: '%env(INDEXNOW_KEY)%'", + " base_url: '%env(INDEXNOW_BASE_URL)%'", + "" + ], + "executable": false + }, + "config/routes/indexnowkit.yaml": { + "contents": [ + "indexnowkit:", + " resource: '@IndexNowKitBundle/config/routes.php'", + "" + ], + "executable": false + } + }, + "ref": "269a7a203ca9a6b9eacadb8f4bc621b1e1481e59" + } + } +}