negusdev/seoinjector-php

Universal PHP library for SEO Injector - Works with Laravel, WordPress, Symfony, or any PHP project

Maintainers

Package info

github.com/NegusDev/seoinjector-php

Homepage

pkg:composer/negusdev/seoinjector-php

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.4.1 2026-02-23 06:23 UTC

This package is auto-updated.

Last update: 2026-03-23 06:42:40 UTC


README

Latest Version Total Downloads License PHP Version

Universal PHP library for managing SEO metadata from a centralized dashboard. Works with Laravel, WordPress, Symfony, CodeIgniter, or any PHP project.

โœจ Features

  • ๐Ÿš€ Works with any PHP framework or vanilla PHP
  • ๐Ÿ“ฆ Zero dependencies
  • โšก Built-in file caching
  • ๐ŸŽจ WordPress integration included
  • ๐Ÿ”ง Laravel service provider included
  • ๐ŸŒ Symfony bundle ready
  • ๐Ÿงช Fully tested
  • ๐Ÿ“– Comprehensive documentation

๐Ÿ“ฆ Installation

composer require negusdev/seoinjector-php

๐Ÿš€ Quick Start

Vanilla PHP

<?php
require 'vendor/autoload.php';

use SEOInjector\SEOInjector;

$seo = new SEOInjector('your_api_key');
?>
<!DOCTYPE html>
<html>
<head>
    <?php echo $seo->render(); ?>
</head>
<body>
    <!-- Your content -->
</body>
</html>

Laravel

// In your blade template
{!! app('seoinjector')->render() !!}

WordPress

// In functions.php or plugin file
add_action('wp_head', function() {
    $seo = new \SEOInjector\SEOInjector(get_option('seoinjector_api_key'));
    echo $seo->render();
}, 1);

๐Ÿ“– Documentation

๐Ÿงช Testing

composer test

๐Ÿ“ Changelog

See CHANGELOG.md for details.

๐Ÿค Contributing

See CONTRIBUTING.md for details.

๐Ÿ“„ License

MIT License - see LICENSE file.

๐Ÿ”— Links