insight-media/statamic-sync

A package for Statamic projects which provides console commands to synchronise content between local and remote projects.

v2.0.0 2022-04-01 18:52 UTC

This package is auto-updated.

Last update: 2025-02-04 19:26:46 UTC


README


A console command to keep your local Statamic project in sync with the production version.

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

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:

composer require --dev insight-media/statamic-sync

You can optionally publish the config file with:

php artisan vendor:publish --tag="statamic-sync-config"

Add and edit the following env variables:

SSH_USER=user
SSH_HOST=yourproject.com
SSH_PORT=22
SSH_PATH=/var/www/project

Usage

php artisan statamic:sync

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.