承接 jord-jd/php-word-info 相关项目开发

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

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

jord-jd/php-word-info

最新稳定版本:v2.0.0

Composer 安装命令:

composer require jord-jd/php-word-info

包简介

PHP library to look up information about words

README 文档

README

Build Status Coverage Status StyleCI

This PHP library can be used to look up information about a word, including the following.

  • Rhymes
  • Half rhymes
  • Number of syllables
  • Offensive or not
  • Portmanteaus
  • Plural / singular

Installation

PHP Word Info can be easily installed using Composer. Just run the following command from the root of your project.

composer require jord-jd/php-word-info

If you have never used the Composer dependency manager before, head to the Composer website for more information on how to get started.

Usage

To use PHP Word Info, you must first create a new Word object. You can then call any of the Word object methods, as shown below.

$word = new Word('cat');

$rhymes = $word->rhymes();
$halfRhymes = $word->halfRhymes();
$portmanteaus = $word->portmanteaus();

$numberOfSyllables = $word->syllables();    // Returns an integer
$isOffensive = $word->offensive();          // Returns true/false
$plural = $word->plural();                  // Returns `Word` object
$singular = $word->singular();              // Returns `Word` object

Most methods will return an array of Word objects, unless specified otherwise.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-only
  • 更新时间: 2026-02-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固