Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbundyra committed Feb 25, 2019
0 parents commit 3e25384
Show file tree
Hide file tree
Showing 13 changed files with 2,384 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/clone
/vendor
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -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());
29 changes: 29 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
Loading

0 comments on commit 3e25384

Please sign in to comment.