这是一个PHP命令行工具包,为开发者提供了生成PHP相关文件(如类和.ini文件)的手段,包括各种简单和复杂程度。

1.0.0 2017-01-02 06:28 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:09:36 UTC


README

Latest Release Version Tag Usage License

描述

这是一个PHP命令行工具包,提供了一些有用的函数,使得创建PHP相关文件变得更容易、更快,同时保持严格的视觉文件数据一致性。

依赖关系

安装

	$	composer require gavinggordon/helphp ^1.0.0

用法

	$	php helphp create:class Test

命令概览

  • 创建
    • 通用类
      • 参数
        • 'classname'
        • 'savedir'
      • 选项
        • '--namespace, -n'
        • '--uses, -u'
        • '--extends, -e'
        • '--implements, -i'
        • '--traits, -t'
        • '--singleton, -s'
        • '--magic-set-get, -m'
        • '--constants, -c'
        • '--public-properties, -p'
        • '--protected-properties, -r'
        • '--private-properties, -w'
        • '--public-static-properties, -x'
        • '--protected-static-properties, -y'
        • '--private-static-properties, -z'
    • 抽象类(《仍在生产中》)
    • 接口(《仍在生产中》)
    • 特质(《仍在生产中》)
  • 审查(《仍在生产中》)
  • 更新(《仍在生产中》)
  • 删除(《仍在生产中》)

问题

如果您有任何问题,请将您的发现发布在https://github.com/gavinggordon/helphp/issues的问题页面上。

许可证

本软件包使用MIT许可证。