Skip to content

Commit 248ebcd

Browse files
committed
Init Postgres persistence
1 parent 5839af1 commit 248ebcd

File tree

21 files changed

+971
-3421
lines changed

21 files changed

+971
-3421
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ jobs:
88
check:
99
uses: thesis-php/.github/.github/workflows/check.yml@main
1010
secrets: inherit
11+
with:
12+
psalm: false

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Thesis Template
1+
# Postgres Persistence for Thesis MessageBus
22

3-
[![PHP Version Requirement](https://img.shields.io/packagist/dependency-v/thesis/template/php)](https://packagist.org/packages/thesis/template)
4-
[![GitHub Release](https://img.shields.io/github/v/release/thesis-php/template)](https://github.com/thesis-php/template/releases)
5-
[![Code Coverage](https://codecov.io/gh/thesis-php/template/branch/0.1.x/graph/badge.svg)](https://codecov.io/gh/thesis-php/template/tree/0.1.x)
6-
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fthesis-php%2Ftemplate%2F0.1.x)](https://dashboard.stryker-mutator.io/reports/github.com/thesis-php/template/0.1.x)
3+
[![PHP Version Requirement](https://img.shields.io/packagist/dependency-v/thesis/message-bus-persistence-postgres/php)](https://packagist.org/packages/thesis/message-bus-persistence-postgres)
4+
[![GitHub Release](https://img.shields.io/github/v/release/thesis-php/message-bus-persistence-postgres)](https://github.com/thesis-php/message-bus-persistence-postgres/releases)
5+
[![Code Coverage](https://codecov.io/gh/thesis-php/message-bus-persistence-postgres/branch/0.1.x/graph/badge.svg)](https://codecov.io/gh/thesis-php/message-bus-persistence-postgres/tree/0.1.x)
6+
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fthesis-php%2Fmessage-bus-persistence-postgres%2F0.1.x)](https://dashboard.stryker-mutator.io/reports/github.com/thesis-php/message-bus-persistence-postgres/0.1.x)
77

88
## Installation
99

1010
```shell
11-
composer require thesis/template
11+
composer require thesis/message-bus-persistence-postgres
1212
```

composer.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "thesis/template",
3-
"description": "Thesis Template",
2+
"name": "thesis/message-bus-persistence-postgres",
3+
"description": "Postgres Persistence for Thesis MessageBus",
44
"license": "MIT",
55
"type": "library",
66
"authors": [
@@ -14,21 +14,25 @@
1414
}
1515
],
1616
"require": {
17-
"php": "^8.3"
17+
"php": "^8.4",
18+
"amphp/postgres": "^2.1",
19+
"amphp/sql": "^2.0",
20+
"thesis/message-bus": "^0.3@dev"
1821
},
1922
"require-dev": {
2023
"bamarni/composer-bin-plugin": "^1.8.2",
2124
"phpunit/phpunit": "^12.1.4",
22-
"symfony/var-dumper": "^6.4.15 || ^7.2.6"
25+
"symfony/var-dumper": "^6.4.15 || ^7.2.6",
26+
"typhoon/formatter": "^0.1@dev"
2327
},
2428
"autoload": {
2529
"psr-4": {
26-
"Thesis\\Template\\": "src/"
30+
"Thesis\\MessageBus\\Persistence\\Postgres\\": "src/"
2731
}
2832
},
2933
"autoload-dev": {
3034
"psr-4": {
31-
"Thesis\\Template\\": "tests/"
35+
"Thesis\\MessageBus\\Persistence\\Postgres\\": "tests/"
3236
}
3337
},
3438
"config": {
@@ -37,7 +41,7 @@
3741
},
3842
"bump-after-update": "dev",
3943
"platform": {
40-
"php": "8.3.17"
44+
"php": "8.4.4"
4145
},
4246
"sort-packages": true
4347
},
@@ -50,7 +54,7 @@
5054
},
5155
"scripts": {
5256
"analyse-deps": "tools/composer-dependency-analyser/vendor/bin/composer-dependency-analyser",
53-
"fixcs": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff --verbose",
57+
"fixcs": "PHP_CS_FIXER_IGNORE_ENV=1 tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff --verbose",
5458
"infection": "tools/infection/vendor/bin/infection --show-mutations",
5559
"normalize": "@composer bin composer-normalize normalize --diff ../../composer.json",
5660
"phpstan": "tools/phpstan/vendor/bin/phpstan analyze",

0 commit comments

Comments
 (0)