定制 anteris-dev/autotask-client-generator 二次开发

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

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

anteris-dev/autotask-client-generator

Composer 安装命令:

composer require anteris-dev/autotask-client-generator

包简介

This package is the brains behind the Autotask API client. It generates each service class using the Autotask API as its guide.

README 文档

README

This package is the brains behind the Autotask API client. It generates each service class using the Autotask API as its guide.

To Install

Run composer require --dev anteris-dev/autotask-client-generator

Commands

This package provides command line commands. These are listed below.

Make Endpoint

Running vendor/bin/autotask make:endpoint <entity> will create new endpoint classes for <entity>. <entity> should be the singular or plural form of an Autotask endpoint (e.g. "Ticket" or "Tickets" respectively).

You may pass the argument --output=<directory> to set the directory to write these classes in.

You may pass the argument --force to overwrite existing classes.

You may pass the argument --no-cache to redownload the entity information from Autotask.

Make Defaults

Running vendor/bin/autotask make:defaults will create new endpoint classes for all known Autotask endpoints.

You may pass the argument --output=<directory> to set the directory to write these classes in.

You may pass the argument --force to overwrite existing classes.

You may pass the argument --no-cache to redownload the entity information from Autotask.

Make Support Files

Running vendor/bin/autotask make:support-files will generate support classes that are used across multiple domains. Examples of these classes are http clients, entity classes, etc.

You may pass the argument --output=<directory> to set the directory to write these classes in.

You may pass the argument --force to overwrite existing classes.

Directory Structure

  • /bin - Contains the command line logic for the autotask command.
  • /src - Contains the generator source code.
    • /Commands - Contains any Symfony commands that the autotask command supports.
    • /Generators - Contains classes concerned with converting entity information into an actual class.
    • /Helpers - Contains static function helpers that are used throughout the package.
    • /Responses - Contains data transfer objects for storing the entity information responses from Autotask.
    • /Support - Contains any classes used across multiple domains.
    • /Writers - Contains classes concerned with writing strings to files.
    • Generator.php - The main generator class. In charge of everything.
  • /templates - Contains Twig templates for the generated package.
    • /Package - These templates are related to the actual package.
    • /Tests - These templates are related to the package tests.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2020-08-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固