ambika/php-reader

There is no license information available for the latest version (dev-master) of this package.

This package is used to parse php array files in php.

dev-master 2019-12-30 09:42 UTC

This package is not auto-updated.

Last update: 2025-06-10 00:20:01 UTC


README

This package will parse Php array files or language file's used in php for localization purpose.

Quick Installation

$ composer require ambika/php-reader

Simple example

$path = Storage::putFileAs('files', $file, $fileName);
$reader = new \Ambika\PhpParser\Reader\PhpReader();
return $reader->load(storage_path('app/'.$path));

This will return an key value pair of the file content.

If the content of the file is not valid then this will return an error.