Skip to content

Commit 2aa0c60

Browse files
committed
added README
1 parent cc24a95 commit 2aa0c60

30 files changed

+25
-0
lines changed

.gitignore

100644100755
File mode changed.

.idea/misc.xml

100644100755
File mode changed.

.idea/modules.xml

100644100755
File mode changed.

.idea/php.xml

100644100755
File mode changed.

.idea/vcs.xml

100644100755
File mode changed.

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Sms77.io PHP API
2+
3+
## Installation
4+
5+
```shell script
6+
composer require sms77/api
7+
```
8+
9+
### Usage
10+
```php
11+
use Sms77\Api\Client;
12+
$client = new Client('MYVERYSECRETAPIKEY1234!?');
13+
$client->sms('00491755523119', 'HI2U');
14+
```
15+
16+
#### Implemented Endpoints
17+
18+
- sms
19+
- status
20+
- balance
21+
- pricing
22+
- lookup
23+
- contacts
24+
- voice
25+
- validate_for_voice

composer.json

100644100755
File mode changed.

composer.lock

100644100755
File mode changed.

src/Client.php

100644100755
File mode changed.

src/Exception/InvalidOptionalArgumentException.php

100644100755
File mode changed.

src/Exception/InvalidRequiredArgumentException.php

100644100755
File mode changed.

src/Validator/BaseValidator.php

100644100755
File mode changed.

src/Validator/ContactsValidator.php

100644100755
File mode changed.

src/Validator/LookupValidator.php

100644100755
File mode changed.

src/Validator/PricingValidator.php

100644100755
File mode changed.

src/Validator/SmsValidator.php

100644100755
File mode changed.

src/Validator/StatusValidator.php

100644100755
File mode changed.

src/Validator/ValidateForVoiceValidator.php

100644100755
File mode changed.

src/Validator/ValidatorInterface.php

100644100755
File mode changed.

src/Validator/VoiceValidator.php

100644100755
File mode changed.

tests/Client/BalanceTest.php

100644100755
File mode changed.

tests/Client/BaseTest.php

100644100755
File mode changed.

tests/Client/ClientFactory.php

100644100755
File mode changed.

tests/Client/ContactsTest.php

100644100755
File mode changed.

tests/Client/LookupTest.php

100644100755
File mode changed.

tests/Client/PricingTest.php

100644100755
File mode changed.

tests/Client/SmsTest.php

100644100755
File mode changed.

tests/Client/StatusTest.php

100644100755
File mode changed.

tests/Client/ValidateForVoiceTest.php

100644100755
File mode changed.

tests/Client/VoiceTest.php

100644100755
File mode changed.

0 commit comments

Comments
 (0)