Download the PHP package emran-alhaddad/statamic-content-sync without Composer

On this page you can find all versions of the php package emran-alhaddad/statamic-content-sync. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package statamic-content-sync

Statamic Content Sync (UI + Diff)

Packagist Version Total Downloads Monthly Downloads PHP Laravel Statamic GitHub stars

Export/import Collections, Navigation, Taxonomies, Assets, Globals with a Statamic Control Panel UI. See diffs like Git, choose Accept incoming or Keep current per item, then commit the import safely.


✨ Features

Roadmap: field-level merge decisions, queueable commits for large imports, binary asset copy helpers, rollback snapshots.


📦 Install

`

No frontend build required – compiled CP assets are included. (If you’re developing the addon locally, run npm i && npm run build.)

zsh tip: when installing dev branches, quote constraints (to avoid globbing):


⚙️ Configuration

Publish config → config/content-sync.php:

Optional .env:


🖥️ Control Panel Usage

Open Utilities → Content Sync.

Export

  1. Choose Type: Collections / Taxonomies / Navigation / Globals / Assets.
  2. Pick one or more handles from the list (multi-select).
  3. (Optional) Set Sites (comma-separated) and/or Since (ISO8601).
  4. Set an output filename (e.g. my-export.json) and click Export.
  5. The JSON is written to <disk>/<folder>/... (e.g. storage/app/sync).

Import

  1. Click Import tab and upload a previously exported JSON.
  2. Review the diff for each item (Current vs Incoming).
  3. For each item, choose Accept incoming or Keep current.
  4. Click Complete Import to apply decisions.

🧰 CLI (Optional)

Export:

Import (preview only):

Import (apply all as “incoming”):


📤 JSON Format (Export)

Other types (taxonomies, navigation, globals, assets) export their relevant fields (e.g., taxonomy terms, nav trees, global localizations, asset meta).


🔐 Permissions & Security


🧪 Local Development

Optionally, link into a Statamic app with a path repository for rapid iteration.


🐞 Troubleshooting


🗺️ Roadmap


🤝 Contributing

PRs welcome! Please:

  1. Run vendor/bin/pint --test
  2. Build assets via npm run build
  3. Keep commits scoped & conventional (e.g., feat:, fix:, chore:)

📜 License

MIT © Emran Alhaddad


🔗 Links


All versions of statamic-content-sync with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^10.0|^11.0
statamic/cms Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package emran-alhaddad/statamic-content-sync contains the following files

Loading the files please wait ...