承接 phpblueprint/mocker 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

phpblueprint/mocker

Composer 安装命令:

composer require phpblueprint/mocker

包简介

PHPBlueprint Mocker Component

README 文档

README

Easily create and deploy code without rewriting common structures

Create mockable templates for any PHP code and easily deploy new class structures, models, components, etc.

Installation/Setup

Install the mocker component using composer

$ composer require phpblueprint/mocker

Easily create a blueprint of existing classes by added a basic @example tag to the document header

/**
 * Class documentation haeder example
 *
 * @example
 * class CLASSNAME extends \Blueprint\Http\Rest\Client {
 *      protected $param = 'FOO';
 *      public function __construct() {
 *
 *      }
 * }
 *
 * @author Damien Rose <br0kenb1nary@users.noreply.github.com>
 */

Usage

To create a new mocker of that class, run the blueprint command with the namespace\class that contains the template document header : the name of the new class you are creating

composer blueprint \Namespace\With\Class:NewClassName

Once done, your root directory will contain a new file with mocked code template.

TODO

  • improve code cleanliness
  • add default namespace support
  • add shortname support
  • add config options to PHPBlueprint json

If you plan on using PHPBlueprint, any of its components, or if you plan on designing new components following the PHPBlueprint concept, share it and make sure to include PHPBlueprint in a mention or contributor thanks.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固