Code completion for php extension

I'm using a php extension called Imagick. I would love to have php completion for that class, Is that possibly at all? In the manual all functions and arguments are defined, http://php.net/manual/en/book.imagick.php
I can't find any phpdoc but i wonder how I could make phpstorm to have code completion for that class. Is there any tool that can parse this information?

6 comments
Comment actions Permalink


Or, you can do that I did. Make your own, like I did for Microsoft's PHP Driver for MySQL, and then just put it in your project (or a shared library directory.)



Attachment(s):
sqlsrv.php.zip
0
Comment actions Permalink

By adding a shared library directory with sqlsrv.php 
can I connect to SQL Server ?  
Does that provide PDO driver to SQL server with this driver ?

0
Comment actions Permalink

Not sure what you mean, unfortunately. Here's a corresponding guide if you need one.

0
Comment actions Permalink

>By adding a shared library directory with sqlsrv.php 
>can I connect to SQL Server ?  
>Does that provide PDO driver to SQL server with this driver ?

No.

This file is just stub file -- a limited PHP version of functions (empty bodies) that are provided by actual sqlsrv extension -- it can be used here by IDE to be aware of what functions that extension provides (so that it does not complain about unknown function).

Plus, this stub file is for non-PDO version of a sqlsrv driver.

Actual extension can be found here: https://github.com/Azure/msphpsql/releases

0

Please sign in to leave a comment.