Download the PHP package guirong/php-database without Composer

On this page you can find all versions of the php package guirong/php-database. 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 php-database

PHP Database

Php Version GitHub tag (latest by date)

php的一个简单数据库操作依赖包。

项目地址

注意:

  • 版本要求 php >= 5.5.0

    安装

数据库备份

Mysql数据库备份,生成.sql文件:

初始化mysql服务

设置.sql备份文件存储目录,执行备份

如果某些表无需备份,你可以在备份前忽略它们

备份成功后,获得文件路径,如: /www/wwwroot/my_project/database/backup/mysql-my_database-202307131630.sql

如果你不想自动生成备份文件名,你可以自行指定

备份成功后,获得文件路径: /www/wwwroot/my_project/database/backup/我的mysql备份文件-1.sql

数据库恢复

Mysql数据库恢复,导入.sql文件:

初始化mysql服务

指定.sql备份文件,执行导入,恢复数据

如果只需恢复某些表的数据,你可以指定它们

结语

当前的数据库操作依赖包仅供参考,备份数据量巨大的数据库时请谨慎使用。

License

MIT

我的其他项目

guirong/cli-message github

一个简单易用的,命令行输出样式工具库

guirong/php-router github

轻量且快速的路由库

guirong/php-closure github

闭包的序列化和反序列化类库

guirong/php-validate github

一个轻量级且功能丰富的验证和过滤库

guirong/php-event github

一个简洁小巧的php事件监听器

guirong/php-shell github

一个基于psysh shell的命令行交互模式依赖包

guirong/laravel-validate github

基于Laravel 验证器扩展验证场景


All versions of php-database with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
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 guirong/php-database contains the following files

Loading the files please wait ....