PHP Classes

PHP text file splitter: Split a file in multiple with limited lines

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: 316 All time: 7,259 This week: 75Up
Version License PHP version Categories
file-splitter 1.0.0BSD License5.0Files and Folders
Description 

Author

This class can be used to Split a file into multiple files with a limited number of lines.

It reads a file and counts its lines. If the file has more than a given limit of lines, the class generates multiple files, each with no more than the limit of lines.

The split files have a different file name prefix that is configurable.

Picture of Chang Xiao
Name: Chang Xiao <contact>
Classes: 1 package by
Country: United States United States

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

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:316
This week:0
All time:7,259
This week:75Up