定制 saifur/dbhelper 二次开发

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

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

saifur/dbhelper

最新稳定版本:v1.0.1

Composer 安装命令:

composer require saifur/dbhelper

包简介

This a package all about DB helper

README 文档

README

A DB Helper providing features like DB backup

Total Downloads Latest Stable Version License

Contents

Documentation, Installation, and Usage Instructions

This package allows you to manage your logs.

Once installed you can do stuff like this:

Commands

composer require saifur/dbhelper
composer dump-autoload
php artisan vendor:publish --tag=public --force

API

Request: Server DB Full Backup

  • Method: POST
  • URL: http://localhost:8001/saifur/db-helper/db-backup/server-db-full-backup
  • Headers:
    • Authorization: Bearer <your_token>
    • Content-Type: application/json
  • Body:
    • form-data:
      Key Value
      except_tables[0] activity_log
      except_tables[1] audit_trail
      table_rules[0][table_name] audit_trail
      table_rules[0][row_limit] 100
      table_rules[0][order_by] id
      table_rules[0][order_type] DESC
      table_rules[1][table_name] activity_log
      table_rules[1][row_limit] 100
      table_rules[1][order_by] id
      table_rules[1][order_type] DESC

Request: Server DB Structure Backup

  • Method: POST
  • URL: http://localhost:8001/saifur/db-helper/db-backup/server-db-structure-backup
  • Headers:
    • Authorization: Bearer <your_token>
    • Content-Type: application/json

Request: Server DB Data Backup

  • Method: POST
  • URL: http://localhost:8001/saifur/db-helper/db-backup/server-db-data-backup
  • Headers:
    • Authorization: Bearer <your_token>
    • Content-Type: application/json
  • Body:
    • form-data:
      • except_tables[0]: activity_log
      • except_tables[1]: audit_trail
      • table_rules[0][table_name]: audit_trail
      • table_rules[0][row_limit]: 100
      • table_rules[0][order_by]: id
      • table_rules[0][order_type]: DESC
      • table_rules[1][table_name]: activity_log
      • table_rules[1][row_limit]: 100
      • table_rules[1][order_by]: id
      • table_rules[1][order_type]: DESC

Request: Server DB Status

  • Method: POST
  • URL: http://localhost:8001/saifur/db-helper/db-backup/server-db-status
  • Headers:
    • Authorization: Bearer <your_token>
    • Content-Type: application/json
  • Body:
    • form-data:
      • view: html

Contributor

  • Md. Saifur Rahman
Portfolio CV LinkedIn GitHub Stack Overflow
Hackerrank Beecrowd LeetCode YouTube

Alternatives

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固