PHPackages                             michaelgarrez/text-file - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. michaelgarrez/text-file

ActiveLibrary[File &amp; Storage](/categories/file-storage)

michaelgarrez/text-file
=======================

Text file manipulation

v0.0.1(10y ago)7716[1 issues](https://github.com/Babacooll/TextFile/issues)MITPHP

Since Mar 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Babacooll/TextFile)[ Packagist](https://packagist.org/packages/michaelgarrez/text-file)[ RSS](/packages/michaelgarrez-text-file/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

TextFile
========

[](#textfile)

[![Build Status](https://camo.githubusercontent.com/98e942fc51eb5a4a31cadb3b9a6d62aba40e3f227d07163205affc0e4a82a0fc/68747470733a2f2f7472617669732d63692e6f72672f42616261636f6f6c6c2f5465787446696c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Babacooll/TextFile)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6b80dea3ef1cd813aedb257ee5f5ecddea4dbed75eef73d8df9c56ea559eb65c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42616261636f6f6c6c2f5465787446696c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Babacooll/TextFile/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/955e94e9b890cccf0cba06f48e6afe1e7d9ed46c145d1888f85476e01bedc15b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42616261636f6f6c6c2f5465787446696c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Babacooll/TextFile/?branch=master)[![Build Status](https://camo.githubusercontent.com/09244fcc6f49e1200ed1e992c9df6fec31dd145a2e32244eddc48868aefd9381/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42616261636f6f6c6c2f5465787446696c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Babacooll/TextFile/build-status/master)[![Latest Stable Version](https://camo.githubusercontent.com/5fad028191d56cd508a5f2e97f4f35f7c9279a26b8dd5cf842e5e13cbfa5cda5/68747470733a2f2f706f7365722e707567782e6f72672f6d69636861656c67617272657a2f746578742d66696c652f762f737461626c65)](https://packagist.org/packages/michaelgarrez/text-file)[![Total Downloads](https://camo.githubusercontent.com/2abff6594097760165d3302dc501d7720bc7d653e7bc4a06830eeca6bbe651b9/68747470733a2f2f706f7365722e707567782e6f72672f6d69636861656c67617272657a2f746578742d66696c652f646f776e6c6f616473)](https://packagist.org/packages/michaelgarrez/text-file)[![License](https://camo.githubusercontent.com/8e9895648106209451c7874b06988e5c5caae7b4432197864d4ddc146ca88bec/68747470733a2f2f706f7365722e707567782e6f72672f6d69636861656c67617272657a2f746578742d66696c652f6c6963656e7365)](https://packagist.org/packages/michaelgarrez/text-file)

Introduction
------------

[](#introduction)

This library eases manipulation of text files in PHP by providing multiple methods to read / parse / write text files.

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

[](#installation)

```
composer install michaelgarrez/text-file
```

Basics
------

[](#basics)

### Opening a file

[](#opening-a-file)

```
