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
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
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-06