2017 © Pedro Peláez
 

library php-word-info

PHP library to look up information about words

image

divineomega/php-word-info

PHP library to look up information about words

  • Tuesday, February 13, 2018
  • by DivineOmega
  • Repository
  • 1 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

PHP Word Info

Build Status Coverage Status StyleCI, (*1)

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

  • 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., (*3)

composer require divineomega/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., (*4)

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., (*5)

$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., (*6)

The Versions

13/02 2018

dev-master

9999999-dev

PHP library to look up information about words

  Sources   Download

LGPL-3.0-only

The Requires

 

The Development Requires

by Jordan Hall

13/02 2018

dev-analysis-8mDnjb

dev-analysis-8mDnjb

PHP library to look up information about words

  Sources   Download

LGPL-3.0-only

The Requires

 

The Development Requires

by Jordan Hall

12/02 2018

v1.3.0

1.3.0.0

PHP library to look up information about words

  Sources   Download

LGPL-3.0-only

The Requires

 

The Development Requires

by Jordan Hall

09/02 2018

v1.2.1

1.2.1.0

PHP library to look up information about words

  Sources   Download

LGPL-3.0-only

The Requires

 

The Development Requires

by Jordan Hall

09/02 2018

v1.2.0

1.2.0.0

PHP library to look up information about words

  Sources   Download

LGPL-3.0-only

The Requires

 

The Development Requires

by Jordan Hall

30/01 2018

v1.1.0

1.1.0.0

PHP library to look up information about words

  Sources   Download

LGPL-3.0-only

The Requires

 

The Development Requires

by Jordan Hall

26/01 2018

v1.0.0

1.0.0.0

PHP library to look up information about words

  Sources   Download

LGPL-3.0-only

The Requires

 

The Development Requires

by Jordan Hall