定制 thamaraiselvam/mysql-import 二次开发

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

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

thamaraiselvam/mysql-import

最新稳定版本:1.1.0

Composer 安装命令:

composer require thamaraiselvam/mysql-import

包简介

Import .sql file into a database using mysqli

README 文档

README

ViewCount

Packagist Packagist Packagist GitHub tag (latest SemVer) GitHub Travis

Buy Me A Coffee

Import MySQL database backup files easily with MySQL Import

Development

Run:

$ git clone https://github.com/thamaraiselvam/mysql-import.git
$ cd mysql-import
$ composer install

This will setup the library dependencies for you.

To run tests, run

$ composer phpunit

To ensure your code is following the coding style, run

$ composer phpcs

Install

Using composer include the repository by typing the following into a terminal

composer require thamaraiselvam/mysql-import

Usage

Include the composer autoloader, import the Import namespace.

<?php
require('vendor/autoload.php');

use Thamaraiselvam\MysqlImport\Import;

$filename = 'database.sql';
$username = 'root';
$password = '';
$database = 'sampleproject';
$host = 'localhost';
new Import($filename, $username, $password, $database, $host);

统计信息

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

GitHub 信息

  • Stars: 39
  • Watchers: 4
  • Forks: 21
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-03