https://github.com/utopia-php/migration
https://github.com/utopia-php/migration
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/utopia-php/migration
- Owner: utopia-php
- License: mit
- Created: 2023-01-05T13:01:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T05:25:36.000Z (about 2 months ago)
- Last Synced: 2025-04-09T06:25:59.773Z (about 2 months ago)
- Language: PHP
- Size: 2.34 MB
- Stars: 3
- Watchers: 6
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Utopia Migration
[](https://travis-ci.com/utopia-php/migration)

[](https://appwrite.io/discord)Utopia Migration is a simple and lite library to migrate and transform resources inbetween 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).
Although 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.
## Getting Started
Install using composer:
```bash
composer require utopia-php/migration
```Init in your application:
```php
run(
[
Transfer::GROUP_AUTH
], function ($status) {
echo $status['message'] . PHP_EOL;
}
);
```## Supported Resources Chart
Sources:
| | Auth | Databases | Storage | Functions | Settings |
|----------|-------|-----------|-------|-----------|-----------|
| Appwrite | ✅ | ✅ | ✅ | ✅ | |
| Supabase | ✅ | ✅ | ✅ | | |
| NHost | ✅ | ✅ | ✅ | | |
| Firebase | ✅ | ✅ | ✅ | | |Destinations:
| | Auth | Databases | Storage | Functions | Settings |
|----------|-------|-----------|-------|-----------|-----------|
| Appwrite | ✅ | ✅ | ✅ | ✅ | |
| Local | ✅ | ✅ | ✅ | ✅ | ✅ |> **Warning**
> 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.## System Requirements
Utopia Migration requires PHP 8.0 or later. We recommend using the latest PHP version whenever possible.
## Copyright and license
The MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)