First draft

This commit is contained in:
loviuz 2021-05-24 19:26:52 +02:00
parent 39dd587542
commit 8c2a62e740
4 changed files with 22 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
config.inc.php
*.lock
*.phar
vendor/

5
composer.json Normal file
View File

@ -0,0 +1,5 @@
{
"require": {
"nategood/httpful": "^0.3.2"
}
}

7
config.example.php Normal file
View File

@ -0,0 +1,7 @@
<?php
$users = [
'user1' => [
'webhook' => 'https://rocketchat.instance.com/hooks/token'
]
];

6
rc-automator.php Normal file
View File

@ -0,0 +1,6 @@
<?php
include __DIR__.'/vendor/autoload.php';
include __DIR__.'/config.inc.php';
print_r($users);