PHP Classes

PHP Character Counter: Count characters and words of UTF-8 files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 281 All time: 7,609 This week: 48Up
Version License PHP version Categories
content-counter 1.0.0MIT/X Consortium ...5.3PHP 5, Text processing, Console
Description 

Author

This class can count characters and words of UTF-8 files.

It can read a given text file and strip line break characters to count its characters and words in several ways.

Currently it counts the number of characters considering they are encoded in UTF-8 and also count the number of words.

The class outputs the number of characters and words to the console.

Counts the characters and words to the provided file.

Picture of Nicola Pietroluongo
  Performance   Level  
Name: Nicola Pietroluongo <contact>
Classes: 2 packages by
Country: United Kingdom

  Files folder image Files (1)  
File Role Description
Plain text file counter.php Class main class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:281
This week:0
All time:7,609
This week:48Up