承接 ibraheem-ghazi/dbdiff 相关项目开发

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

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

ibraheem-ghazi/dbdiff

Composer 安装命令:

composer require ibraheem-ghazi/dbdiff

包简介

php based script that helps developers to find the difference between two databases structure and compare it with auto generating queries

README 文档

README

DBDiff is a php based script that helps developers to find the difference between two databases structure,catch new added columns, deleted columns, changed columns and which attributes are changed, and so on, with queries generate like (ALTER,CREATE ...etc)

Screenshots

dbdiff queries dbdiff results dbdiff constraints

Features

  • show difference each table as block
  • show only differences
  • generate queries for separately for each column or table
  • can merge queries and copy it all at once.
  • show column attribute old value and new value.
  • view actual source for old or new by adding source=1 or source=2
  • MYSQL Dependent WITHOUT using and system command like mysqldump
  • simple ui

Why DBDiff ?

after long search for scripts to use all solution was executing mysqldump system command using exec or shell_exec in php and get the output as sql dump then compare the difference. which is not accurate and can have many wrong information based on text position , also not clear what excatly change is happened. that's why i built this library which is based on executing mysql show and desc tables and parsing information manually then print the analysed results alongside with it's queries.

TODOs

  • Handle Create Tables
  • Handle Alter Tables
  • Handle Drop table Queries
  • Handle constraints (PK,FK,index, ... etc)
  • Handle events
  • Handle functions
  • Handle procedures
  • Handle triggers
  • Handle views

Installation

to install this library using composer:

composer require ibraheem-ghazi/dbdiff

NOTE: Secure the script and don't allow public access to it.

Development

Want to contribute? Great! i accept pull requests.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固