nobledsmarts/db-sentry

Laravel Helper package for backing up Mysql database specified in env file and saving it to a folder

Downloads

76

Stars

2

Version

1.0.0

Laravel Helper package that backs up the Mysql database specified in env file and returns it

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us

Installation

You can install the package via composer:

composer require nobledsmarts/db-sentry

Usage

use Illuminate\Support\Facades\Storage

$dbSentry = new Nobledsmarts\DBSentry\DBSentry();
$backupContent = $dbSentry->getBackUp();
$backupFileName = 'backup'. date('Y-m-d=H-i-s') . '.sql';

Storage::put($backupFileName, $backupContent);

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Nobledsmarts

Author

Nobledsmarts