Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The PHP AST Viewer is a tool for viewing the Abstract Syntax Tree of PHP code. By visualizing the structure, it helps developers gain a deeper understanding of the code, thus improving code quality and maintenance efficiency.

License

RightCapitalHQ/php-ast-viewer

Repository files navigation

PHP AST Viewer

The PHP AST Viewer is a tool for viewing the Abstract Syntax Tree of PHP code. By visualizing the structure, it helps developers gain a deeper understanding of the code, thus improving code quality and maintenance efficiency.

image

Getting Started

First, run commands by this sequence for development server:

composer install
pnpm install
pnpm dev

Open http://localhost:3000 with your browser to see the page.

or

pnpm all-in-one # This command runs the above three commands.

After the development server is running, use the following command to copy the vendor folder to .next/server/

pnpm copy-vendor

The purpose is to copy the php-parser dependency into the Next.js server folder.

Demo video

demo.mp4

About

The PHP AST Viewer is a tool for viewing the Abstract Syntax Tree of PHP code. By visualizing the structure, it helps developers gain a deeper understanding of the code, thus improving code quality and maintenance efficiency.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /