PHP code example of phillipsdata / git-migrate
1. Go to this page and download the library: Download phillipsdata/git-migrate library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
phillipsdata / git-migrate example snippets
return [
'my-repo-name'
];
return [
'my-external-dir' => [
'another-dir' => [
'repo1',
'repo2'
]
],
'repo3',
'my-other-external-dir' => [
'repo4'
]
];