Skip to content

Commit 261b0b6

Browse files
committed
Add changelog
1 parent 3d4a75e commit 261b0b6

File tree

2 files changed

+135
-50
lines changed

2 files changed

+135
-50
lines changed

CHANGELOG.md

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Upcoming]
9+
10+
### To Add
11+
12+
* Add support for lambdafunctions or move to __invoke() fully
13+
* Add example for [tee](https://en.wikipedia.org/wiki/Tee_(command))
14+
15+
## [Unreleased]
16+
17+
18+
### Added
19+
20+
* Added rector
21+
* Added php-cs-fixer
22+
23+
### Changed
24+
25+
* Changed readme history into this changelog
26+
* Changed codebase to PHP 8.2
27+
* Updated dependencies
28+
29+
### Fixed
30+
31+
* Fixed invalid package names
32+
33+
### Removed
34+
35+
## [1.1.1](https://github.com/bazzline/php_component_process_pipe/tree/1.1.1) - released at 29.07.2016
36+
37+
### Changed
38+
39+
* Updated dependency
40+
41+
### Fixed
42+
43+
* Fixed invalid example links
44+
45+
### Removed
46+
47+
* Removed local api
48+
49+
## [1.1.0](https://github.com/bazzline/php_component_process_pipe/tree/1.1.0) - released at 06.03.2016
50+
51+
### Added
52+
53+
* Added php 7.0 to travis ci
54+
55+
### Changed
56+
57+
* Moved to psr-4 autoloading
58+
* Updated dependency
59+
60+
### Fixed
61+
62+
* Fixed invalid version link
63+
64+
## [1.0.5](https://github.com/bazzline/php_component_process_pipe/tree/1.0.5) - released at 11.12.2015
65+
66+
### Changed
67+
68+
* Updated dependency
69+
70+
## [1.0.4](https://github.com/bazzline/php_component_process_pipe/tree/1.0.4) - released at 18.11.2015
71+
72+
### Changed
73+
74+
* Updated dependency
75+
76+
## [1.0.3](https://github.com/bazzline/php_component_process_pipe/tree/1.0.3) - released at 28.08.2015
77+
78+
### Changed
79+
80+
* Updated dependency
81+
82+
## [1.0.2](https://github.com/bazzline/php_component_process_pipe/tree/1.0.2) - released at 04.07.2015
83+
84+
### Changed
85+
86+
* Updated dependency
87+
88+
### Removed
89+
90+
* Removed depenendy to phpmd
91+
92+
## [1.0.1](https://github.com/bazzline/php_component_process_pipe/tree/1.0.1) - released at 08.02.2015
93+
94+
### Added
95+
96+
* Added "StopExecutionException"
97+
98+
### Removed
99+
100+
* Removed dependency to apigen
101+
102+
## [1.0.0](https://github.com/bazzline/php_component_process_pipe/tree/1.0.0) - released at 12.11.2014
103+
104+
### Added
105+
106+
* Initial release
107+

README.md

Lines changed: 28 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ Downloads:
2222

2323
It is also available at [openhub.net](http://www.openhub.net/p/720386).
2424

25-
# Why?
25+
Changelog can be found [here](CHANGELOG.md).
26+
27+
## Why?
2628

2729
* separate complex operations into simpler
2830
* easy up unit testing for smaller processes
2931
* separate responsibility (data generator/transformer/validator/flow manipulator)
3032
* create process chains you can read in the code (separate integration code from operation code)
3133
* no dependencies (except you want to join the development team)
3234

33-
# Examples
35+
## Examples
3436

3537
* [no input](https://github.com/bazzline/php_component_process_pipe/blob/master/example/NoInput/run.php)
3638
* [input array](https://github.com/bazzline/php_component_process_pipe/blob/master/example/InputArray/run.php)
@@ -40,21 +42,21 @@ It is also available at [openhub.net](http://www.openhub.net/p/720386).
4042
* [input validator](https://github.com/bazzline/php_component_process_pipe/blob/master/example/InputValidator/run.php)
4143
* [data flow manipulator](https://github.com/bazzline/php_component_process_pipe/blob/master/example/DataFlowManipulator/run.php)
4244

43-
# Install
45+
## Install
4446

45-
## By Hand
47+
### By Hand
4648

4749
mkdir -p vendor/net_bazzline/php_component_process_pipe
4850
cd vendor/net_bazzline/php_component_process_pipe
4951
git clone https://github.com/bazzline/php_component_process_pipe
5052

51-
## With [Packagist](https://packagist.org/packages/net_bazzline/php_component_process_pipe)
53+
### With [Packagist](https://packagist.org/packages/net_bazzline/php_component_process_pipe)
5254

5355
composer require net_bazzline/php_component_process_pipe:dev-master
5456

55-
# Usage
57+
## Usage
5658

57-
## By using the pipe method for multiple process
59+
### By using the pipe method for multiple process
5860

5961
```php
6062
use Net\Bazzline\Component\ProcessPipe\ExecutableException;
@@ -76,7 +78,7 @@ try {
7678
//handle pipe exception
7779
}
7880
```
79-
## By using the pipe method once for each process
81+
### By using the pipe method once for each process
8082

8183
```php
8284
use Net\Bazzline\Component\ProcessPipe\ExecutableException;
@@ -97,7 +99,7 @@ try {
9799
}
98100
```
99101

100-
## By instantiation
102+
### By instantiation
101103

102104
```php
103105
use Net\Bazzline\Component\ProcessPipe\ExecutableException;
@@ -118,7 +120,7 @@ try {
118120
}
119121
```
120122

121-
## By doing all
123+
### By doing all
122124

123125
```php
124126
use Net\Bazzline\Component\ProcessPipe\ExecutableException;
@@ -145,52 +147,28 @@ try {
145147
}
146148
```
147149

148-
# API
150+
## API
149151

150152
[API](http://www.bazzline.net/4fedd5481f448035b78eda04155168a08e3ee5b5/index.html) is available at [bazzline.net](http://www.bazzline.net).
151153

152-
# History
153-
154-
* upcomming
155-
* @todo
156-
* add support for lambdafunctions or move to __invoke() fully
157-
* added example for [tee](https://en.wikipedia.org/wiki/Tee_(command))
158-
* @done
159-
* fixed invalid package names
160-
* Added rector
161-
* Added php-cs-fixer
162-
* [1.1.1](https://github.com/bazzline/php_component_process_pipe/tree/1.1.1) - released at 29.07.2016
163-
* fixed invalid example links
164-
* removed local api
165-
* updated dependency
166-
* [1.1.0](https://github.com/bazzline/php_component_process_pipe/tree/1.1.0) - released at 06.03.2016
167-
* added php 7.0 to travis ci
168-
* fixed invalid version link
169-
* moved to psr-4 autoloading
170-
* updated dependency
171-
* [1.0.5](https://github.com/bazzline/php_component_process_pipe/tree/1.0.5) - released at 11.12.2015
172-
* updated dependency
173-
* [1.0.4](https://github.com/bazzline/php_component_process_pipe/tree/1.0.4) - released at 18.11.2015
174-
* updated dependency
175-
* [1.0.3](https://github.com/bazzline/php_component_process_pipe/tree/1.0.3) - released at 28.08.2015
176-
* updated dependency
177-
* [1.0.2](https://github.com/bazzline/php_component_process_pipe/tree/1.0.2) - released at 04.07.2015
178-
* removed depenendy to phpmd
179-
* updated dependency
180-
* [1.0.1](https://github.com/bazzline/php_component_process_pipe/tree/1.0.1) - released at 08.02.2015
181-
* add "StopExecutionException"
182-
* removed dependency to apigen
183-
* [1.0.0](https://github.com/bazzline/php_component_process_pipe/tree/1.0.0) - released at 12.11.2014
184-
* initial release
185-
186-
# Links
187-
188-
## thanks to
154+
## Development notes
155+
156+
After code changes, please run:
157+
158+
```bash
159+
composer check
160+
./vendor/bin/rector process
161+
./vendor/bin/php-cs-fixer fix source
162+
```
163+
164+
## Links
165+
166+
### Thanks to
189167

190168
* [ralf westphal](http://ralfw.de/)
191169
* [the architects napkin](https://leanpub.com/thearchitectsnapkin-derschummelzettel)
192170

193-
## other pipe implementations
171+
### Other pipe implementations
194172

195173
* [pipes](https://github.com/vkartaviy/pipes)
196174
* [php-pipeline](https://github.com/JosephMoniz/php-pipeline)
@@ -200,6 +178,6 @@ try {
200178
* [tacone pipes](https://github.com/tacone/pipes)
201179
* [plumber](https://github.com/jadell/plumber)
202180

203-
# Final Words
181+
## Final Words
204182

205183
Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if you use it. [Donate something](https://gratipay.com/~stevleibelt) if you love it :-].

0 commit comments

Comments
 (0)