PHPackages                             prune-mazui/zephir-ide-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. prune-mazui/zephir-ide-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

prune-mazui/zephir-ide-helper
=============================

Generate php code completion file from zephir file(.zep).

1.2(8y ago)5501[1 PRs](https://github.com/PruneMazui/zephir-ide-helper/pulls)MITPHPPHP &gt;=7.0

Since Nov 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/PruneMazui/zephir-ide-helper)[ Packagist](https://packagist.org/packages/prune-mazui/zephir-ide-helper)[ Docs](https://github.com/PruneMazui/zephir-ide-helper)[ RSS](/packages/prune-mazui-zephir-ide-helper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

zephir-ide-helper
=================

[](#zephir-ide-helper)

[![Build Status](https://camo.githubusercontent.com/c10df396229a0c3fcd26c2b12bd0e6ccf64eb8e1933d7427e337b81c48e44f3f/68747470733a2f2f7472617669732d63692e6f72672f5072756e654d617a75692f7a65706869722d6964652d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PruneMazui/zephir-ide-helper)[![Coverage Status](https://camo.githubusercontent.com/bdbb7c4a49689bc0b0b7096487d262fd325f4389f0df94f8b881bb478a4175d0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f5072756e654d617a75692f7a65706869722d6964652d68656c7065722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/PruneMazui/zephir-ide-helper?branch=master)

Generate php code completion file from zephir file(.zep).

The code completion file is valid in the IDE (ex. PHPStorm).

Example
-------

[](#example)

Zephir Code

```
namespace PruneMazui\ZephirSample;

/**
 * Sample class Greeting
 */
class Greeting
{
    protected message = "hello world" { set, toString };

    /**
     * constructor
     *
     * @param string optional message
     */
    public function __construct(string message = null)
    {
        if message !== null {
            let this->message = message;
        }
    }

    /**
     * Output Message to stdout
     */
    public function say()
    {
        echo this->message;
    }
}

```

Generate PHP Code

```
