Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Updates #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
# clickatell-sms
# Clickatell SMS

A simple Clickatell Laravel wrapper for Laravel 5.4+.
A simple Clickatell Laravel wrapper for Laravel 5.4/5.

### Installation

```php
composer require billowapp/clickatell-sms
```

### env
### Env Configuration

```
CLICKATELL_API_KEY=your_api_key
```

### Facade Import
### Usage

```php
use Facades\Billow\Utilities\SMS;
```

### Usage example
use Facades\Billow\Utilities\SMS; // Real-time facade

```php
SMS::recipient('27112223333')->content('your text message content')->send();
```
```

The `send()` method will return a boolean. If sending the SMS failed, check your logs for the error.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "billowapp/clickatell-sms",
"description": "laravel package for clickatell",
"description": "Laravel package for the Clickatell Platform",
"license": "MIT",
"authors": [
{
Expand All @@ -9,6 +9,7 @@
}
],
"require": {
"laravel/framework": "~5.4",
"guzzlehttp/guzzle": "^6.3"
},
"autoload": {
Expand Down
250 changes: 0 additions & 250 deletions composer.lock

This file was deleted.

Loading