Skip to content

基于phalcon/devtools 3.4 扩展的创建项目工具,扩展了适合我自己使用的项目结构

License

Notifications You must be signed in to change notification settings

yanggenxin520wgy/phalcon-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phalcon-project

基于phalcon/devtools 3.4 扩展的创建项目工具,扩展了适合自己使用的项目结构

环境要求

  • PHP>=7.2
  • Phalcon >=3.4
  • Phalcon/devtools >=3.4
  • vlucas/phpdotenv >=2.4
  • composer >=2.0

通过composer安装

composer require fe/phalcon-project

或者创建一个composer.json文件

{
    "require": {
        "phalcon-project": "~1.0"
    }
}

然后执行:

composer install

用法

进到工具src目录,然后执行

php index.php
$ php index.php

Project Version (1.0.0)

Available commands:
  info             (alias of: i)                       -显示环境信息
  commands         (alias of: list, enumerate)         -列举所有支持的命令
  controller       (alias of: create-controller)       -创建controller文件
  module           (alias of: create-module)           -创建一个新模块
  model            (alias of: create-model)            -创建model文件
  all-models       (alias of: create-all-models)       -根据数据库表创建所有的model文件
  project          (alias of: create-project)          -创建新项目
  migration        (alias of: create-migration)        -创建数据库迁移文件

LICENSE

It is open source software licensed under the MIT.

About

基于phalcon/devtools 3.4 扩展的创建项目工具,扩展了适合我自己使用的项目结构

Resources

License

Stars

Watchers

Forks

Packages

No packages published