https://github.com/insight-media/statamic-sync
A console command to keep your local Statamic project in sync with the production version.
https://github.com/insight-media/statamic-sync
laravel statamic statamic-v3
Last synced: 4 months ago
JSON representation
A console command to keep your local Statamic project in sync with the production version.
- Host: GitHub
- URL: https://github.com/insight-media/statamic-sync
- Owner: insight-media
- License: mit
- Created: 2022-02-25T20:04:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-04T16:40:21.000Z (over 2 years ago)
- Last Synced: 2025-06-12T16:18:37.979Z (12 months ago)
- Topics: laravel, statamic, statamic-v3
- Language: PHP
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README

# A console command to keep your local Statamic project in sync with the production version.
[](https://packagist.org/p2/insight-media/statamic-sync)
[](https://github.com/insight-media/statamic-sync/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[](https://packagist.org/packages/insight-media/statamic-sync)
This package for Statamic projects provides a console command to pull the CMS content from your production version into your local version.
The package requires an SSH connection to your webserver.
## Installation
You can install the package via composer:
```bash
composer require --dev insight-media/statamic-sync
```
You can optionally publish the config file with:
```bash
php artisan vendor:publish --tag="statamic-sync-config"
```
Add and edit the following env variables:
```code
SSH_USER=user
SSH_HOST=yourproject.com
SSH_PORT=22
SSH_PATH=/var/www/project
```
## Usage
```bash
php artisan statamic:sync
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Insight Media](https://github.com/insight-media)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.