deepaktiwari/php-cmds 问题修复 & 功能扩展

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

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

deepaktiwari/php-cmds

最新稳定版本:v2.1.1

Composer 安装命令:

composer require deepaktiwari/php-cmds

包简介

Simple PHP command for generating files following the MVC architecture, similar to Laravel's Artisan command. Easily create models, controllers, and views as per your needs

README 文档

README

This is a simple PHP command utility for generating files based on the MVC architecture, akin to Laravel's Artisan command. It allows you to effortlessly create models, controllers, and views tailored to your requirements.

1. PHP Installation

Ensure that PHP (version 7.x or higher) is installed on your system.

2. Composer Installation

Composer is required as the PHP package manager. If it's not already installed, follow these instructions.

3. Installing the Package

Run the following command in your project directory:

composer require deepaktiwari/php-cmds

4. Post-Installation Command

After installation, execute the following command in your directory:

php vendor/deepaktiwari/php-cmds/src/framework Your-Command-Name

5. Executing PHP Commands

You're now ready to use your PHP commands. Here's an example:

php Your-Command-Name -d=app -c=ControllerName -m=ModelName -v=ControllerName/ActionName

Note: For the view file, you can specify the folder and file name according to your needs. If you use capital letters in the view's name, they will be converted to lowercase with dashes.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-20