承接 sukohi/related-word 相关项目开发

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

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

sukohi/related-word

Composer 安装命令:

composer require sukohi/related-word

包简介

Get related words through wikipedia.

README 文档

README

Get related words through wikipedia.

Demo

Installation

Execute the following composer command.

composer require sukohi/related-word:1.*

Usage

$related_word = new \Sukohi\RelatedWord\RelatedWord();
$related_word->setTag('PHP');       // Required
$related_word->setLocale('ja');     // Optional
$related_word->setLimit(15);        // Optional
$related_word->setMinCount(5);      // Optional
$keywords = $related_word->get();

Methods

  • setTag($keyword)

A keyword you'd like to get related words from.(Required)

  • setLocale($locale)

Your locale.(Default is en)(Optional)

  • setLimit($limit)

The number of keywords that you will get at most.(Optional)

  • setMinCount($count)

You can get keywords if each keyword appear over $count.(Optional)

License

This package is licensed under the MIT License.
Copyright 2016 Sukohi Kuhoh

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-11-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固