承接 hadyfayed/larawiz 相关项目开发

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

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

hadyfayed/larawiz

Composer 安装命令:

composer require hadyfayed/larawiz

包简介

Generate your app with simple YAML files.

README 文档

README

Artem Maltsev - Unsplash #3n7DdlkMfEg

Latest Version on Packagist License Coverage Status

Larawiz

The Laravel 8 scaffolder you wanted but never got, until now!

Use a single YAML file to create models, migrations, factories, seeders, pivot tables... everything with braindead easy syntax.

Requirements:

  • PHP 7.3, or PHP 8
  • Laravel 8.x

Install:

Install this package using Composer directly inside your development packages.

composer require larawiz/larawiz --dev

Usage

If is your first time using Larawiz, publish the sample YAML files into the larawiz/ directory:

php artisan larawiz:sample

Check it out and play with it. Once you're done, scaffold your project with this artisan command:

php artisan larawiz:scaffold

Larawiz will automatically create the files needed to set up your project like magic.

Safety first

Larawiz will automatically copy your app and some of your database directories as backups every time you scaffold. It only deletes the migrations folder.

You can find it in your application default storage path under the storage/larawiz/backups directory, and copy them over your project directory if you need to "backtrack" on something.

Generating your app

Larawiz uses braindead easy syntax, so you shouldn't need to read the docs:

models:
  Author:
    name: string
    email: string
    password: string
    publications: hasMany

  Publication:
    title: string
    body: longText
    author: belongsTo

...but if you want more customization, go ahead to the documentation since it explains everything: table names, fillable properties, pivot models, primary keys, timestamps, soft-deletes, factories, etc.

License

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

Laravel is a Trademark of Taylor Otwell. Copyright © 2011-2021 Laravel LLC.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固