Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit 10dec12

Browse files
committed
initial working copy
0 parents  commit 10dec12

5 files changed

Lines changed: 568 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/vendor
2+
build
3+
composer.phar
4+
composer.lock
5+
.DS_Store

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Mobtexting Http Client
2+
3+
## Installation
4+
5+
You can install the package via composer:
6+
7+
``` bash
8+
composer require mobtexting/php-http-client
9+
```
10+
11+
## Usage
12+
13+
```php
14+
$headers = ['Authorization: Bearer ' . $apiKey];
15+
$client = new Mobtexting\Client('https://api.example.com', $headers);
16+
```
17+
18+
## Security
19+
20+
If you discover any security related issues, please email support@mobtexting.com instead of using the issue tracker.
21+
22+
## Contributing
23+
24+
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
25+
26+
## License
27+
28+
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

composer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "mobtexting/php-http-client",
3+
"description": "HTTP REST client, simplified for PHP",
4+
"type": "library",
5+
"homepage": "http://github.com/sendgrid/php-http-client",
6+
"keywords": ["Mobtexting", "HTTP", "REST", "API"],
7+
"license": "MIT",
8+
"authors": [
9+
{
10+
"name": "Sankar Suda",
11+
"email": "sankar@mobtexting.com"
12+
}
13+
],
14+
"require": {
15+
"php": ">=5.6"
16+
},
17+
"require-dev": {
18+
"phpunit/phpunit": "~4.4",
19+
"squizlabs/php_codesniffer": "~2.0"
20+
},
21+
"autoload": {
22+
"psr-4": {
23+
"Mobtexting\\": "src/"
24+
}
25+
},
26+
"autoload-dev": {
27+
"psr-4": {
28+
"Mobtexting\\Test\\": "test/unit/"
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)