定制 danilocgsilva/backupphp 二次开发

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

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

danilocgsilva/backupphp

Composer 安装命令:

composer require danilocgsilva/backupphp

包简介

Generates a sql file entirely trough php code

README 文档

README

Generates a sql backup entirely by php code

Install

composer require danilocgsilva/backupphp

Usage

Once you've installed the package in your project, just call:

\Danilocgsilva\Backupphp::backup('mysql_host', 'mysql_user', 'database_name', 'password', 'full_server_path_to_store_sql_files', (optional)'database_prefix', (optional)'database_encoding');

Security Notice

There's no security checkings after the backup method is called! It was thought out to serve as an api function, so after entering the parameters in the backup() method, you must make your own security filtering.

Where it was already successfully tested

  1. Recovering a basic WordPress database.
  2. Recovering a 60mb database serving several system, including some wordpresses and drupal installations. Not tested the systems after restoring, but that was no error on restoring.

ToDo

Provides a csrf_token to put some security in html forms.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固