定制 phiber/myo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

phiber/myo

Composer 安装命令:

composer require phiber/myo

包简介

PHP Phiber command line tool

README 文档

README

Phiber's Command Line Tool v0.6.5

Usage:

myo <comand> <flag> [[--option1 value][--option2 = value]...] -- arg1 arg2 ...

Flags:

-i		Preserve case otherwise files will always be created in lowercase
-g		Generate entity files when used with myo entity

Commands:

   version		Prints the version number

app		Creates a new Phiber application
    
	 Usage:
	 
	 myo app <appname>
	 
	 Options:
	 
	 --app-path		Specify the application path
	 
entity		Creates an entity file or generate entities from db with -g

	 Usage:
	 
	 myo entity <entity name>
	 
	 Creates an empty entity file
	 
	 

	 myo entity -g 		

	 Generates entity files from the database

	 with no options it will use your config to access the db and

	 put the files into the entity folder

	 options:

	 --db-driver 		 The driver of your database (defaults to mysql)
	 --db-dsn 		 The dsn of your db
	 --db-host 		 Database host
	 --db-name 		 Database name, overides --db-dsn
	 --db-user 		 Database username
	 --db-pass 		 Database password
	 --entity-path 		 The folder to put generated files in
	 


ext		Creates myo extensions.

	 Usage:

	 myo ext <extension name>

	 The new extension will be used as a command:

	 myo <extension name>


help		Provides more information about commands.

	 Usage:

	 myo help <command>


mvc		Creates different parts of the MVC layout.

	 mvc <flag> [option]

	 Options:

	 --module <module name>

	 Creates a module and defaults to module 'default'


	 --controller <controller name>

	 Creates a controller and defaults to 'index'


	 --model <model name>

	 Creates a model


	 --action <action name>

	 Creates an action for a given controller

version		Prints the current version of Myo

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固