定制 subscribo/schemabuilder 二次开发

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

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

subscribo/schemabuilder

Composer 安装命令:

composer require subscribo/schemabuilder

包简介

Schema builder for building models, migrations, etc from schema

README 文档

README

Schema builder for building models, migrations, etc from schema

Installation

  1. Add the following to your project's composer.json:

1.1 Repository containing this package (note: you need to have access to this repository as well as to resources it points to)

1.2 Dependency under "require" or "require-dev" keys

    "subscribo/schemabuilder": "^0.1.0"

1.3 To use with Laravel add

    '\\Subscribo\\SchemaBuilder\\SchemaBuilderServiceProvider',

under 'providers' key in app/config/app.php file

or

if (class_exists('\\Subscribo\\SchemaBuilder\\SchemaBuilderServiceProvider')) {
    App::register('\\Subscribo\\SchemaBuilder\\SchemaBuilderServiceProvider');
}

in app/start/artisan.php for conditional registration

Usage

  1. Put your schema.yml into config/schemabuilder directory of your project (or modify respective constant of BuildCommandAbstract). You may also use doc/examples/schema.yml and modify it as needed.

  2. If needed, put AbstractModel from doc/examples into your project

  3. Setup autoload for needed classes and namespaces in your composer.json and run

composer dump-autoload
  1. Run from command line
php artisan build

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固