GeoOptimizer

Structure your site so AI search can cite it.

A PHP library for Generative Engine Optimization — llms.txt files, Schema.org structured data, and readiness scoring for ChatGPT, Claude, Perplexity, and Google AI Overviews.

composer require geooptimizer/php-geo-optimizer
Releases on GitHub
// Write an llms.txt your crawlers can find
use GEOOptimizer\GEOOptimizer;

$geo = new GEOOptimizer();
$result = $geo->optimize([
  'business_name' => 'Harbor Roasters',
  'industry'      => 'restaurant',
  'location'      => 'Portland, OR',
  'services'      => ['Espresso', 'Wholesale'],
]);

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

What it ships

llms.txt generation
Site summaries formatted for AI systems: what you do, where you operate, and how to cite you.
Structured data
Schema.org JSON-LD for local business, services, FAQs, and related types.
Content analysis
GEO readiness scores with concrete gaps to fix before crawlers hit the page.
Citation tracking
Optional monitoring of how platforms mention your business over time.
Industry templates
Baselines for a dozen-plus industries so you start from working defaults.
Platform adapters
Output helpers tuned for Claude, OpenAI, Perplexity, and Google AI quirks.

From Composer to llms.txt

Install the package, describe the business, write the file to your public directory. No CDN or plugin required for the library path.

Install with Composer on PHP 7.4+. Framework-agnostic — Laravel, Symfony, or plain PHP.

Describe name, industry, location, and services. The library handles formatting and schema.

Publish llms.txt under your web root. Crawlers discover it like any other public file.

$result = $geo->optimize($business);
file_put_contents(
  'public/llms.txt',
  $result['llms_txt']
);

Two distribution paths

PHP library

Composer package for any PHP 7.4+ project. Docs and source live on GitHub; installs come from Packagist.

composer require geooptimizer/php-geo-optimizer
View repository

WordPress plugin

Admin settings, automatic llms.txt endpoint, and structured data in wp_head. Download the release zip from GitHub — not on WordPress.org yet.

Download plugin from GitHub

In wp-admin: Plugins → Add New → Upload Plugin, activate, then open Settings → GEO Optimizer.