{"id":15984571,"url":"https://github.com/divineomega/php-word-info","last_synced_at":"2025-03-18T00:31:22.682Z","repository":{"id":56969728,"uuid":"118921741","full_name":"DivineOmega/php-word-info","owner":"DivineOmega","description":"PHP library to look up information about words","archived":false,"fork":false,"pushed_at":"2020-03-26T18:52:16.000Z","size":24,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T16:11:35.661Z","etag":null,"topics":["offensive-language","php","php-library","rhymes","syllables","words"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DivineOmega.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-25T14:17:09.000Z","updated_at":"2022-02-16T21:36:47.000Z","dependencies_parsed_at":"2022-08-21T10:50:49.034Z","dependency_job_id":null,"html_url":"https://github.com/DivineOmega/php-word-info","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Fphp-word-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Fphp-word-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Fphp-word-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Fphp-word-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DivineOmega","download_url":"https://codeload.github.com/DivineOmega/php-word-info/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244134023,"owners_count":20403538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["offensive-language","php","php-library","rhymes","syllables","words"],"created_at":"2024-10-08T02:09:39.541Z","updated_at":"2025-03-18T00:31:22.411Z","avatar_url":"https://github.com/DivineOmega.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Word Info\n\n[![Build Status](https://travis-ci.org/DivineOmega/php-word-info.svg?branch=master)](https://travis-ci.org/DivineOmega/php-word-info)\n[![Coverage Status](https://coveralls.io/repos/github/DivineOmega/php-word-info/badge.svg?branch=master)](https://coveralls.io/github/DivineOmega/php-word-info?branch=master)\n[![StyleCI](https://styleci.io/repos/118921741/shield?branch=master)](https://styleci.io/repos/118921741)\n\nThis PHP library can be used to look up information about a word, including the following.\n\n* Rhymes\n* Half rhymes\n* Number of syllables\n* Offensive or not\n* Portmanteaus\n* Plural / singular\n\n## Installation\n\nPHP Word Info can be easily installed using Composer. Just run the following command from the root of your project.\n\n```\ncomposer require divineomega/php-word-info\n```\n\nIf you have never used the Composer dependency manager before, head to the [Composer website](https://getcomposer.org/) for more information on how to get started.\n\n## Usage\n\nTo 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.\n\n```php\n$word = new Word('cat');\n\n$rhymes = $word-\u003erhymes();\n$halfRhymes = $word-\u003ehalfRhymes();\n$portmanteaus = $word-\u003eportmanteaus();\n\n$numberOfSyllables = $word-\u003esyllables();    // Returns an integer\n$isOffensive = $word-\u003eoffensive();          // Returns true/false\n$plural = $word-\u003eplural();                  // Returns `Word` object\n$singular = $word-\u003esingular();              // Returns `Word` object\n```\n\nMost methods will return an array of `Word` objects, unless specified otherwise.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivineomega%2Fphp-word-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivineomega%2Fphp-word-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivineomega%2Fphp-word-info/lists"}