{"id":13756600,"url":"https://github.com/Pennebaker/craftcms-thearchitect","last_synced_at":"2025-05-10T03:32:41.429Z","repository":{"id":57037684,"uuid":"51479810","full_name":"Pennebaker/craftcms-thearchitect","owner":"Pennebaker","description":"CraftCMS plugin to generate content models from JSON data.","archived":false,"fork":false,"pushed_at":"2023-04-27T12:24:57.000Z","size":560,"stargazers_count":171,"open_issues_count":12,"forks_count":9,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-03T11:02:30.202Z","etag":null,"topics":["craft-cms-plugin","craft-plugin","craftcms-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pennebaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-10T23:09:59.000Z","updated_at":"2024-08-03T11:02:34.700Z","dependencies_parsed_at":"2024-08-03T11:02:34.360Z","dependency_job_id":"1d6dbd89-4bc0-404c-9cbc-dbffc196c534","html_url":"https://github.com/Pennebaker/craftcms-thearchitect","commit_stats":{"total_commits":271,"total_committers":6,"mean_commits":"45.166666666666664","dds":0.044280442804428,"last_synced_commit":"2562a5be6230c068de2e6a5a6e4ee0047fc1638d"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pennebaker%2Fcraftcms-thearchitect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pennebaker%2Fcraftcms-thearchitect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pennebaker%2Fcraftcms-thearchitect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pennebaker%2Fcraftcms-thearchitect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pennebaker","download_url":"https://codeload.github.com/Pennebaker/craftcms-thearchitect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224911611,"owners_count":17390840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["craft-cms-plugin","craft-plugin","craftcms-plugin"],"created_at":"2024-08-03T11:00:48.647Z","updated_at":"2024-11-16T11:31:59.101Z","avatar_url":"https://github.com/Pennebaker.png","language":"PHP","funding_links":[],"categories":["Data"],"sub_categories":[],"readme":"# Looking for? [Architect for Craft 3/4](https://github.com/Pennebaker/craft-architect)\n\n![The Architect](/the-architect.png?raw=true)\n# The Architect for [Craft CMS](http://buildwithcraft.com/)\n\nCraftCMS Plugin to Construct Groups, Fields, Sections, EntryTypes, Transforms, Globals, Assets, Categories, and Users \u0026 User Groups from JSON data.\n\n## Installation\n1. Move the `thearchitect` directory into your `craft/plugins` directory.\n2. Go to Settings \u0026gt; Plugins from your Craft control panel and enable the `thearchitect` plugin\n\nExample files can be found in the `library` directory\n\n## Exported Constructs\nIf you want to provide json files to be loaded throught the CP. Put the files in `craft/config/thearchitect`. If using a version prior to v1.6.0 the folder for these files is `craft/plugins/thearchitect/content`. This path is also configurable by creating a config file at `craft/config/thearchitect.php`\n```php\n'modelsPath' =\u003e str_replace('plugins', 'config', __dir__.'/'),\n```\n\n## Migration File\nThe migration file is named `_master_.json` and located inside the folder with the other json files listed above. Migration files are intended to be used within a single site. They are not intended to transfer content models between websites.\n\n## Rollback\nAs of version 1.6.0, if Craft crashes with an exception, the Architect will attempt to roll back any changes that were made to the database for the operation. This should help prevent any issues that might appear from a partial import. If an exception happens please report them to on the [repo's issues](https://github.com/Pennebaker/craftcms-thearchitect/issues). A backup that was created during a migration that was successfully imported will be delete. Otherwise you can find the db backup inside `craft/storage/backups`. This is in case the rollback feature doesn't restore properly. It is not recommended to rely on this auto backup/restore feature.\n\n## JSON Schema\nThe example / syntax schemas are located on the [Repo's Wiki](https://github.com/Pennebaker/craftcms-thearchitect/wiki)\n\nIf you're using the [Atom text editor](https://atom.io/), you can download a [snippet library](https://github.com/Emkaytoo/craft-json-snippets) to help speed up your writing custom models for the plugin.\n\n## Field Layouts using names instead of handles\nIf you have some field layouts that use names this functionality was dropped in version 1.0.3. Alternatively you can update your old models to use handles to fix them for newer versions.\n\n*Special thanks to [Shannon Threadgill](https://dribbble.com/threadgillthunder) for his totally boss illustrations.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPennebaker%2Fcraftcms-thearchitect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPennebaker%2Fcraftcms-thearchitect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPennebaker%2Fcraftcms-thearchitect/lists"}