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
Requires
- php: ^8.1
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
This package is auto-updated.
Last update: 2025-05-04 20:43:33 UTC
README
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.