Download the PHP package serkansyalcin/database-backup-manager without Composer

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

Database Backup Manager

A Laravel package for managing database backups. This package provides command-line tools to create and manage database backups in various formats including SQL, CSV, and JSON.

Installation

To install the package in your Laravel project, run the following command:

Configuration

This package does not require any additional configuration beyond what is needed to connect to your database. Ensure that your .env file has the correct database connection settings.

Usage

You can use the following artisan command to back up your database:

Replace sql with csv or json to get the backup in different formats.

Command Options

--format: Specifies the format of the backup. Supported formats are sql, csv, and json.

Examples

SQL Backup To create a SQL backup of your database, run:

The resulting SQL backup file will be stored in the storage/app/backups directory with a filename like database-2024-08-23-08-27-40.sql.

CSV Backup To create a CSV backup of your database, run:

The CSV backup will be stored in the storage/app/backups directory. Each table will be backed up with headers and data in CSV format.

JSON Backup To create a JSON backup of your database, run:

The JSON backup will be stored in the storage/app/backups directory. The backup will contain a JSON object with tables as keys and rows as values.

Common Issues

'mysqldump' is not recognized as an internal or external command: Ensure that mysqldump is installed and available in your system's PATH. If you’re on Windows, you might need to add MySQL's bin directory to your PATH.

Directory not found: The package will automatically create the storage/app/backups directory if it does not exist.


All versions of database-backup-manager with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
illuminate/support Version ^7.0|^8.0|^9.0|^10.0|^11.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 serkansyalcin/database-backup-manager contains the following files

Loading the files please wait ....