There was an error while loading. Please reload this page.
Padawan.php package provides 2 command line scripts:
padawan
padawan-server
#padawan-server
There are 4 urls:
/complete
/save
/kill
/load
You can find all routes here
HTTP request format:
POST /complete?filepath=%FILEPATH%&line=%LINENUMBER%&column=%COLUMNNUMBER%&path=%PROJECTROOT% %FILECONTENTS%
Where:
HTTP response:
{ "completion": [ { "description": "%SYMBOL_DESCRIPT%", "menu": "%SYMBOL_NAME_FOR_MENU%", "name": "%SYMBOL_NAME%", "signature": "%SYMBOL_SIGNATURE%" } ], "context": [] }
There are 3 cli commands:
You can find all commands here
Plugin command accepts 2 arguments: action( add or remove ) and plugin name( e.g. mkusher/padawan-symfony ).
add
remove
mkusher/padawan-symfony
Generate command doesn't have arguments, it will generate index for a project of the current working directory.