PHPackages                             bitandblack/word-extract - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bitandblack/word-extract

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bitandblack/word-extract
========================

Extract or handle words with a given minimum length.

1.3.1(2mo ago)12631MITPHPPHP &gt;=8.2

Since Feb 10Pushed 2mo agoCompare

[ Source](https://github.com/BitAndBlack/word-extract)[ Packagist](https://packagist.org/packages/bitandblack/word-extract)[ Docs](https://www.bitandblack.com)[ Fund](https://www.buymeacoffee.com/tobiaskoengeter)[ RSS](/packages/bitandblack-word-extract/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (11)Versions (7)Used By (1)

[![PHP from Packagist](https://camo.githubusercontent.com/731226faf25a401806c755824951d3c43a82006465fafaadeb418aedc3d7a7c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626974616e64626c61636b2f776f72642d65787472616374)](http://www.php.net)[![Total Downloads](https://camo.githubusercontent.com/f3e79c8918a144984dcbffea18f4106fd0d77ddbabc6255fbca2225bd77bb4b4/68747470733a2f2f706f7365722e707567782e6f72672f626974616e64626c61636b2f776f72642d657874726163742f646f776e6c6f616473)](https://packagist.org/packages/bitandblack/word-extract)[![License](https://camo.githubusercontent.com/784d92b593b2b4b779de5ac8f9db3d41f45e4166f1d71f591a78dedc0569415d/68747470733a2f2f706f7365722e707567782e6f72672f626974616e64626c61636b2f776f72642d657874726163742f6c6963656e7365)](https://packagist.org/packages/bitandblack/word-extract)

 [ ![Bit&Black Logo](https://camo.githubusercontent.com/6cd6b1b85b6247964059c5d9420aae54482ebf17afbaf5f08127bc49de5916f4/68747470733a2f2f7777772e626974616e64626c61636b2e636f6d2f6275696c642f696d616765732f426974416e64426c61636b2d4c6f676f2d46756c6c2e706e67) ](https://www.bitandblack.com)

Bit&amp;Black Word Extract
==========================

[](#bitblack-word-extract)

Extract or handle words with a given minimum length.

Installation
------------

[](#installation)

This library is written in [PHP](https://www.php.net) and made for the use with [Composer](https://packagist.org/packages/bitandblack/word-extract). Be sure to have both of them installed on your system.

Add the library then to your project by running `$ composer require bitandblack/word-extract`.

Usage
-----

[](#usage)

Initialise the [`WordExtractor`](./src/WordExtractor.php) class with the minimum number of letters that the words to be extracted should have:

```
