Skip to content

Commit 897b6d0

Browse files
committed
install from composer
1 parent 2737b54 commit 897b6d0

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# PHPCI-Telegram-Plugin
33
Telegram plugin for PHPCI
44
# Installation
5-
Place the file under the folder <path to PHPCI>/PHPCI/plugins
5+
First of all - `composer require lexasoft/phpci-telegram-plugin`
66

77
# Add to project
88
In the PHPCI Project config section add the Telegram trigger

composer.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,20 @@
1111
"require": {
1212
"php": ">=5.3.3"
1313
},
14-
"target-dir": "LEXASOFT/PHPCI/Plugin",
1514
"autoload": {
16-
"psr-0": {
17-
"LEXASOFT\\PHPCI\\Plugin": ""
15+
"classmap": [
16+
"src/Telegram.php"
17+
]
18+
},
19+
"extra": {
20+
"phpci": {
21+
"pluginNamespace": "PHPCI\\Plugin\\",
22+
"suppliedPlugins": [
23+
{
24+
"name": "Telegram",
25+
"class": "Telegram"
26+
}
27+
]
1828
}
1929
}
2030
}
File renamed without changes.

0 commit comments

Comments
 (0)