yiiman/yii2-app-console 问题修复 & 功能扩展

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

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

yiiman/yii2-app-console

Composer 安装命令:

composer create-project yiiman/yii2-app-console

包简介

Simple Yii 2 Console Project Template

README 文档

README

Simple Yii 2 Console Project Template is a skeleton Yii 2 application best for rapidly creating console applications.

DIRECTORY STRUCTURE

  commands/           contains console commands (controllers)
  config/             contains application configurations
  mail/               contains view files for e-mails
  models/             contains model classes  
  runtime/            contains files generated during runtime
  vendor/             contains dependent 3rd-party packages

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 7.4.

INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
php composer.phar create-project --prefer-dist --stability=dev yiiman/yii2-app-console console

CONFIGURATION

Config DataBase

Change .env-example name to .env

Edit the file .env with real data

Use commands

Type php yii in console to see commands

NOTE:

  • Yii won't create the database for you, this has to be done manually before you can access it.

Learning and usage

Lesson 1

Install this project: Create console app with php

Lesson 2

Create first custom command on console: Create console app with php - custom command

Lesson 3

Crawl simple data from Github pages Create console app with php - Crawl simple data from Github pages

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2022-04-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固