<commit_before># Migration Manager for [Craft CMS](https://craftcms.com/)

Create migrations to easily move settings and content between CraftCMS website installations. You can select which elements to migrate and create a migration file that can be committed to your version control system. The migration(s) can then be applied on different CraftCMS installations to instantly create and update settings and content, without needing to enter data multiple times. By using migrations you can ensure your various website environments (local, staging, production, etc.) stay in sync and up to date.

## Installation

1. Move the `migrationmanager` directory into your `craft/plugins` directory.
1. Go to Settings &gt; Plugins from your Craft control panel and enable the `Migration Manager` plugin

## Use

The Migration Manager can create migrations for the following tasks:

- adding and updating:
  - fields
  - sections and entry types
  - categories
  - asset sources and transformations<commit_msg>Updated README for install via Composer<commit_after># Migration Manager for [Craft CMS](https://craftcms.com/)

Create migrations to easily move settings and content between CraftCMS website installations. You can select which elements to migrate and create a migration file that can be committed to your version control system. The migration(s) can then be applied on different CraftCMS installations to instantly create and update settings and content, without needing to enter data multiple times. By using migrations you can ensure your various website environments (local, staging, production, etc.) stay in sync and up to date.

## Installation

### Manually

1. Download a copy of this repository into your `craft/plugins` directory.
1. Rename the plugin directory to `migrationmanager`.
1. Go to Settings &gt; Plugins from your Craft control panel and enable the `Migration Manager` plugin

### Via composer

Run composer require from your project root

```terminal
composer require firstborn/craft-cms-migration-manager
```

__Note:__ If you can run composer on your production server, you can add the `vendor/` and 
the `craft/plugins/migrationmanager/` folders to your gitignore. Thowse will be installed again 
if you run `composer install` again.

## Use

The Migration Manager can create migrations for the following tasks:

- adding and updating:
  - fields
  - sections and entry types
  - categories
  - asset sources and transformations
{'fraction_non_alphanumeric': 0.05291005291005291, 'fraction_numerical': 0.002035002035002035, 'mean_word_length': 4.689814814814815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3967894', 'n_tokens_mistral': 583, 'n_tokens_neox': 562, 'n_words': 332}