Download the PHP package zjkal/mysql-helper without Composer

On this page you can find all versions of the php package zjkal/mysql-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mysql-helper


MysqlHelper

中文 | English

License PHP Version Require Latest Stable Version Total Downloads GitHub Workflow Status

MysqlHelper 是一个便捷的通过PHP导入和导出Mysql数据库表结构和数据的工具,可以快速实现mysql的数据库的导入和导出. 此类库旨在提供轻量化便捷的mysql导入导出, 开发初衷是web应用安装程序和插件类应用的数据结构导入. 因此没有做数据分批, 大量数据的导入导出并不适合.

🧩特性

🚀安装

通过Composer导入类库

🌈使用文档

1. 实例化

方式一: 常规方法

方式二: 实例化后,通过setConfig方法设置数据库配置

MysqlHelper针对常用的框架做了兼容,可以直接使用框架的数据库配置, 比如ThinkPHP框架或Laravel框架

2. 导出数据

3. 导入数据

📃更新日志

v1.0.7 2024年10月4日

  • 增加导入的稳定性:过滤空行

v1.0.6 2024年8月27日

  • 导入时增加了判断是否存在同名表的逻辑

v1.0.5 2024年6月14日

  • 增加了在导出时可以设置禁用外键检查的参数
点击查看更多 > v1.0.4 2024年4月19日 > * 优化了.sql文件中注释的过滤规则 > v1.0.3 2023年12月9日 > * 实例化时如果已经设置了表前缀,导出的表名可以不包含前缀 > v1.0.2 2023年9月23日 > * 增加了数据导出的稳定性 > v1.0.1 2023年9月10日 > * 修复了在Thinkphp框架下端口识别错误的BUG > * 增加了导入的稳定性 > v1.0.0 2023年9月2日 > * 首次发布

😎开发者们

zjkal
zjkal
fedsin
fedsin

🐧QQ频道

QQ频道-世界上最好的编程语言

📖开源协议

MysqlHelper遵循MIT开源协议, 意味着您无需任何授权, 即可免费将MysqlHelper应用到您的项目中


All versions of mysql-helper with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-mysqli Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zjkal/mysql-helper contains the following files

Loading the files please wait ....