Download the PHP package bhavgoyal99/laravel-smart-backup without Composer

On this page you can find all versions of the php package bhavgoyal99/laravel-smart-backup. 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 laravel-smart-backup

Laravel Smart Backup

Lightweight Laravel package for full and incremental database backups with chunked processing, restore commands, scheduling support, and an optional Blade dashboard.

Features

Requirements

Installation

Publish config and package assets if needed:

Run migrations:

Configuration

The package config lives at config/backup.php.

Main options:

Example:

Running Backups

Run a backup manually:

With runtime options:

Restoring Backups

Restore a backup file:

Restore a specific table:

With restore password:

Scheduling

Enable scheduled backups in config/backup.php:

Supported frequencies:

The package registers itself with Laravel's scheduler when scheduling is enabled.

Maintenance Mode

When enabled, the package will automatically run Laravel maintenance mode before backup and restore operations, then bring the application back up after the operation completes.

Dashboard

Enable the Blade dashboard:

Dashboard includes:

When the dashboard triggers a backup, the package starts php artisan backup:run in a detached background process by default. This avoids reverse-proxy timeouts for large production backups while keeping php artisan backup:run synchronous for CLI and scheduler usage.

Disable that behavior only if you explicitly want the web request to wait:

Storage Structure

Backups are stored in structured folders by mode and date.

Examples:

Package Migrations

The package ships with migrations for backup metadata tables:

They are loaded automatically by the package and can also be published.

Testing

The package includes a basic Orchestra Testbench setup with feature coverage for:

Run tests with:

Current Status

This package is now in much better shape for a first stable release.

Before tagging v1.0.0, I still recommend one final verification pass:

Release Recommendation

Recommended release path:

  1. Run composer install
  2. Run vendor/bin/phpunit
  3. Smoke-test the package in a fresh Laravel app
  4. If that passes, tag v1.0.0

If you want, the next step can be a final release-prep pass where I:


All versions of laravel-smart-backup with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/contracts Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
illuminate/filesystem Version ^10.0|^11.0|^12.0
illuminate/mail Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.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 bhavgoyal99/laravel-smart-backup contains the following files

Loading the files please wait ...