定制 negusdev/seoinjector-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

negusdev/seoinjector-php

最新稳定版本:v0.1.1

Composer 安装命令:

composer require negusdev/seoinjector-php

包简介

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

README 文档

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 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

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-06