Download the PHP package matrixcreate/contentiq-craft-import without Composer

On this page you can find all versions of the php package matrixcreate/contentiq-craft-import. 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 contentiq-craft-import

ContentiQ Craft Import

Craft CMS 5 plugin that pulls ContentiQ content into published Craft entries — primarily via a live API sync, with a manual JSON file import as the fallback path.

[!IMPORTANT]

📚 Jump to the full developer documentation →

The whole plugin at a glance, one doc per subsystem, plus a walk through the life of a sync.

Contents: Related repositories

Requirements

Installation

Configuration

Add config/contentiq.php to your Craft project:

All keys are optional — the values above are the defaults. See docs/integration.md for the full config surface, including blockOverrides, content_types, slugMap, and the diff-aware preserveBlockIdentity flag.

Add API credentials to .env:

Then reference them in the plugin settings: CP → Settings → Plugins → ContentiQ.

Usage

API sync

The Sync screen in the CP loads the full ContentiQ sitemap (including pages never yet imported into Craft) and lets you select what to pull. Submitting runs via Craft's queue — the screen polls for completion and shows a hierarchical report when done. See docs/cp-and-widget.md for a tour of the screen.

Per-entry sync

Each entry edit screen shows a ContentiQ sidebar widget with:

See docs/cp-and-widget.md for the full behaviour.

CP upload

Navigate to ContentiQ in the Craft control panel. Upload a JSON export file, review the dry-run preview, then confirm to import. See docs/cp-and-widget.md for a tour of every screen.

CLI import

import is the controller's only (and default) action. It detects single-page vs. batch export format automatically from the JSON shape (a top-level blocks array is a single page, a top-level pages array is a batch) and loops the same pipeline either way.

How it fits with ContentiQ

This plugin is a pull-only consumer of ContentiQ's export API — Craft never receives a push, and every sync is initiated from this side (a CP button, the CLI, or the sidebar widget). A sync overwrites an entry's content wholesale (whole-page replace), not a field-by-field merge; the only defence against a re-sync clobbering hand-edits is per-entry locking. After a successful write, this plugin sends an explicit acknowledgement back to ContentiQ (POST /api/v1/pages/ack) for the pages it actually wrote — that's the only thing that mutates ContentiQ's own state. See docs/integration.md for the full wire contract.

Documentation

Doc Covers
integration.md The four API endpoints, auth, the read-only-export/explicit-ack contract, and the config surface
import-pipeline.md The per-page pipeline: find-or-create, the no-drafts save, collection children, homepage, hierarchy, locks
block-mapping.md The declarative block mapping system, MatrixBuilder, NodesRenderer, hero, cards, CTA, preserveBlockIdentity
globals.md Company info/offices/branding import, the per-run consent lock, and the URL-prefix drift check
assets.md Image download and idempotency, SSRF/path-traversal guards, the CLI webroot requirement
cp-and-widget.md Every CP screen, the sync report, and the entry sidebar widget

Start at docs/README.md for the index and the life-of-a-sync narrative.

Local development

To develop the plugin and a Craft project simultaneously, run from the Craft project root:

Never commit the path repository — the git checkout step ensures composer.json is clean before pushing. See AGENTS.md for the full workflow, including recovery if the path repo does get committed by accident.

Releasing

Always pair a git tag with a GitHub release:

Related repositories


All versions of contentiq-craft-import with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
craftcms/cms Version ^5.0.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 matrixcreate/contentiq-craft-import contains the following files

Loading the files please wait ...