{"id":13396167,"url":"https://github.com/spatie/laravel-backup","last_synced_at":"2025-05-12T13:03:43.937Z","repository":{"id":27437510,"uuid":"30915528","full_name":"spatie/laravel-backup","owner":"spatie","description":"A package to backup your Laravel app","archived":false,"fork":false,"pushed_at":"2025-04-25T13:42:56.000Z","size":2507,"stargazers_count":5799,"open_issues_count":3,"forks_count":772,"subscribers_count":91,"default_branch":"main","last_synced_at":"2025-05-05T07:38:57.568Z","etag":null,"topics":["backup","database","devops","laravel","php","zip"],"latest_commit_sha":null,"homepage":"https://spatie.be/docs/laravel-backup","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/spatie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/support-us.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"spatie","custom":"https://spatie.be/open-source/support-us"}},"created_at":"2015-02-17T12:12:41.000Z","updated_at":"2025-05-05T04:03:20.000Z","dependencies_parsed_at":"2023-02-18T08:45:41.688Z","dependency_job_id":"2f1c0090-545f-43ec-ab08-525cf23dde3c","html_url":"https://github.com/spatie/laravel-backup","commit_stats":{"total_commits":1053,"total_committers":210,"mean_commits":5.014285714285714,"dds":0.3922127255460589,"last_synced_commit":"45a183f589cbf333b455839f52cc2dbdf7726269"},"previous_names":[],"tags_count":314,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Flaravel-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Flaravel-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Flaravel-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Flaravel-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatie","download_url":"https://codeload.github.com/spatie/laravel-backup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745051,"owners_count":21957316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","database","devops","laravel","php","zip"],"created_at":"2024-07-30T18:00:41.691Z","updated_at":"2025-05-12T13:03:43.864Z","avatar_url":"https://github.com/spatie.png","language":"PHP","funding_links":["https://github.com/sponsors/spatie","https://spatie.be/open-source/support-us"],"categories":["Popular Packages","Laravel","Uncategorized","PHP","工具推荐","Paquetes utiles","迁移( Migrations )"],"sub_categories":["Uncategorized","Frameworks"],"readme":"\u003cdiv align=\"left\"\u003e\n    \u003ca href=\"https://spatie.be/open-source?utm_source=github\u0026utm_medium=banner\u0026utm_campaign=laravel-backup\"\u003e\n      \u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://spatie.be/packages/header/laravel-backup/html/dark.webp\"\u003e\n        \u003cimg alt=\"Logo for Laravel Backup\" src=\"https://spatie.be/packages/header/laravel-backup/html/light.webp\" height=\"190\"\u003e\n      \u003c/picture\u003e\n    \u003c/a\u003e\n\n\u003ch1\u003eA modern backup solution for Laravel apps\u003c/h1\u003e\n    \n[![Latest Stable Version](https://poser.pugx.org/spatie/laravel-backup/v/stable?format=flat-square)](https://packagist.org/packages/spatie/laravel-backup)\n[![MIT Licensed](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/spatie/laravel-backup/run-tests.yml?branch=main\u0026label=Tests)\n[![Quality Score](https://img.shields.io/scrutinizer/g/spatie/laravel-backup.svg?style=flat-square)](https://scrutinizer-ci.com/g/spatie/laravel-backup)\n[![Total Downloads](https://img.shields.io/packagist/dt/spatie/laravel-backup.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-backup)\n    \n\u003c/div\u003e\n\nThis Laravel package [creates a backup of your application](https://spatie.be/docs/laravel-backup/v8/taking-backups/overview). The backup is a zip file that contains all files in the directories you specify along with a dump of your database. The backup can be stored on [any of the filesystems you have configured in Laravel](https://laravel.com/docs/filesystem).\n\nFeeling paranoid about backups? No problem! You can backup your application to multiple filesystems at once.\n\nOnce installed taking a backup of your files and databases is very easy. Just issue this artisan command:\n\n``` bash\nphp artisan backup:run\n```\n\nBut we didn't stop there. The package also provides [a backup monitor to check the health of your backups](https://spatie.be/docs/laravel-backup/v8/monitoring-the-health-of-all-backups/overview). You can be [notified via several channels](https://spatie.be/docs/laravel-backup/v8/sending-notifications/overview) when a problem with one of your backups is found.\nTo avoid using excessive disk space, the package can also [clean up old backups](https://spatie.be/docs/laravel-backup/v8/cleaning-up-old-backups/overview).\n\n## Support us\n\n[\u003cimg src=\"https://github-ads.s3.eu-central-1.amazonaws.com/laravel-backup.jpg?t=1\" width=\"419px\" /\u003e](https://spatie.be/github-ad-click/laravel-backup)\n\nWe invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).\n\nWe highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).\n\n## Installation and usage\n\nThis package requires PHP 8.2 and Laravel 10.0 or higher.\nYou'll find installation instructions and full documentation on https://spatie.be/docs/laravel-backup.\n\n## Using an older version of PHP / Laravel?\n\nIf you are on a PHP version below 8.0 or a Laravel version below 8.0 just use an older version of this package.\n\nRead the extensive [documentation on version 3](https://spatie.be/docs/laravel-backup/v3), [on version 4](https://spatie.be/docs/laravel-backup/v4), [on version 5](https://spatie.be/docs/laravel-backup/v5) and [on version 6](https://spatie.be/docs/laravel-backup/v6). We will not be introducing any new features to v6 and below. We will however continue to update for bugs as neccesary.\n\n## Testing\n\nRun the tests with:\n\n``` bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security-related issues, please email security@spatie.be instead of using the issue tracker.\n\n## Postcardware\n\nYou're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.\n\nOur address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.\n\nWe publish all received postcards [on our company website](https://spatie.be/open-source/postcards).\n\n## Credits\n\n- [Freek Van der Herten](https://github.com/freekmurze)\n- [All Contributors](../../contributors)\n\nSpecial thanks to [Caneco](https://twitter.com/caneco) for the original logo.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatie%2Flaravel-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspatie%2Flaravel-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatie%2Flaravel-backup/lists"}