2017 © Pedro Peláez
 

library php-reflect

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

image

bartlett/php-reflect

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  • Monday, January 1, 2018
  • by llaville
  • Repository
  • 6 Watchers
  • 52 Stars
  • 25,048 Installations
  • PHP
  • 3 Dependents
  • 1 Suggesters
  • 10 Forks
  • 1 Open issues
  • 37 Versions
  • 5 % Grown

The README.md

Latest Stable Version Minimum PHP Version) EOL, (*1)

PHP Reflect

PHP Reflect is a library that adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more., (*2)

Running on PHP greater than 7.1 for parsing source code in a format PHP 5.2 to PHP 7.4, (*3)

Requirements

  • PHP 7.1.3 or greater
  • PHPUnit 7 or greater (if you want to run unit tests)

Installation

The recommended way to install this library is through composer. If you don't know yet what is composer, have a look on introduction., (*4)

composer require bartlett/php-reflect

Build PHAR distribution

To build PHAR distribution, you'll need to get a copy of this project https://github.com/humbug/box, (*5)

WARNING: Don't forget to run following command (before compiling archive), if you want to have a PHAR manifest up-to-date !, (*6)

php phar-manifest.php > manifest.txt

Run following command, (*7)

box.phar compile

You should get output that look like, (*8)

Box version 3.8.4@120b0a3 2019-12-13 17:22:43 UTC

 // Loading the configuration file "/shared/backups/bartlett/php-reflect/box.json.dist".

🔨  Building the PHAR "/shared/backups/bartlett/php-reflect/bin/phpreflect.phar"

? No compactor to register
? Adding main file: /shared/backups/bartlett/php-reflect/bin/phpreflect
? Adding requirements checker
? Adding binary files
    > No file found
? Auto-discover files? No
? Exclude dev files? No
? Adding files
    > 890 file(s)
? Using stub file: /shared/backups/bartlett/php-reflect/phar-stub.php
? Skipping dumping the Composer autoloader
? Removing the Composer dump artefacts
? Compressing with the algorithm "GZ"
    > Warning: the extension "zlib" will now be required to execute the PHAR
? Setting file permissions to 0755
* Done.

No recommendation found.
No warning found.

 // PHAR: 916 files (987.43KB)
 // You can inspect the generated PHAR with the "info" command.

 // Memory usage: 20.52MB (peak: 21.40MB), time: 1sec

Documentation

The documentation for PHP Reflect 4.2 is available in English to read it online or download to read it later (multiple formats)., (*9)

AsciiDoc source code are available on docs folder of the repository., (*10)

Contributors

  • Laurent Laville (Lead Dev)
  • Thanks to Nikita Popov who wrote a marvellous PHP Parser and simplify the job of PHP Reflect.
  • Thanks also to Remi Collet, a contributor of first hours.

, (*11)

License

This project is licensed under the BSD-3-Clause License - see the LICENSE file for details, (*12)

The Versions

12/05 2015

2.6.x-dev

2.6.9999999.9999999-dev http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

15/04 2015

2.6.3

2.6.3.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

05/01 2015

2.6.2

2.6.2.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

03/12 2014

2.6.1

2.6.1.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

13/11 2014

2.6.0

2.6.0.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

16/10 2014

2.5.0

2.5.0.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

19/09 2014

2.4.0

2.4.0.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

21/08 2014

2.3.0

2.3.0.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

24/07 2014

2.2.0

2.2.0.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

04/07 2014

2.1.0

2.1.0.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

04/04 2014

2.0.0

2.0.0.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

24/03 2014

2.0.0RC3

2.0.0.0-RC3 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

12/10 2013

1.9.0

1.9.0.0 http://php5.laurent-laville.org/reflect/

Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-tokenizer *
  • ext-pcre *
  • ext-spl *