Download the PHP package ensostudio/reflection-file without Composer
On this page you can find all versions of the php package ensostudio/reflection-file. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ensostudio/reflection-file
More information about ensostudio/reflection-file
Files in ensostudio/reflection-file
Download ensostudio/reflection-file
More information about ensostudio/reflection-file
Files in ensostudio/reflection-file
Vendor ensostudio
Package reflection-file
Short Description Reports information about a PHP file: constants, functions, interfaces, traits and classes
License MIT
Package reflection-file
Short Description Reports information about a PHP file: constants, functions, interfaces, traits and classes
License MIT
Please rate this library. Is it a good library?
Informations about the package reflection-file
About
Class reflect information about entities in PHP file: constants, functions, interfaces, traits and classes.
Usage example
Data bridge from PHP to third-party Java/С/Pascal applications:
#!/usr/bin/php
if (dirname($file) === '.') {
$file = getcwd() . '/' . $file;
}
if (!file_exists($file)) {
$response['error'] = "File {$file} not found";
die(json_encode(response));
}
$response['status'] = 'success';
$response['data'] = Ensostudio\ReflectionFile::export($file, true);
echo json_encode(response);
Install
composer require ensostudio\reflection-file
license
MIT
All versions of reflection-file with dependencies
PHP Build Version
Package Version
The package ensostudio/reflection-file contains the following files
Loading the files please wait ....