A plugin for importing and exporting content models from Craft CMS using JSON.
Related: Architect for Craft 2.x
This plugin requires Craft CMS 3/4.
To install the plugin, follow these instructions.
Open your terminal and go to your Craft project:
cd /path/to/project
Then tell Composer to load the plugin:
composer require pennebaker/craft-architect
a. In the terminal run
./craft plugin/install architect
or
b. In the Control Panel, go to Settings → Plugins and click the “Install” button for Architect.
The architect can import and export just about anything in craft that needs to be configured. ex. It can help with migrations by adding new fields needed by a structuring update and export existing fields for use on another website.
There isn't much to configure in Architect right now.
The example / syntax schemas are located on the Repo's Wiki
If you're using the Atom text editor, you can download a snippet library to help speed up your writing custom models for the plugin. (Might not be updated for the Craft 3 version of architect yet)
You can also use YAML if you prefer.
This is used to process blueprint files in a specific order. The files path is in relation to config/architect
. They can be either a json or yaml file.
{
"buildOrder": [
"assets.json",
"blog.yaml"
]
}
Visit architect in the admin CP for importing / exporting just about anything using JSON.
Current Working Imports:
Current Working Import and Update:
Current Working Exports:
Some things to do and ideas for potential features:
[2.0.0] complete
[2.1.0] complete
[2.2.0] complete
[2.3.0] complete
[2.4.0] complete
[x.5.0 and later] brainstorming
Brought to you by Pennebaker