Download the PHP package marceli-to/statamic-sync without Composer
On this page you can find all versions of the php package marceli-to/statamic-sync. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marceli-to/statamic-sync
More information about marceli-to/statamic-sync
Files in marceli-to/statamic-sync
Package statamic-sync
Short Description Sync Statamic content and assets from remote environments to local.
License MIT
Informations about the package statamic-sync
Statamic Sync
Pull Statamic content and assets from a remote environment to your local setup — no FTP, no SSH, just one artisan command.
How It Works
- The package exposes a protected endpoint on your remote site
- When you run
statamic:pull, it compares local and remote files via hash manifests - Only new, changed, and deleted files are synced — unchanged files are skipped
- Files are streamed as compressed tar.gz archives directly from the server
First run downloads everything. Subsequent runs only sync the diff.
Requirements
- PHP 8.1+
- Laravel 10, 11, 12, or 13
taravailable on both server and local machine (standard on Linux/macOS)
Installation
Install the package on both your local and remote environments:
Configuration
Publish the config (optional — defaults work out of the box):
Environment Variables
Both environments (local + remote):
Generate a secure token:
Local environment only:
Usage
Pull everything (content + assets)
Pull only content
Pull only assets
Dry run (see what would change)
Output shows exactly what would happen:
Force full sync (skip delta comparison)
Skip confirmation
Configuration Options
Updating
Update only this package:
Remember to update on both local and remote when upgrading.
Security
- All requests require a valid bearer token
- Optional IP whitelisting for additional protection
- Use a strong, unique token —
openssl rand -hex 32 - The sync endpoints are only accessible with a valid token
- Directory traversal protection on file serving
License
MIT