Skip to content

Commit 1b5823f

Browse files
authored
Add files via upload
1 parent 73c2731 commit 1b5823f

5 files changed

Lines changed: 78 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# 📜 Changelog - GetAnyMessage
3+
4+
All notable changes to the **GetAnyMessage** project will be documented in this file.
5+
6+
---
7+
8+
## [v1.0.0] - 2026-01-15
9+
10+
### 🚀 Initial Release
11+
- First stable release of **GetAnyMessage**.
12+
13+
---

composer.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "wizardloop/getanymessage",
3+
"description": "A Telegram Bot to receive messages from restricted chats.",
4+
"type": "project",
5+
"require": {
6+
"php": "^8.4",
7+
"danog/madelineproto": "^8.6"
8+
},
9+
"require-dev": {
10+
"phpunit/phpunit": "^10.0",
11+
"squizlabs/php_codesniffer": "^3.7",
12+
"friendsofphp/php-cs-fixer": "^3.50"
13+
},
14+
"autoload": {
15+
"psr-4": {
16+
"GetAnyMessage\\": "src/"
17+
}
18+
},
19+
"autoload-dev": {
20+
"psr-4": {
21+
"GetAnyMessage\\Tests\\": "tests/"
22+
}
23+
},
24+
"scripts": {
25+
"test": "phpunit --configuration phpunit.xml",
26+
"lint": "phpcs --standard=phpcs.xml",
27+
"fix": "php-cs-fixer fix --config=.php-cs-fixer.dist.php"
28+
},
29+
"license": "AGPL-3.0-only",
30+
"authors": [
31+
{
32+
"name": "WizardLoop"
33+
}
34+
]
35+
}

docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
services:
2+
getanymessage:
3+
image: hub.madelineproto.xyz/danog/madelineproto
4+
restart: always
5+
init: true
6+
tty: true
7+
working_dir: /app/src
8+
volumes:
9+
- ./:/app
10+
env_file:
11+
- .env
12+
command: php /app/src/bot.php

phpcs.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="JewishPulse">
3+
<description>PHP CodeSniffer configuration for JewishPulse</description>
4+
<file>src</file>
5+
<file>tests</file>
6+
<exclude-pattern>vendor/*</exclude-pattern>
7+
<rule ref="PSR12"/>
8+
</ruleset>

phpunit.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit bootstrap="vendor/autoload.php"
3+
colors="true"
4+
verbose="true">
5+
<testsuites>
6+
<testsuite name="Default">
7+
<directory suffix="Test.php">./tests</directory>
8+
</testsuite>
9+
</testsuites>
10+
</phpunit>

0 commit comments

Comments
 (0)