Download the PHP package daoke5/mysqldump without Composer
On this page you can find all versions of the php package daoke5/mysqldump. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package mysqldump
A portable tool for mysqldump
use EasyMySQLDump\EasyMySQLDump;
use EasyMySQLDump\EasySendEmail;
/**
* 1. Mysqldump
*/
$easyMySQLDump = new EasyMySQLDump();
$easyMySQLDump->setDatabase('127.0.0.1', 3306, 'root', '', 'test')
->setDumpFile('/web/test.mysqldump.sql')
->mysqldump();
/**
* 2. Send email
*/
$easySendEmail = new EasySendEmail();
$easySendEmail->debug = true;
$sendResult = $easySendEmail
->setSubject('mysqldump')
->setBody('A mail to backup mysqldump file')
->setSMTP('smtp.yeah.net', 465, '[username]@yeah.net', '[password]')
->setSender('[sender address]', '[sender name]')
->setReceiver('[receiver address]')
->addAttachment($easyMySQLDump->getDumpFile(), 'mysqldump.sql')
->send();
if ($sendResult === false) {
echo $easySendEmail->error;
exit;
}
All versions of mysqldump with dependencies
PHP Build Version
Package Version
Requires
phpmailer/phpmailer Version
^5.2
The package daoke5/mysqldump contains the following files
Loading the files please wait ....