Skip to content

MarJose123/laravel-backup-api

Repository files navigation

A package to backup your Laravel app via API

Latest Version on Packagist Total Downloads

This package requires the laravel-backup to be installed and setup manually by you.

Installation

You can install the package via composer:

composer require marjose123/laravel-backup-api

You can publish the config file with:

php artisan vendor:publish --tag="backup-api-config"

and configure to add permissions, route_prefix, and other settings.

API Routes

  1. Create Backup
    1. Method: POST
    2. URI: http://{domain}/{route_prefix}/create
  2. List of Backup
    1. Method: GET
    2. URI: http://{domain}/{route_prefix}
  3. List of Backup Disk
    1. Method: GET
    2. URI: http://{domain}/{route_prefix}/disks
  4. Download Backup
    1. Method: GET
    2. URI: http://{domain}/{route_prefix}/download/{id}

Testing

composer test

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.

About

A package to backup your Laravel app via API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages