承接 marionassef/laravel-crud-generator 相关项目开发

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

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

marionassef/laravel-crud-generator

Composer 安装命令:

composer require marionassef/laravel-crud-generator

包简介

Generate Crud in Laravel

README 文档

README

Licence

This package helps Backend developers to speed up creating dashboard and apis using command line Here's how you use it, let's say we have news module so all you have to do is Run the following command in your terminal:

php artisan generate:adminModule News

that will create the following:

1.controller with crud functions

2.crud views

3.routes for crud

4.api controller with crud functions

5.model

6.transformer

7.migration file

Installation

Begin by installing the package through Composer. Run the following command in your terminal:

composer require marionassef/laravel-crud-generator

The package will automatically register a service provider and alias.

but you have to publish the package's files by running:

php artisan vendor:publish --provider="MarioNassef\LaravelCrudGenerator\LaravelCrudGeneratorServiceProvider"

that will publish the assets views for admin panel and helper files

Usage

run php artisan make:auth

this will ask you if you want to replace home view don't replace if you accidentally replace the file it's okay Download home.blade from src and replace it

by running: php artisan you will find the following commends:

generate:adminModule {name}

I had described that above

generate:adminController {name}

that will just create admin controller with crud functions

generate:adminModel {name}

that will just create model

generate:adminRoutes {name}

that will just append routes for crud functions in web.php

generate:adminTransformer {name}

that will just create Transformer

generate:adminViews {name}

that will just create views

generate:apiController {name}

that will just create api Controller with crud functions

you need to add tabs for the modules you generated to menu file you will find it in views/common

that all.

Please Note

this package use abstract transformer from

Here

thanks for Mohamed Said

for any comment or issue please don't hesitate to contact me:developer.mario.nassef@gmail.com

happy coding

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固