PHP · Generative Engine Optimization

Rank in AI search.
Not just Google.

GeoOptimizer generates llms.txt files, Schema.org structured data, and citation-ready markup so AI search engines accurately find and cite your site.

composer require geooptimizer/php-geo-optimizer

What's in the library

  • llms.txt Generation

    Structured text files that tell AI systems exactly what your site is, what it does, and how to cite it.

  • Structured Data

    Schema.org markup tuned for AI search engines, covering local business, products, FAQs, and more.

  • Content Analysis

    Score content against GEO readiness criteria. See what AI search engines will struggle with before they do.

  • Citation Tracking

    Monitor how AI platforms cite your business across ChatGPT, Perplexity, Claude, and Google AI.

  • Industry Templates

    Pre-built optimization templates for 12+ industries. Start with a working baseline, not a blank slate.

  • Platform Adapters

    Platform-specific output adapters for Claude, OpenAI, Perplexity, and Google AI. Each has its own quirks.

Quick start

From install to your first llms.txt in three steps.

  1. Install via Composer

    Requires PHP 7.4+. No framework dependencies.

  2. Describe your business

    Pass your name, industry, location, and services. GeoOptimizer handles formatting, structure, and schema.

  3. Write llms.txt to your public directory

    AI search crawlers discover and index it automatically. No plugin or CDN required.

// composer require geooptimizer/php-geo-optimizer

use GEOOptimizer\GEOOptimizer;

$geo = new GEOOptimizer();

$result = $geo->optimize([
    'business_name' => 'Acme Coffee',
    'industry'      => 'restaurant',
    'location'      => 'San Francisco, CA',
    'services'      => ['Espresso', 'Pour Over'],
]);

file_put_contents(
    'public/llms.txt',
    $result['llms_txt']
);

Two ways to use it

PHP Library Standalone

Framework-agnostic. Composer installable. Works in any PHP 7.4+ project — Laravel, Symfony, plain PHP, or custom stacks.

composer require geooptimizer/php-geo-optimizer

WordPress Plugin Plugin

Native WordPress integration with admin dashboard, automatic llms.txt generation on publish, and per-page structured data.

wp plugin install geooptimizer