IDE Code Completion for PHP Client

code

#1

Hi. I’m currently using PHPStorm as my IDE and have managed to find 2 stub libraries for code completion (being those from HERE and HERE) but these libraries are out of date with some of the new features of Aerospike and don’t include things like LLIST / other LDT elements etc.

Are there plans to release and official Aerospike stub / library for code completion in IDE’s at all?


#2

Hey Craig. Yes, I’m in progress on that. It’s a stub that is PHPDoc annotated, so it should work for your IDE, and also useful for generating an API reference. The markdown pages in the GitHub repo will be removed when this is done.


#3

Okay great - thanks for the update Ronen


#4

Any update on this @rbotzer?


#5

It’s a pretty tedious process, and I hack at it when I have free time. It’s quite close to being finished.


#6

Hello Crags.

I’ll update the IDE Stubs as soon as I can.


#7

I’ve updated the Aerospike stubs right now


#8

The API documentation is now hosted on our site at https://www.aerospike.com/apidocs/php/

Within the client repo itself there is a PHP stub under docs/phpdoc. You can import the stub into your IDE for auto-completion, or build the API documentation using phpDocumentor

phpdoc run -v -d phpdoc/ -t html/