定制 galter/laravel-postman-export-onepulse 二次开发

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

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

galter/laravel-postman-export-onepulse

Composer 安装命令:

composer require galter/laravel-postman-export-onepulse

包简介

Export your Laravel routes to a Postman collection .json file

README 文档

README

Updates:

  1. It's a Package created with Dingo Router to OnePulse internal use. Fork and rewrite as you wish.
  2. Postman collection scheme
  3. Artisan consol commands
  4. Can post project URL address via console
  5. Basic file name change to postman_collection.json
  6. Exporting @descriptions / @desc / @des
  7. Exporting @params

Installation

Install via composer:

composer require --dev galter/laravel-postman-export-onepulse

Add the service provider to your providers array in config/app.php

galter\LaravelPostmanExportOnePulse\PostmanServiceProvider::class,

That's all!

Usage

php artisan postman:export

This will create a postman_collection.json inside your storage/app folder. You are free to change the name of the file by specifying the filename as follows:

php artisan postman:export --name=MyAppName --api

phpdoc Code rules

@var

`class Foo { /**

  • @var string $name Should contain a description
  • @var string $description Should contain a description */ protected $name, $description; }`

@param

` /**

  • Counts the number of items in the provided array.
  • @param mixed[] $items Array structure to count the elements of.
  • @return int Returns the number of elements. */ function count(array $items) { <...> } `

@return

`/**

  • @return integer Indicates the number of items. */ function count() { <...> }`

@description

phpdoc.org

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-02-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固