{"id":21253658,"url":"https://github.com/skipthedragon/wp-migrations","last_synced_at":"2026-05-18T22:15:53.412Z","repository":{"id":221135594,"uuid":"753546217","full_name":"SkipTheDragon/wp-migrations","owner":"SkipTheDragon","description":"✨ WordPress migrations for plugins.","archived":false,"fork":false,"pushed_at":"2024-04-10T19:34:49.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T21:13:41.432Z","etag":null,"topics":["migrations-runner","php","wordpress"],"latest_commit_sha":null,"homepage":"https://wyverr.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SkipTheDragon.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}},"created_at":"2024-02-06T10:37:45.000Z","updated_at":"2024-03-15T23:04:41.000Z","dependencies_parsed_at":"2024-02-06T12:53:24.255Z","dependency_job_id":"1bc352a7-8ff6-4383-bef9-9fd2e04fdea0","html_url":"https://github.com/SkipTheDragon/wp-migrations","commit_stats":null,"previous_names":["skipthedragon/wp-migrations"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkipTheDragon%2Fwp-migrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkipTheDragon%2Fwp-migrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkipTheDragon%2Fwp-migrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkipTheDragon%2Fwp-migrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkipTheDragon","download_url":"https://codeload.github.com/SkipTheDragon/wp-migrations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243690146,"owners_count":20331728,"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":["migrations-runner","php","wordpress"],"created_at":"2024-11-21T03:52:33.011Z","updated_at":"2026-05-18T22:15:53.336Z","avatar_url":"https://github.com/SkipTheDragon.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WordPress Migration\n\nHeavily inspired by Symfony/Doctrine migrations, this package provides a simple way to manage your WordPress database schema and data.\n\n### Installation\n\n```bash\n composer require skipthedragon/wp-migrations\n```\n\n### Pre-requisites\n\nThis package requires:\n  - `wpdb` (WordPress database)\n  - at least PHP 8.1\n\n### Prerequisites\n\nMigrations must:\n  - be in the migration folder that you specified in the config\n  - have a unique timestamp in its name\n  - implement the Migration interface (`WpMigrations\\Architecture\\Migration`)\n  - have `MigrationV` in its name\n\n### Usage\n\nTo run the migrations, you can use the following code:\n\n```php\n use WpMigrations\\service\\MigrationManagerService;\n \n $config = new \\WpMigrations\\Architecture\\MigrationConfig(\n        'path/to/migrations',\n        'WpMigrations\\\\Migrations\\\\',\n        'my_plugin_name'\n );\n \n $migrationManagerService = new MigrationManagerService($config);\n $migrationManagerService-\u003emigrate();\n```\n\nCheck the `migrate()` method in `service/MigrationManagerService.php` for more options and types of migration.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskipthedragon%2Fwp-migrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskipthedragon%2Fwp-migrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskipthedragon%2Fwp-migrations/lists"}