From e317dd23fb5a897468b6d136ec193cfc7d56a59d Mon Sep 17 00:00:00 2001 From: Vadym Slizov Date: Wed, 6 Mar 2019 10:35:38 +0200 Subject: [PATCH] Update README.md --- README.md | 69 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index c932164..16dec24 100644 --- a/README.md +++ b/README.md @@ -23,38 +23,7 @@ Features: - Parsing syntax-invalid PHP files - Saving and printing free-floating comments and whitespaces -Roadmap -------- - -- Control Flow Graph (CFG) -- PhpDocComment parser -- Stabilize api - -Install -------- - -``` -go get github.com/z7zmey/php-parser -``` - -CLI ---- - -``` -php-parser [flags] ... -``` - -| flag | type | description | -|-------|------|----------------------------------------------| -| -d |string| dump format: [custom, go, json, pretty-json] | -| -r | bool | resolve names | -| -ff | bool | parse and show free floating strings | -| -prof |string| start profiler: [cpu, mem, trace] | -| -php5 | bool | parse as PHP5 | - -Dump AST to stdout. - -Example +Usage example ------- ```Golang @@ -91,6 +60,42 @@ func main() { } ``` +Who Uses +-------- + +[VKCOM/noverify](https://github.com/VKCOM/noverify) - NoVerify is a pretty fast linter for PHP + +Roadmap +------- + +- Control Flow Graph (CFG) +- PhpDocComment parser +- Stabilize api + +Install +------- + +``` +go get github.com/z7zmey/php-parser +``` + +CLI +--- + +``` +php-parser [flags] ... +``` + +| flag | type | description | +|-------|------|----------------------------------------------| +| -d |string| dump format: [custom, go, json, pretty-json] | +| -r | bool | resolve names | +| -ff | bool | parse and show free floating strings | +| -prof |string| start profiler: [cpu, mem, trace] | +| -php5 | bool | parse as PHP5 | + +Dump AST to stdout. + Namespace resolver ------------------