nobledsmarts/db-sentry

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

1.0.0 2023-06-27 08:30 UTC

This package is auto-updated.

Last update: 2024-04-04 18:23:12 UTC


README

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

68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f64622d73656e7472792e6a70673f743d31

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.