{"id":20540566,"url":"https://github.com/utopia-php/migration","last_synced_at":"2026-04-20T13:11:42.185Z","repository":{"id":98436359,"uuid":"585547899","full_name":"utopia-php/migration","owner":"utopia-php","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-03T06:27:31.000Z","size":2969,"stargazers_count":4,"open_issues_count":9,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-03-03T09:29:21.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/utopia-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-05T13:01:41.000Z","updated_at":"2026-02-25T12:00:27.000Z","dependencies_parsed_at":"2023-08-09T17:13:04.296Z","dependency_job_id":"d0488d64-5044-44bd-8d33-af73e9923762","html_url":"https://github.com/utopia-php/migration","commit_stats":null,"previous_names":["utopia-php/migration","utopia-php/transfer"],"tags_count":111,"template":false,"template_full_name":null,"purl":"pkg:github/utopia-php/migration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fmigration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fmigration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fmigration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fmigration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utopia-php","download_url":"https://codeload.github.com/utopia-php/migration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fmigration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30076935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-16T01:16:13.786Z","updated_at":"2026-03-04T09:01:04.380Z","avatar_url":"https://github.com/utopia-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utopia Migration\n\n[![Build Status](https://travis-ci.com/utopia-php/migration.svg?branch=main)](https://travis-ci.com/utopia-php/migration)\n![Total Downloads](https://img.shields.io/packagist/dt/utopia-php/migration.svg)\n[![Discord](https://img.shields.io/discord/564160730845151244?label=discord)](https://appwrite.io/discord)\n\nUtopia Migration is a simple and lite library to migrate and transform resources in-between services. This library is aiming to be as simple and easy to learn and use. This library is maintained by the [Appwrite team](https://appwrite.io).\n\nAlthough this library is part of the [Utopia Framework](https://github.com/utopia-php/framework) project it is dependency free and can be used as standalone with any other PHP project or framework.\n\n## Getting Started\n\nInstall using composer:\n```bash\ncomposer require utopia-php/migration\n```\n\nInit in your application:\n```php\n\u003c?php\n\nuse Utopia\\Migration\\Transfer;\nuse Utopia\\Migration\\Sources\\NHost;\nuse Utopia\\Migration\\Destinations\\Appwrite;\n\nrequire_once __DIR__ . '/../../vendor/autoload.php';\n\n// Initialize your Source\n$source = new NHost('db.xxxxxxxxx.nhost.run', 'database-name', 'username', 'password');\n\n// Initialize your Destination\n$destination = new Appwrite('project-id', 'https://cloud.appwrite.io/v1', 'api-key');\n\n// Initialize Transfer\n$migration = new Transfer($source, $destination);\n\n// Transfer the resource groups you want\n$transfer-\u003erun(\n    [\n        Transfer::GROUP_AUTH\n    ], function ($status) {\n        echo $status['message'] . PHP_EOL;\n    }\n);\n```\n\n## Supported Resources Chart\n\nSources:\n|          | Auth | Databases | Storage | Functions | Settings |\n|----------|-------|-----------|-------|-----------|-----------|\n| Appwrite |   ✅   |     ✅     |     ✅     |   ✅   |          |\n| Supabase |   ✅   |     ✅     |     ✅     |       |           |\n| NHost    |   ✅   |     ✅     |     ✅     |       |           |\n| Firebase |   ✅   |     ✅     |     ✅     |       |           |\n\nDestinations:\n|          | Auth | Databases | Storage | Functions | Settings |\n|----------|-------|-----------|-------|-----------|-----------|\n| Appwrite |   ✅   |     ✅     |   ✅   |     ✅     |          |\n| Local    |   ✅   |     ✅     |   ✅   |     ✅     |     ✅     |\n\n\u003e **Warning**\n\u003e The Local destination should be used for testing purposes only. It is not recommended to use this destination in production or as a backup. The local destination is there to confirm that a source is working correctly and to test the migration process with needing a target destination instance. This may change in the future however as the library matures.\n\n\n\n## System Requirements\n\nUtopia Migration requires PHP 8.0 or later. We recommend using the latest PHP version whenever possible.\n\n## Copyright and license\n\nThe MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futopia-php%2Fmigration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futopia-php%2Fmigration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futopia-php%2Fmigration/lists"}