PHPackages                             irfanh94/word-counter-php - 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. irfanh94/word-counter-php

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

irfanh94/word-counter-php
=========================

Correct word count for all languages in PHP

v1.0.0(3y ago)213MITPHPPHP &gt;=7.4

Since Apr 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/irfanh94/word-counter-php)[ Packagist](https://packagist.org/packages/irfanh94/word-counter-php)[ Docs](https://github.com/irfanh94/word-counter-php)[ RSS](/packages/irfanh94-word-counter-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

About
-----

[](#about)

Introducing our new PHP word-count package, a powerful tool for accurately counting the number of words in any text input. This package currently supports 3 language scripts and is highly customizable, allowing for exclusion of certain words or phrases from the count and options for case sensitivity and stemming.

Supported scripts
-----------------

[](#supported-scripts)

- Latin
- Arabic
- Cyrillic

Installation &amp; usage with composer
--------------------------------------

[](#installation--usage-with-composer)

Install the package:

```
composer require irfanh94/word-counter-php

```

Using WordCounter to only count:

```
