buonzz / patos

PHP AST to SQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP AST to SQL

Tool to parse PHP Source code and store the data collected into a MySQL Database. You can then explore, query the database to understand more about the codebase.

Requirements

  • PHP v7.4.1 or higher

Why?

It detects the following list in your source code:

  • classes
  • list of methods within those classes
  • user-defined constants currently in-use, and where they are used
  • functions
  • array-key values

Installation

composer install

Run

./bin/patos 

Build

./build.sh

About

PHP AST to SQL

License:Other


Languages

Language:PHP 99.4%Language:Shell 0.6%