Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit a31c6bc

Browse files
committed
Rewriting as Laminas Project package
1 parent f149830 commit a31c6bc

32 files changed

+294
-2598
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/.coveralls.yml export-ignore
2-
/.docheader export-ignore
32
/.gitattributes export-ignore
43
/.gitignore export-ignore
54
/.travis.yml export-ignore
6-
/composer.lock export-ignore
75
/docs/ export-ignore
86
/mkdocs.yml export-ignore
97
/phpcs.xml export-ignore

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/clover.xml
2+
/composer.lock
23
/coveralls-upload.json
34
/docs/html/
5+
/laminas-mkdoc-theme.tgz
6+
/laminas-mkdoc-theme/
47
/phpunit.xml
58
/vendor/
6-
/zf-mkdoc-theme.tgz
7-
/zf-mkdoc-theme/

.travis.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,25 @@ env:
1010
- COVERAGE_DEPS="php-coveralls/php-coveralls"
1111

1212
matrix:
13+
fast_finish: true
1314
include:
1415
- php: 7.1
1516
env:
1617
- DEPS=lowest
1718
- php: 7.1
1819
env:
19-
- DEPS=locked
20+
- DEPS=latest
2021
- CS_CHECK=true
2122
- TEST_COVERAGE=true
22-
- php: 7.1
23-
env:
24-
- DEPS=latest
2523
- php: 7.2
2624
env:
2725
- DEPS=lowest
28-
- php: 7.2
29-
env:
30-
- DEPS=locked
3126
- php: 7.2
3227
env:
3328
- DEPS=latest
3429
- php: 7.3
3530
env:
3631
- DEPS=lowest
37-
- php: 7.3
38-
env:
39-
- DEPS=locked
4032
- php: 7.3
4133
env:
4234
- DEPS=latest

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ All notable changes to this project will be documented in this file, in reverse
5050

5151
### Added
5252

53-
- [#1](https://github.com/zendframework/zend-config-aggregator-modulemanager/pull/1) adds support for PHP 7.3.
53+
- [zendframework/zend-config-aggregator-modulemanager#1](https://github.com/zendframework/zend-config-aggregator-modulemanager/pull/1) adds support for PHP 7.3.
5454

5555
### Changed
5656

COPYRIGHT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Copyright (c) 2019, Laminas Foundation.
2+
All rights reserved. (https://getlaminas.org/)

LICENSE.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
Copyright (c) 2018, Zend Technologies USA, Inc.
1+
Copyright (c) 2019, Laminas Foundation
22
All rights reserved.
33

4-
Redistribution and use in source and binary forms, with or without modification,
5-
are permitted provided that the following conditions are met:
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
66

77
- Redistributions of source code must retain the above copyright notice, this
88
list of conditions and the following disclaimer.
99

10-
- Redistributions in binary form must reproduce the above copyright notice, this
11-
list of conditions and the following disclaimer in the documentation and/or
12-
other materials provided with the distribution.
10+
- Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation
12+
and/or other materials provided with the distribution.
1313

14-
- Neither the name of Zend Technologies USA, Inc. nor the names of its
15-
contributors may be used to endorse or promote products derived from this
16-
software without specific prior written permission.
14+
- Neither the name of Laminas Foundation nor the names of its contributors may
15+
be used to endorse or promote products derived from this software without
16+
specific prior written permission.
1717

1818
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1919
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# zend-config-aggregator-modulemanager
1+
# laminas-config-aggregator-modulemanager
22

3-
[![Build Status](https://secure.travis-ci.org/zendframework/zend-config-aggregator-modulemanager.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-config-aggregator-modulemanager)
4-
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-config-aggregator-modulemanager/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-config-aggregator-modulemanager?branch=master)
3+
[![Build Status](https://travis-ci.org/laminas/laminas-config-aggregator-modulemanager.svg?branch=master)](https://travis-ci.org/laminas/laminas-config-aggregator-modulemanager)
4+
[![Coverage Status](https://coveralls.io/repos/github/laminas/laminas-config-aggregator-modulemanager/badge.svg?branch=master)](https://coveralls.io/github/laminas/laminas-config-aggregator-modulemanager?branch=master)
55

6-
Provides an extension to the `zendframework/zend-config-aggregator` so `zendframework/zend-mvc`
7-
modules can be parsed into the new config structure, e.g. for `zendframework/zend-expressive`
6+
Provides an extension to the `laminas/laminas-config-aggregator` so `laminas/laminas-mvc`
7+
modules can be parsed into the new config structure, e.g. for `mezzio/mezzio`
88
or other projects.
99

1010
## Usage
1111

1212
```php
13-
use Zend\ConfigAggregator\ConfigAggregator;
14-
use Zend\ConfigAggregatorModuleManager\ZendModuleProvider;
15-
use My\Zend\MvcModule\Module as MyZendMvcModule;
13+
use Laminas\ConfigAggregator\ConfigAggregator;
14+
use Laminas\ConfigAggregatorModuleManager\LaminasModuleProvider;
15+
use My\Laminas\MvcModule\Module as MyLaminasMvcModule;
1616

17-
namespace My\Zend\MvcModule
17+
namespace My\Laminas\MvcModule
1818
{
1919
class Module
2020
{
@@ -31,38 +31,38 @@ namespace My\Zend\MvcModule
3131
}
3232
}
3333

34-
namespace My\Zend\MvcModule\Service {
34+
namespace My\Laminas\MvcModule\Service {
3535
class MyService
3636
{
3737
}
3838
}
3939

4040
$aggregator = new ConfigAggregator([
41-
new ZendModuleProvider(new MyZendMvcModule()),
41+
new LaminasModuleProvider(new MyLaminasMvcModule()),
4242
]);
4343

4444
var_dump($aggregator->getMergedConfig());
4545
```
4646

47-
Using this provider, the Module class is being parsed for `zendframework/zend-modulemanager` interfaces or methods.
48-
Just the same way as `zendframework/zend-mvc` does. Therefore, the output of the example would be:
47+
Using this provider, the Module class is being parsed for `laminas/laminas-modulemanager` interfaces or methods.
48+
Just the same way as `laminas/laminas-mvc` does. Therefore, the output of the example would be:
4949

5050
```php
5151
array(1) {
5252
'dependencies' =>
5353
array(1) {
5454
'invokables' =>
5555
array(1) {
56-
'My\Zend\MvcModule\Service\MyService' =>
57-
string(35) "My\Zend\MvcModule\Service\MyService"
56+
'My\Laminas\MvcModule\Service\MyService' =>
57+
string(35) "My\Laminas\MvcModule\Service\MyService"
5858
}
5959
}
6060
}
6161
```
6262

63-
For more details, please refer to the [documentation](https://docs.zendframework.com/zend-config-aggregator-modulemanager/).
63+
For more details, please refer to the [documentation](https://docs.laminas.dev/laminas-config-aggregator-modulemanager/).
6464

6565
-----
6666

67-
- File issues at https://github.com/zendframework/zend-config-aggregator-modulemanager/issues
68-
- Documentation is at https://docs.zendframework.com/zend-config-aggregator-modulemanager/
67+
- File issues at https://github.com/laminas/laminas-config-aggregator-modulemanager/issues
68+
- Documentation is at https://docs.laminas.dev/laminas-config-aggregator-modulemanager/

composer.json

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,45 @@
11
{
2-
"name": "zendframework/zend-config-aggregator-modulemanager",
3-
"description": "Consume zend-mvc modules as configuration providers within zend-config-aggregator.",
2+
"name": "laminas/laminas-config-aggregator-modulemanager",
3+
"description": "Consume laminas-mvc modules as configuration providers within laminas-config-aggregator.",
44
"license": "BSD-3-Clause",
5-
"authors": [
6-
{
7-
"name": "Maximilian Bösing",
8-
"email": "max@boesing.email"
5+
"homepage": "https://laminas.dev",
6+
"support": {
7+
"docs": "https://docs.laminas.dev/laminas-config-aggregator-modulemanager/",
8+
"issues": "https://github.com/laminas/laminas-config-aggregator-modulemanager/issues",
9+
"source": "https://github.com/laminas/laminas-config-aggregator-modulemanager",
10+
"rss": "https://github.com/laminas/laminas-config-aggregator-modulemanager/releases.atom",
11+
"chat": "https://laminas.dev/chat",
12+
"forum": "https://discourse.laminas.dev"
13+
},
14+
"config": {
15+
"sort-packages": true
16+
},
17+
"extra": {
18+
"branch-alias": {
19+
"dev-master": "1.0.x-dev",
20+
"dev-develop": "1.1.x-dev"
921
}
10-
],
22+
},
1123
"require": {
1224
"php": "^7.1",
13-
"zendframework/zend-config-aggregator": "^1.1",
14-
"zendframework/zend-modulemanager": "^2.8"
25+
"laminas/laminas-config-aggregator": "^1.1",
26+
"laminas/laminas-modulemanager": "^2.8",
27+
"laminas/laminas-zendframework-bridge": "^1.0"
1528
},
1629
"require-dev": {
17-
"phpunit/phpunit": "^7.0.3",
18-
"zendframework/zend-coding-standard": "~1.0.0",
19-
"zendframework/zend-config": "^3.1",
20-
"zendframework/zend-servicemanager": "^3.3"
30+
"laminas/laminas-coding-standard": "~1.0.0",
31+
"laminas/laminas-config": "^3.1",
32+
"laminas/laminas-servicemanager": "^3.3",
33+
"phpunit/phpunit": "^7.0.3"
2134
},
2235
"autoload": {
2336
"psr-4": {
24-
"Zend\\ConfigAggregatorModuleManager\\": "src/"
37+
"Laminas\\ConfigAggregatorModuleManager\\": "src/"
2538
}
2639
},
2740
"autoload-dev": {
2841
"psr-4": {
29-
"ZendTest\\ConfigAggregatorModuleManager\\": "test/"
30-
}
31-
},
32-
"config": {
33-
"sort-packages": true
34-
},
35-
"extra": {
36-
"branch-alias": {
37-
"dev-master": "1.0.x-dev",
38-
"dev-develop": "1.1.x-dev"
42+
"LaminasTest\\ConfigAggregatorModuleManager\\": "test/"
3943
}
4044
},
4145
"scripts": {
@@ -47,5 +51,8 @@
4751
"cs-fix": "phpcbf",
4852
"test": "phpunit --colors=always",
4953
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
54+
},
55+
"replace": {
56+
"zendframework/zend-config-aggregator-modulemanager": "self.version"
5057
}
5158
}

0 commit comments

Comments
 (0)