bolboosch/procedures
Composer 安装命令:
composer require bolboosch/procedures
包简介
Laravel migration for procedures generator
README 文档
README
Generate procedure migrations from an existing database, including all needed information like parameters and various other needed information!
Laravel 5 installation
The recommended way to install this is through composer:
composer require bolboosch/procedures
In Laravel 5.5 and up the service providers will automatically get registered. In older versions of the framework edit config/app.php and add this to providers section:
Bolboosch\Procedures\Providers\ProceduresServiceProvider::class,
Additional information
Out of the box we extend the "welcome" layout in our views. If you do not want to use this you either need to change the name, or remove the:
@extends('welcome')
@section('content')
// code here...
@endsection
lines from both views (index.blade.php and finished.blade.php) in the views folder.
Usage
To generate procedure migrations from a database, you need to have your database setup in Laravel's Config.
Go to the following url: localhost:8000/bolboosch/migrate/procedures
It will present a list to you with all migrations found on your database server (for any database). From this list you can choose which procedures you want to make an migration out of. After checking the procedures you wish to migrate, press the "migrate" button and your migrations will automatically be made and stored in the "migrations" folder in your project root.
Changelog
6th November 2018 v1.0.0
- Fixed a typo which sometimes made your procedure malfunction
- Capitalized SQL queries
19th October 2018 v0.0.1-alpha
- Tweaking the code here and there
- Initial upload of the base project
Contributors
ikbenbas
License
The Laravel Migrations Generator is open-sourced software licensed under the MIT license
bolboosch/procedures 适用场景与选型建议
bolboosch/procedures 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 187 次下载、GitHub Stars 达 1, 最近一次更新时间为 2018 年 10 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 bolboosch/procedures 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bolboosch/procedures 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 187
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-19