thomzee/generavel 问题修复 & 功能扩展

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

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

thomzee/generavel

最新稳定版本:1.0.0

Composer 安装命令:

composer require thomzee/generavel

包简介

Laravel API Crud Generator

README 文档

README

This package basically an API CRUD generator to boost your speed throughout laravel project development. You whether generate all files required for your project or partial file.

Installation

You can choose one of those two installation methods freely.

1. Automatic Installation

Go into your project root folder laravel

cd YOUR_LARAVEL_ROOT_PROJECT/

then get the latest version of Generavel on your project with following command.

composer require thomzee/generavel

2. Manual Installation

Alternatively, you can update your composer.json file, just like code below

"require": {
    . . .
    "thomzee/generavel": "1.*"
},

b. then run composer install command.

Register Service

Firstly you need register the service provider your project configuration file config/app.php

'providers' => [
    . . .
    Thomzee\Generavel\GeneravelServiceProvider::class,
]

Run composer dump-autoload command to update changes in your project configuration file.

composer dump-autoload

API CRUD Generator

Make sure Generavel commands is registered by running this command

php artisan list

these are commands you can try

php artisan generavel:all Flight
php artisan generavel:model Flight
php artisan generavel:controller FlightController
php artisan generavel:mapper FlightMapper
php artisan generavel:create-request Flight
php artisan generavel:update-request Flight

then simply adjust your model, controller, and form request.

License

This package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-27