Skip to content

Commit 10c0cbb

Browse files
Merge branch 'release/0.2.0'
2 parents 1004350 + c7dcaae commit 10c0cbb

38 files changed

+3483
-1769
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.idea
22
vendor
3+
.php-cs-fixer.cache

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG
22

3+
## v0.2.0 - [2023/07/16]
4+
5+
- Added new method `getListenerByPort`
6+
- Added methods for implementation
7+
- `setApplicationLogPath($path)`
8+
- `setApplicationLogFormat($format)`
9+
- Replaced arrays to object in Route
10+
- Updated doc
11+
312
## v0.1.0 - [2023/07/13] (Experimental version)
413

514
- Created project

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,36 @@
11
# PHP SDK for Nginx Unit
22

3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/Pavlusha311245/unit-php-sdk?labelColor=%231e293b&color=%23702963&link=https%3A%2F%2Fpackagist.org%2Fpackages%2Fpavlusha311245%2Funit-php-sdk)](https://packagist.org/packages/pavlusha311245/unit-php-sdk)
4+
[![Documentation](https://img.shields.io/website?url=https%3A%2F%2Funit-sdk.pavlusha.me%2F&label=documentation&link=https%3A%2F%2Funit-sdk.pavlusha.me%2F)](https://unit-sdk.pavlusha.me/)
5+
36
_THIS PROJECT IN DEVELOPMENT. DON'T USE IT IN PRODUCTION_
47

58
## Quick start
6-
```shell
7-
composer require pavlusha311245/unit-php-sdk
8-
```
9+
10+
### Pre-requirements
11+
12+
* PHP >= 8.2
13+
* PHP curl extension
14+
* Composer >= 2
15+
16+
### Installation
17+
* Create folder `mkdir example-php-project`
18+
* Open folder cd `example-php-project`
19+
* Init composer `composer init`
20+
* Add package `composer require pavlusha311245/unit-php-sdk`
21+
22+
Congratulations! You installed package. Now you can use the full power of this SDK.
23+
#### Happy coding 😊
24+
25+
## Documentation
26+
27+
More information about API references you can find [here](https://unit-sdk.pavlusha.me/)
928

1029
## Changelog
30+
1131
More information about changes you can see [here](CHANGELOG.md)
1232

1333
## Contribution
14-
More info about contribution you can read [here](https://docs.github.com/en/get-started/quickstart/contributing-to-projects)
34+
35+
More info about contribution you can
36+
read [here](https://docs.github.com/en/get-started/quickstart/contributing-to-projects)

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"minimum-stability": "stable",
2929
"require": {
3030
"php": ">=8.2",
31+
"friendsofphp/php-cs-fixer": "^3.21",
3132
"ext-curl": "*"
3233
},
3334
"require-dev": {

0 commit comments

Comments
 (0)