{"id":36428213,"url":"https://github.com/olssonm/laravel-backup-shield","last_synced_at":"2026-01-11T18:18:18.012Z","repository":{"id":54484110,"uuid":"134769264","full_name":"olssonm/laravel-backup-shield","owner":"olssonm","description":"🔒Password protection (and encryption) for your laravel backups.","archived":false,"fork":false,"pushed_at":"2021-03-04T14:25:18.000Z","size":74,"stargazers_count":30,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-27T15:44:25.517Z","etag":null,"topics":["backup","laravel-5-package","laravel-backup","security","zip"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olssonm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-24T21:11:25.000Z","updated_at":"2025-10-27T17:11:39.000Z","dependencies_parsed_at":"2022-08-13T17:20:45.296Z","dependency_job_id":null,"html_url":"https://github.com/olssonm/laravel-backup-shield","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/olssonm/laravel-backup-shield","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olssonm%2Flaravel-backup-shield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olssonm%2Flaravel-backup-shield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olssonm%2Flaravel-backup-shield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olssonm%2Flaravel-backup-shield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olssonm","download_url":"https://codeload.github.com/olssonm/laravel-backup-shield/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olssonm%2Flaravel-backup-shield/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28317697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","laravel-5-package","laravel-backup","security","zip"],"created_at":"2026-01-11T18:18:17.201Z","updated_at":"2026-01-11T18:18:18.001Z","avatar_url":"https://github.com/olssonm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Backup Shield\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE.md)\n[![Build Status][ico-build]][link-build]\n[![Scrutinizer Score][ico-scrutinizer]][link-scrutinizer]\n\n![backup-shield](https://user-images.githubusercontent.com/907114/40585078-b42b31ba-61ac-11e8-9db6-b5497e156f5a.png)\n\n**⚠️ Password-protection/encryption can now be done natively in [spatie/laravel-backup](https://github.com/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.** \n\n**Thanks for using olssonm/laravel-backup-shield!**\n\n## Secure your backups\n\n**This package helps you encrypt and password-protect your backups taken with [Spatie's](https://github.com/spatie) fantastic [spatie/laravel-backup](https://github.com/spatie/laravel-backup)-package.**\n\nBackup 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.\n\n*Using older versions of Laravel? Check out the [v1 branch](https://github.com/olssonm/laravel-backup-shield/tree/v1) (for Laravel 5.2) and the [v2 branch](https://github.com/olssonm/laravel-backup-shield/tree/v2).*\n\n## Requirements\n\n`php: ^7.3|^8.0`  \n`ext-zip: ^1.14`  \n`laravel: ^6|^7|^8`\n\nAn 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.\n\n## Installation\n\n```bash\ncomposer require olssonm/laravel-backup-shield\n```\n\n## Configuration\n\nPublish your configuration using `php artisan vendor:publish` and select `BackupShieldServiceProvider`. Or directly via ```php artisan vendor:publish --provider=\"Olssonm\\BackupShield\\BackupShieldServiceProvider\"```.\n\nYou only have the ability to set two different options; password and encryption.\n\n```php\n// Default configuration; backup-shield.php\nreturn [\n    'password' =\u003e env('APP_KEY'),\n    'encryption' =\u003e \\Olssonm\\BackupShield\\Encryption::ENCRYPTION_DEFAULT\n];\n```\n\n#### Password\n\nYour 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**.\n\nSet to `NULL` if you want to keep your backup without a password.\n\n#### Encryption\n\nSet your type of encryption. Available options are:\n\n`\\Olssonm\\BackupShield\\Encryption::ENCRYPTION_DEFAULT` (AES 128)  \n`\\Olssonm\\BackupShield\\Encryption::ENCRYPTION_WINZIP_AES_128` (AES 128)  \n`\\Olssonm\\BackupShield\\Encryption::ENCRYPTION_WINZIP_AES_192` (AES 192)  \n`\\Olssonm\\BackupShield\\Encryption::ENCRYPTION_WINZIP_AES_256` (AES 256)\n\n#### Regarding the layered archive\n\nThis 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.\n\n## Testing\n\n``` bash\n$ composer test\n```\n\nor\n\n``` bash\n$ phpunit\n```\n\n## License\n\nThe MIT License (MIT). Please see the [LICENSE.md](LICENSE.md) for more information.\n\n© 2021 [Marcus Olsson](https://marcusolsson.me).\n\n[ico-version]: https://img.shields.io/packagist/v/olssonm/laravel-backup-shield.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-build]: https://img.shields.io/github/workflow/status/olssonm/laravel-backup-shield/Run%20tests.svg?style=flat-square\u0026label=tests\n[ico-downloads]: https://img.shields.io/packagist/dt/olssonm/laravel-backup-shield.svg?style=flat-square\n[ico-scrutinizer]: https://img.shields.io/scrutinizer/g/olssonm/laravel-backup-shield.svg?style=flat-square\n[link-packagist]: https://packagist.org/packages/olssonm/laravel-backup-shield\n[link-build]: https://github.com/olssonm/laravel-backup-shield/actions?query=workflow%3A%22Run+tests%22\n[link-scrutinizer]: https://scrutinizer-ci.com/g/olssonm/laravel-backup-shield\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folssonm%2Flaravel-backup-shield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folssonm%2Flaravel-backup-shield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folssonm%2Flaravel-backup-shield/lists"}