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-optimizerView repository
GeoOptimizer
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
// 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']);
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'] );
Composer package for any PHP 7.4+ project. Docs and source live on GitHub; installs come from Packagist.
composer require geooptimizer/php-geo-optimizerView repository
Admin settings, automatic llms.txt endpoint, and structured data in wp_head. Download the release zip from GitHub — not on WordPress.org yet.
In wp-admin: Plugins → Add New → Upload Plugin, activate, then open Settings → GEO Optimizer.