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

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

marcocianci/word-counter
========================

Recursive Word Counter

1.0.0(9y ago)0161MITPHPPHP &gt;=5.3.0

Since Apr 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/marcocianci/word-counter)[ Packagist](https://packagist.org/packages/marcocianci/word-counter)[ Docs](http://www.github.com/marcocianci/word-counter)[ RSS](/packages/marcocianci-word-counter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

recursive-word-counter
======================

[](#recursive-word-counter)

Functions in Recursive Word Counter:

```
1. wordCounter: returns the total words of a text.
2. uniqueWordCounter: returns the total of unique words of a text.

```

This is a class to study, however everything works!

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

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
composer require marcocianci/word-counter

```

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

```
composer require --dev marcocianci/word-counter

```

Usage
-----

[](#usage)

```
