Skip to content

Commit 25b2b34

Browse files
author
costin
committed
Migrate Zend to Laminas, Expressive to Mezzio
1 parent 96184ae commit 25b2b34

4 files changed

Lines changed: 68 additions & 49 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 2.0.0 - 2020-01-30
2+
3+
### Changed
4+
* Laminas and Mezzio migration.
5+
6+
### Added
7+
* Nothing
8+
9+
### Deprecated
10+
* Nothing
11+
12+
### Removed
13+
* Support
14+
15+
### Fixed
16+
* Nothing
17+
18+
119
## 1.1.1 - 2018-05-03
220

321
### Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dot-annotated-services
22

3-
DotKernel component used to create services through [Zend Service Manager](https://github.com/zendframework/zend-servicemanager) and inject them with dependencies just using method annotations. It can also create services without the need to write factories. Annotation parsing can be cached, to improve performance.
3+
DotKernel component used to create services through [Laminas Service Manager](https://github.com/laminas/laminas-servicemanager) and inject them with dependencies just using method annotations. It can also create services without the need to write factories. Annotation parsing can be cached, to improve performance.
44

55
This package can clean up your code, by getting rid of all the factories you write, sometimes just to inject a dependency or two.
66

composer.json

Lines changed: 48 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,51 @@
11
{
2-
"name": "dotkernel/dot-annotated-services",
3-
"description": "DotKernel service creation component through zend-servicemanager and annotations",
4-
"authors": [
5-
{
6-
"name": "DotKerenel Team",
7-
"email": "team@dotkernel.com"
2+
"name": "dotkernel/dot-annotated-services",
3+
"description": "DotKernel service creation component through laminas-servicemanager and annotations",
4+
"authors": [
5+
{
6+
"name": "DotKerenel Team",
7+
"email": "team@dotkernel.com"
8+
}
9+
],
10+
"type": "library",
11+
"license": "MIT",
12+
"keywords": [
13+
"annotations",
14+
"services",
15+
"factories",
16+
"container",
17+
"zf2",
18+
"zf3",
19+
"service-manager"
20+
],
21+
"require": {
22+
"php": "^7.2",
23+
"laminas/laminas-servicemanager": "^3.3",
24+
"doctrine/annotations": "^1.6",
25+
"doctrine/cache": "^1.7",
26+
"laminas/laminas-dependency-plugin": "^1.0"
27+
},
28+
"require-dev": {
29+
"phpunit/phpunit": "^4.7",
30+
"squizlabs/php_codesniffer": "^2.5"
31+
},
32+
"autoload": {
33+
"psr-4": {
34+
"Dot\\AnnotatedServices\\": "src"
35+
}
36+
},
37+
"autoload-dev": {
38+
"psr-4": {
39+
"DotTest\\AnnotatedServices\\": "tests"
40+
}
41+
},
42+
"suggest": {
43+
"doctrine/cache": "To cache the result of processing the annotations and speed-up your application"
44+
},
45+
"extra": {
46+
"branch-alias": {
47+
"dev-master": "2.0-dev",
48+
"dev-develop": "2.1-dev"
49+
}
850
}
9-
],
10-
"type": "library",
11-
"license": "MIT",
12-
"keywords": [
13-
"annotations",
14-
"services",
15-
"factories",
16-
"container",
17-
"zf2",
18-
"zf3",
19-
"service-manager"
20-
],
21-
"require": {
22-
"php": "^7.1",
23-
"zendframework/zend-servicemanager": "^3.3",
24-
"doctrine/annotations": "^1.6",
25-
"doctrine/cache": "^1.7"
26-
},
27-
"require-dev": {
28-
"phpunit/phpunit": "^4.7",
29-
"squizlabs/php_codesniffer": "^2.5"
30-
},
31-
"autoload": {
32-
"psr-4": {
33-
"Dot\\AnnotatedServices\\": "src"
34-
}
35-
},
36-
"autoload-dev": {
37-
"psr-4": {
38-
"DotTest\\AnnotatedServices\\": "tests"
39-
}
40-
},
41-
"suggest": {
42-
"doctrine/cache": "To cache the result of processing the annotations and speed-up your application"
43-
},
44-
"extra": {
45-
"branch-alias": {
46-
"dev-master": "1.1-dev",
47-
"dev-develop": "1.2-dev"
48-
}
49-
}
5051
}

src/Factory/AnnotatedServiceAbstractFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
use Dot\AnnotatedServices\Annotation\Service;
1313
use Interop\Container\ContainerInterface;
14-
use Zend\ServiceManager\Factory\AbstractFactoryInterface;
14+
use Laminas\ServiceManager\Factory\AbstractFactoryInterface;
1515

1616
/**
1717
* Class AnnotatedServiceAbstractFactory

0 commit comments

Comments
 (0)