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: 2024-05-04 18:02:28 UTC


README


68747470733a2f2f7777772e696e73696768742d6d656469612e62652f696d616765732f6c6f676f2e737667

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.