承接 bnomei/kirby3-seobility 相关项目开发

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

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

bnomei/kirby3-seobility

Composer 安装命令:

composer require bnomei/kirby3-seobility

包简介

Kirby Plugin to use Seobility.net

README 文档

README

Kirby 5 PHP 8.2 Release Downloads Coverage Maintainability Discord Buymecoffee

Kirby Plugin to use Seobility.net

  • keyword check (paid api)
  • real time SERP ranking (paid api)
  • term suggestion (paid api)

Installation

  • unzip master.zip as folder site/plugins/kirby3-seobility or
  • git submodule add https://github.com/bnomei/kirby3-seobility.git site/plugins/kirby3-seobility or
  • composer require bnomei/kirby3-seobility

Requirements

robots.txt

You need a robots.txt file for the checks to work on your production server. Either you create a custom robots.txt-file or use my Robots.txt plugin. Make sure the Seobility.net bot can crawl the website by setting your global debug config to false or by adding the following to your robots.txt:

User-agent: *
Disallow: /kirby/
Disallow: /site/
Disallow: /cdn-cgi/
Allow: /media/

Localhost = No Score

The plugin will not query the API on localhost since the API would not be able to read the HTML content of your page.

Usage

Keyword check (paid api)

Add the field keywordcheck to your blueprints.

site/blueprints/default.yml

fields:
  keywordcheck: # the field id must be exactly like this
    label: Seobility.net Keywordcheck
    type: keywordcheck

Enter keywords(s) in the Panel. Save and get a score. Clicking on the score will take you to new browser tab with the full report.

keywordcheck

You can also read the score with a PageMethod if you need it in you business logic.

site/templates/default.php

echo $page->keywordcheckScore();

To show the score of the keywordcheck field the plugin will query your paid API account and cache the results until the content page is modified or cache expires (see settings below).

Tip

EVERY time you press the save button in the Panel for a page with this field a request to the API will be made. This might delay saving by a second or two. The paid API is a tiny bit faster.

Real-time SERP Ranking (paid api)

This field is a button to trigger a real-time, synchronous (direct) API call. The average response time is up to 30 seconds and it will return the rank, title and description as listed on the specified search engine (see config setting bnomei.seobility.searchengine).

Note

You need to have a keywordcheck field on the same blueprint and at least one keyword set to get a SERP ranking.

site/blueprints/default.yml

fields:
  ranking:
    headline: Seobility.net SERP Ranking
    label: Fetch Rank
    progress: Fetching Rank...
    # notranked: Page is not ranked.
    type: ranking

ranking

Term Suggestion (paid api)

This field is a button to trigger a term suggestion (more, less, ok) for the specified search engine (see settings).

Note

You need to have a keywordcheck field on the same blueprint and at least one keyword set to get further term suggestions.

site/blueprints/default.yml

fields:
  termsuggestion:
    headline: Seobility.net Term Suggestion
    label: Fetch Term Suggestions
    progress: Fetching Term Suggestions...
    type: termsuggestion

termsuggestion

Paid API

You need to set the API-key in the config if you want to use features from the paid api.

site/config/config.php

return [
    // other config settings ...
    'bnomei.seobility.apikey' => 'YOUR-KEY-HERE',
];

You can also set a callback if you use the dotenv Plugin.

site/config/config.php

return [
    // other config settings ...
    'bnomei.seobility.apikey' => function() { 
        return env('SEOBILITY_APIKEY'); 
    },
];

Cache

When Kirby's global debug config is set to true the complete plugin cache will be flushed but caches will still be created.

Settings

bnomei.seobility. Default Description
enabled true but disabled on localhost by default
expire 0 will expire on modified or after n-minutes
apikey null string or callback
searchengine google.com the target searchengine domain

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.

License

MIT

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.

bnomei/kirby3-seobility 适用场景与选型建议

bnomei/kirby3-seobility 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 746 次下载、GitHub Stars 达 7, 最近一次更新时间为 2022 年 04 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「keyword」 「site」 「check」 「seo」 「Audit」 「ranking」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 bnomei/kirby3-seobility 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 bnomei/kirby3-seobility 我们能提供哪些服务?
定制开发 / 二次开发

基于 bnomei/kirby3-seobility 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-13