承接 softspring/cms-seo-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

softspring/cms-seo-plugin

Composer 安装命令:

composer require softspring/cms-seo-plugin

包简介

SEO analysis plugin for Softspring CMS.

README 文档

README

Latest Stable Latest Unstable License PHP Version Downloads CI Coverage

Experimental package: this plugin is in active development and its configuration, checks, storage format, UI, and extension points may change before a stable release.

softspring/cms-seo-plugin adds SEO analysis tools to Softspring CMS administration.

It analyzes published CMS URLs and reports deterministic checks for HTTP status, HTML content type, title, meta description, canonical URL, alternate language URLs, H1 usage, heading structure, image alt text, robots meta tag, and approximate body word count.

It also supports site-level checks for robots.txt, sitemap indexes, configured sitemaps, and root slash redirects.

Installation

composer require softspring/cms-seo-plugin:^6.0@dev

The plugin requires softspring/cms-bundle and Symfony HttpClient.

Register the bundle if Symfony Flex does not do it automatically:

// config/bundles.php
return [
    Softspring\CmsSeoPlugin\SfsCmsSeoPlugin::class => ['all' => true],
];

Configuration

Site analysis is enabled by default. Disable it or individual checks when a project does not expose the related public resources:

# config/packages/sfs_cms_seo.yaml
sfs_cms_seo:
    site_analysis:
        enabled: true
        checks:
            robots_reachable: true
            robots_sitemap_index: true
            sitemap_index_reachable: true
            sitemap_index_contains_configured_sitemaps: true
            sitemap_reachable: true
            slash_route_redirect: true

Usage

The plugin adds SEO screens to the CMS admin:

  • A global SEO dashboard.
  • A SEO tab for CMS content administration.
  • A SEO tab for CMS site administration.

Run all configured analysis from the command line:

php bin/console sfs:cms:seo:analyze

Analyze only sites or content:

php bin/console sfs:cms:seo:analyze --sites
php bin/console sfs:cms:seo:analyze --contents

The --async option is reserved for projects that replace the default dispatcher with a Messenger-backed implementation.

Extension Points

Add content SEO checks by implementing Softspring\CmsSeoPlugin\Content\Check\CheckInterface. Services are autoconfigured with the sfs_cms_seo.check tag.

Add site SEO checks by implementing Softspring\CmsSeoPlugin\Site\Check\SiteCheckInterface. Services are autoconfigured with the sfs_cms_seo.site_check tag.

Replace Softspring\CmsSeoPlugin\Seo\SeoAnalysisDispatcherInterface when a project needs asynchronous analysis or an external provider.

Features

See FEATURES.md for the functional scope of this package.

Contributing

See CONTRIBUTING.md.

Report issues and send Pull Requests

Security

See SECURITY.md.

License

This package is free and released under the AGPL-3.0 license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2026-06-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固