2017 © Pedro Peláez
 

library laravel-backup-shield

Protection for your laravel backups

image

olssonm/laravel-backup-shield

Protection for your laravel backups

  • Tuesday, June 5, 2018
  • by olssonm
  • Repository
  • 1 Watchers
  • 19 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 586 % Grown

The README.md

Laravel Backup Shield

Latest Version on Packagist ![Software License][ico-license] [Build Status][link-build] Scrutinizer Score, (*1)

backup-shield, (*2)

⚠️ Password-protection/encryption can now be done natively in spatie/laravel-backup. If you use v6 or v7 of spatie/laravel-backup there is no longer a need to use this package. The development of this package has therefore been halted., (*3)

Thanks for using olssonm/laravel-backup-shield!, (*4)

Secure your backups

This package helps you encrypt and password-protect your backups taken with Spatie's fantastic spatie/laravel-backup-package., (*5)

Backup Shield simply listens for when the .zip-file generated by Laravel-backup is done, grabs it and applies your password and encryption of your liking., (*6)

Using older versions of Laravel? Check out the v1 branch (for Laravel 5.2) and the v2 branch., (*7)

Requirements

php: ^7.3|^8.0
ext-zip: ^1.14
laravel: ^6|^7|^8, (*8)

An appropriate zip-extension should be come with your PHP-install since PHP 7.2. If you for some reason don't have it installed – and don't want to install/upgrade it – look a versions prior to v3.4 of this package., (*9)

Installation

composer require olssonm/laravel-backup-shield

Configuration

Publish your configuration using php artisan vendor:publish and select BackupShieldServiceProvider. Or directly via php artisan vendor:publish --provider="Olssonm\BackupShield\BackupShieldServiceProvider"., (*10)

You only have the ability to set two different options; password and encryption., (*11)

// Default configuration; backup-shield.php
return [
    'password' => env('APP_KEY'),
    'encryption' => \Olssonm\BackupShield\Encryption::ENCRYPTION_DEFAULT
];

Password

Your password (duh). The default is the application key (APP_KEY in your .env-file). You might want to set something more appropriate. Remember to use long strings and to keep your password safe – without it you will never be able to open your backup., (*12)

Set to NULL if you want to keep your backup without a password., (*13)

Encryption

Set your type of encryption. Available options are:, (*14)

\Olssonm\BackupShield\Encryption::ENCRYPTION_DEFAULT (AES 128)
\Olssonm\BackupShield\Encryption::ENCRYPTION_WINZIP_AES_128 (AES 128)
\Olssonm\BackupShield\Encryption::ENCRYPTION_WINZIP_AES_192 (AES 192)
\Olssonm\BackupShield\Encryption::ENCRYPTION_WINZIP_AES_256 (AES 256), (*15)

Regarding the layered archive

This package adds the backup-zip created by spatie/laravel-backup inside a new password protected archive. This is to disable its contents to be able to be viewed without a password – instead only backup.zip will be displayed. Becouse, even without a password, a zip's contents (i.e. the file- and folder names) can be extracted., (*16)

Testing

``` bash $ composer test, (*17)


or ``` bash $ phpunit

License

The MIT License (MIT). Please see the LICENSE.md for more information., (*18)

© 2021 Marcus Olsson., (*19)

The Versions

05/06 2018

v2.x-dev

2.9999999.9999999.9999999-dev https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm

05/06 2018

dev-master

9999999-dev https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm

05/06 2018

v2.2

2.2.0.0 https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm

28/05 2018

v2.1

2.1.0.0 https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm

26/05 2018

v2.0

2.0.0.0 https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm

26/05 2018

v1.x-dev

1.9999999.9999999.9999999-dev https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm

26/05 2018

v1.1

1.1.0.0 https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm

25/05 2018

v1.0

1.0.0.0 https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm

25/05 2018

dev-dev

dev-dev https://github.com/olssonm/laravel-backup-shield

Protection for your laravel backups

  Sources   Download

MIT

The Requires

 

The Development Requires

security password laravel 5 backup olssonm