Skip to content

Commit

Permalink
read me modified
Browse files Browse the repository at this point in the history
  • Loading branch information
nifrasismail committed Mar 18, 2019
1 parent 04268f9 commit 6481bef
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#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
```php
use Nertlab\FileRead\FileProcessor\Read;
Expand All @@ -15,7 +14,6 @@ $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
```php
use Nertlab\FileRead\FileProcessor\Read;
Expand Down

0 comments on commit 6481bef

Please sign in to comment.