Search by

nowo-tech / generative-seo-kit-bundle

HecFranco

Symfony Generative Engine Optimization kit (not geolocation): AI crawler robots policy via SeoKit, llms.txt, citation index and audit for FrankenPHP, php-fpm and Nginx.

Package info

github.com/nowo-tech/GenerativeSeoKitBundle

Documentation

Type:symfony-bundle

pkg:composer/nowo-tech/generative-seo-kit-bundle

Statistics

Installs: 54

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v2.0.0 2026-11-21 01:48 UTC

README

CI Packagist Version Packagist Downloads License PHP Symfony GitHub stars Coverage

⭐ Found this useful? Give it a star on GitHub! It helps us maintain and improve the project.

Symfony Generative Engine Optimization kit (not geolocation): AI crawler robots.txt groups via SeoKitBundle, /llms.txt, citation index, and nowo:generative-seo:audit for FrankenPHP, php-fpm and Nginx.

FrankenPHP Friendly Worker Mode

This bundle is FrankenPHP worker mode friendly.

Table of contents

Features

  • ✅ SeoKit bridge (optional) — does not fork head tags, sitemap, or canonical; implements GeoRobotsGroupsProviderInterface when nowo-tech/seo-kit-bundle is installed (suggested since 2.0)
  • ✅ AI crawler policy — default allow for inference/search bots (GPTBot, ChatGPT-User, OAI-SearchBot, ClaudeBot, Claude-User, Claude-SearchBot, PerplexityBot); default disallow for training-oriented agents (Google-Extended, Applebot-Extended, CCBot, Bytespider, anthropic-ai)
  • ✅ llms.txt — /llms.txt and /.well-known/llms.txt as text/plain; optional sections, ## Optional, and opt-in /llms-full.txt
  • ✅ Citation index — YAML citations, citation_routes, plus tagged CitationSourceProviderInterface
  • ✅ Audit CLI — nowo:generative-seo:audit (--lenient for warn-only)
  • ✅ FrankenPHP-ready demo — single-container Symfony 8 demo

FrankenPHP: Demos use a single PHP service (FrankenPHP, no nginx). With APP_ENV=dev (default), the Docker entrypoint swaps in Caddyfile.dev when FRANKENPHP_MODE=classic. The baked-in production Caddyfile can use worker mode (FRANKENPHP_MODE=worker, default); see docs/DEMO-FRANKENPHP.md. Access the demo at http://localhost:PORT (see demo/README.md and .env.example).

Installation

composer require nowo-tech/generative-seo-kit-bundle

Register the bundle in config/bundles.php (Flex does this automatically). For the AI groups in SeoKit's robots.txt, also composer require nowo-tech/seo-kit-bundle and register SeoKitBundle:

Nowo\SeoKitBundle\SeoKitBundle::class => ['all' => true],
Nowo\GenerativeSeoKitBundle\GenerativeSeoKitBundle::class => ['all' => true],

Requirements

  • PHP >= 8.2, < 8.7
  • Symfony 7.4+ or 8.x
  • Optional: nowo-tech/seo-kit-bundle ^1.11 (SeoKit bridge; suggested since 2.0)

Version information

Version PHP Symfony Status
2.x >= 8.2 7.4 – 8.1+ Current
1.x >= 8.2 7.4 – 8.1+ Security fixes (Moderate and above) until 6 months after 2.0.0

Demos

make -C demo up-symfony8   # http://localhost:8070 (default PORT)

See docs/DEMO-FRANKENPHP.md.

Demo home: llms.txt, robots.txt and sitemap links Generated llms.txt: citations, docs, optional and related sections

Documentation

Additional documentation

Tests and coverage

make test
make test-coverage
  • Tests: PHPUnit (unit + integration)
  • PHP: 100% lines (make test-coverage)
  • TS/JS: N/A (the bundle ships no TypeScript/JavaScript; the demo Playwright e2e is not measured)
  • Python: N/A

License

MIT — see LICENSE.