{"id":30009387,"url":"https://github.com/fortrabbit/craft-auto-migrate","last_synced_at":"2025-08-05T10:47:10.778Z","repository":{"id":33492497,"uuid":"158867094","full_name":"fortrabbit/craft-auto-migrate","owner":"fortrabbit","description":"Run Craft migrations automatically","archived":false,"fork":false,"pushed_at":"2024-05-14T15:37:08.000Z","size":23,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-29T03:43:18.882Z","etag":null,"topics":["composer","composer-plugin","craft","craftcms"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fortrabbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-11-23T18:39:06.000Z","updated_at":"2024-05-14T15:37:11.000Z","dependencies_parsed_at":"2024-06-21T16:45:07.273Z","dependency_job_id":null,"html_url":"https://github.com/fortrabbit/craft-auto-migrate","commit_stats":{"total_commits":30,"total_committers":3,"mean_commits":10.0,"dds":0.06666666666666665,"last_synced_commit":"4d0d1a846ffb4282e55c1ee8f79ae2a70a247b03"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/fortrabbit/craft-auto-migrate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortrabbit%2Fcraft-auto-migrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortrabbit%2Fcraft-auto-migrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortrabbit%2Fcraft-auto-migrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortrabbit%2Fcraft-auto-migrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fortrabbit","download_url":"https://codeload.github.com/fortrabbit/craft-auto-migrate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortrabbit%2Fcraft-auto-migrate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268882062,"owners_count":24323125,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["composer","composer-plugin","craft","craftcms"],"created_at":"2025-08-05T10:47:09.750Z","updated_at":"2025-08-05T10:47:10.739Z","avatar_url":"https://github.com/fortrabbit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Craft Auto Migrate\n\nA Composer plugin that runs `craft migrate/all` and `craft project-config/apply` after `composer install`, **if Craft is installed**.\n\n\n### Install\n\nRequire the package as a dependency of a plugin or in the composer.json of your project.\n\n```\ncomposer require fortrabbit/craft-auto-migrate\n```\n\n### Disable\n\nBy setting the ENV var `DISABLE_CRAFT_AUTOMIGRATE=1` you disable the plugin.\n\n\n### Project Config\n\nBy setting the ENV var `PROJECT_CONFIG_FORCE_APPLY=1` the `project-config/apply` command is executed with the `--force` flag.\n\nThe file `config/project/project.yaml` will be removed after applying, unless you set the ENV var `KEEP_PROJECT_CONFIG=1` or composer install is running locally (interactive mode).\nThis behaviour was added in `2.5.0` to prevent re-applying the Project Config in the Craft CP.\n\n\n### Troubleshooting\nIn case you get an `Your project config YAML files contain pending changes` error after a deploy or during first-time setup, try the following to resolve the issue:\n- If you are on Craft 3, set `KEEP_PROJECT_CONFIG=1` otherwise leave it as the default `0`\n- Delete the local and remote copies of the following files:\n  ```\n  storage/config-deltas/*.yaml*\n  storage/config-backups/*.yaml*\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortrabbit%2Fcraft-auto-migrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffortrabbit%2Fcraft-auto-migrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortrabbit%2Fcraft-auto-migrate/lists"}