probonolabs/laravel-api-generator 问题修复 & 功能扩展

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

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

probonolabs/laravel-api-generator

Composer 安装命令:

composer require probonolabs/laravel-api-generator

包简介

Laravel command which rapidly creates single file controllers, requests and resources

README 文档

README

Total Downloads Latest Stable Version License

This package contains one single command: php artisan make:api {name} which creates a complete CRUD resource.

Each CRUD resource contains:

  • Single Action Controller: Index, Get, Create, Update and Delete
  • Custom request for each controller
  • Custom resource
  • Model and migration
  • Routes

Publish this package config if you want to change the base controller, request, resource or add default route middleware.

Installation

You can install the package via composer:

composer require probonolabs/laravel-api-generator --dev

Usage

You can create an API resource by using this command:

php artisan make:api Student

Create a nested API resource by using this command:

php artisan make:api Student/Training

Optional provide --routes to append CRUD routes in your api.php file

php artisan make:api Student --routes

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固