Download the PHP package voku/simple-php-code-parser without Composer
On this page you can find all versions of the php package voku/simple-php-code-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download voku/simple-php-code-parser
More information about voku/simple-php-code-parser
Files in voku/simple-php-code-parser
Package simple-php-code-parser
Short Description Get a simple data structure from your php code.
License Apache-2.0
Homepage https://github.com/voku/Simple-PHP-Code-Parser
Informations about the package simple-php-code-parser
❤ Simple PHP Code Parser
You can simply scan a string, a file or a full directory and you can see a simple data structure from your php code.
- Classes (PHPClass)
- Properties (PHPProperties)
- Constants (PHPConst)
- Methods (PHPMethod)
- Interfaces (PHPInterface)
- Traits (PHPTrait)
- Functions (PHPFunction)
- Parameter (PHPParameter)
This code is forked from JetBrains/phpstorm-stubs but you can't use the classes from "phpstorm-stubs" directly, because they are in a test namespace and the autoloader is "autoload-dev", so here is a extended version.
We will use:
Install via "composer require"
Quick Start
Parse a string:
Parse one class: `
Parse one file: `
Parse many files: `
Support
For support and donations please visit Github | Issues | PayPal | Patreon.
For status updates and release announcements please visit Releases | Twitter | Patreon.
For professional support please contact me.
Thanks
- Thanks to GitHub (Microsoft) for hosting the code and a good infrastructure including Issues-Managment, etc.
- Thanks to IntelliJ as they make the best IDEs for PHP and they gave me an open source license for PhpStorm!
- Thanks to Travis CI for being the most awesome, easiest continous integration tool out there!
- Thanks to StyleCI for the simple but powerfull code style check.
- Thanks to PHPStan && Psalm for really great Static analysis tools and for discover bugs in the code!
All versions of simple-php-code-parser with dependencies
react/async Version ~3.0.0 || ~4.1.0
react/filesystem Version ^0.2@dev
phpdocumentor/type-resolver Version ~1.7.2
phpdocumentor/reflection-docblock Version ~5.3
phpdocumentor/reflection-common Version ~2.2
phpstan/phpdoc-parser Version ~1.23
voku/simple-cache Version ~4.1
nikic/php-parser Version ~4.16