PHPackages                             nertlab/file-read - 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. nertlab/file-read

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

nertlab/file-read
=================

Reading Files

1.0.0(7y ago)18MITPHP

Since Mar 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nifrasismail/ReadFile)[ Packagist](https://packagist.org/packages/nertlab/file-read)[ RSS](/packages/nertlab-file-read/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Read Text Files - FileRead Packagist
====================================

[](#read-text-files---fileread-packagist)

This package helps to convert any text file to array. So it is makes life easier to read the file in array format.

Usage
=====

[](#usage)

where ever you need to read the file just adding the path of the text file as follow. usually people put their files on storage directory of laravel

```
use Nertlab\FileRead\FileProcessor\Read;

$contents = (new Read())->readFile(storage_path('app/myFile.txt'));
```

By default we are set delimiters of line are `\n` and word delimiter as`\t`you can by pass this as follow

```
use Nertlab\FileRead\FileProcessor\Read;

$contents = (new Read())->readFile(storage_path('app/myFile.txt'), "\n", "\t");
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2614d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c7a3c371ac1a2e160386246a3d0ec69c30b917449ff38619d85b9a2a8999129?d=identicon)[nifrasismail@gmail.com](/maintainers/nifrasismail@gmail.com)

---

Top Contributors

[![nifrasismail](https://avatars.githubusercontent.com/u/6188636?v=4)](https://github.com/nifrasismail "nifrasismail (3 commits)")

### Embed Badge

![Health badge](/badges/nertlab-file-read/health.svg)

```
[![Health](https://phpackages.com/badges/nertlab-file-read/health.svg)](https://phpackages.com/packages/nertlab-file-read)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
