diff --git a/RECIPES.md b/RECIPES.md index 98d87ce2..5b22266a 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -291,6 +291,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [imper86/allegro-api-bundle](https://packagist.org/packages/imper86/allegro-api-bundle) | [3.0](../../../tree/main/imper86/allegro-api-bundle/3.0) | | [imper86/jobby-cron-bundle](https://packagist.org/packages/imper86/jobby-cron-bundle) | [1.0](../../../tree/main/imper86/jobby-cron-bundle/1.0) | | [imper86/supervisor-bundle](https://packagist.org/packages/imper86/supervisor-bundle) | [2.2](../../../tree/main/imper86/supervisor-bundle/2.2) | +| [indexnowkit/symfony-bundle](https://packagist.org/packages/indexnowkit/symfony-bundle) | [0.15](../../../tree/main/indexnowkit/symfony-bundle/0.15) | | [indragunawan/api-rate-limit-bundle](https://packagist.org/packages/indragunawan/api-rate-limit-bundle) | [0.2](../../../tree/main/indragunawan/api-rate-limit-bundle/0.2) | | [infifni/euplatesc-plugin](https://packagist.org/packages/infifni/euplatesc-plugin) | [1.0](../../../tree/main/infifni/euplatesc-plugin/1.0) | | [insidestyles/json-rpc-bundle](https://packagist.org/packages/insidestyles/json-rpc-bundle) | [2.0](../../../tree/main/insidestyles/json-rpc-bundle/2.0) | diff --git a/archived/indexnowkit.symfony-bundle/269a7a203ca9a6b9eacadb8f4bc621b1e1481e59.json b/archived/indexnowkit.symfony-bundle/269a7a203ca9a6b9eacadb8f4bc621b1e1481e59.json new file mode 100644 index 00000000..437e9f1d --- /dev/null +++ b/archived/indexnowkit.symfony-bundle/269a7a203ca9a6b9eacadb8f4bc621b1e1481e59.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" + } + } +} diff --git a/index.json b/index.json index 580446a3..ea6b2553 100644 --- a/index.json +++ b/index.json @@ -918,6 +918,9 @@ "imper86/supervisor-bundle": [ "2.2" ], + "indexnowkit/symfony-bundle": [ + "0.15" + ], "indragunawan/api-rate-limit-bundle": [ "0.2" ], 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" + } + } +}