Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.
Permalink
Browse files
Initial commit
  • Loading branch information
michalbundyra committed Feb 25, 2019
0 parents commit 3e253840eafee73af20768567ae7f8bdd7ec4d7d
Show file tree
Hide file tree
Showing 13 changed files with 2,384 additions and 0 deletions.
@@ -0,0 +1,2 @@
/clone
/vendor
@@ -0,0 +1,29 @@
# Laminas Transfer

Library to transfer ZF repositories to Laminas Project.

## Usage

Use the following command to calculate the order of repositories to transfer:

```console
$ bin/console dependencies <org> <github token>
```

Generate github token on: https://github.com/settings/tokens

Then to transfer the repository use the command:

```console
$ bin/console transfer <org>/<name>
```

It will create clone the repository and replace all references to
ZendFramework with Laminas.

## TODO

- [ ] update Travis CI configuration (change references to ZF)
- [ ] create new repository
- [ ] push all previous tags
- [ ] create new release in the new namespace
@@ -0,0 +1,15 @@
#!/usr/bin/env php
<?php

chdir(__DIR__ . '/../');

require __DIR__ . '/../vendor/autoload.php';

$application = new \Symfony\Component\Console\Application();

$application->addCommands([
new \Laminas\Transfer\Command\DependenciesCommand(),
new \Laminas\Transfer\Command\TransferCommand(),
]);

exit($application->run());
@@ -0,0 +1,29 @@
{
"name": "webimpress/laminas-transfer",
"description": "Transfer ZF repository to Laminas Project",
"require": {
"php": "^7.1",
"ext-curl": "*",
"ext-json": "*",
"knplabs/github-api": "^2.11",
"localheinz/composer-json-normalizer": "^1.0.2",
"php-http/guzzle6-adapter": "^1.1.1",
"symfony/console": "^4.2.3"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"webimpress/coding-standard": "dev-master"
},
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"Laminas\\Transfer\\": "src/"
}
},
"scripts": {
"cs-check": "phpcs",
"cs-fix": "phpcbf"
}
}

0 comments on commit 3e25384

Please sign in to comment.