prune-mazui/zephir-ide-helper 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

prune-mazui/zephir-ide-helper

Composer 安装命令:

composer require prune-mazui/zephir-ide-helper

包简介

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

README 文档

README

Build Status Coverage Status

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

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

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

<?php
namespace PruneMazui\ZephirSample
{
    /**
     * Sample class Greeting
     */
    class Greeting
    {
        protected $message;

        public function setMessage($message)
        {}

        public function __toString()
        {}

        /**
         * constructor
         *
         * @param string optional message
         */
        public function __construct(string $message = null)
        {}

        /**
         * Output Message to stdout
         */
        public function say()
        {}
    }
}

Requirements

Installation

composer require prune-mazui/zephir-ide-helper

Usage

vendor/bin/zephir-ide-helper [-option] target

Arguments

target

Specify the Zephir file or directory.
If you specify a directory, read the directory recursively and look for the Zephir file.

-option

  • -f(--file) ... Specify the PHP file name to output(Default: __zephir_ide_helper.php).

Licence

MIT

统计信息

  • 总下载量: 50
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固