PHPackages                             marklestermorta/buka-sms-api-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. marklestermorta/buka-sms-api-laravel

ActiveLibrary[API Development](/categories/api)

marklestermorta/buka-sms-api-laravel
====================================

Laravel wrapper for Buka SMS API

01.8k1PHP

Since Jul 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/MarkLester10/buka-sms-api)[ Packagist](https://packagist.org/packages/marklestermorta/buka-sms-api-laravel)[ RSS](/packages/marklestermorta-buka-sms-api-laravel/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

BUKA SMS API
============

[](#buka-sms-api)

A Laravel wrapper for BUKA SMS API

Installation
------------

[](#installation)

Require package

```
  composer require marklestermorta/buka-sms-api-laravel
```

Publish Configuration file

```
  php artisan vendor:publish --provider="MarkLesterMorta\BukaSMSApi\BukaSMSApiServiceProvider"
```

Add ENV variables

```
  BUKAS_SMS_API_KEY=
  BUKAS_SMS_API_SECRET=
  BUKAS_SMS_APP_ID=
```

Usage/Examples
--------------

[](#usageexamples)

### Send SMS

[](#send-sms)

```
  return BukaSMSApi::sendSMS('9*********', "Your Message");
```

### Sample Response

[](#sample-response)

```
{
  "status": "0",
  "reason": "success",
  "success": "1",
  "fail": "0",
  "array":[
    {
      "msgId": "2108021054011000095",
      "number": "9*********"
    }
  ]
}
```

### Get Balance

[](#get-balance)

```
   return BukaSMSApi::getBalance();
```

### Sample Response

[](#sample-response-1)

```
{
  "status": "0",
  "reason": "success",
  "balance": "99.990000",
  "gift": "50.00000",
  "credit": "0"
}
```

API Response Reference
----------------------

[](#api-response-reference)

### Sending SMS

[](#sending-sms)

ParameterTypeDescription`status``string``”0”means successful,others than 0 means failure ,seeing Status code description``reason``string``failure reason description``success``string``number of successful submitted numbers``fail``string``number of failure submitted numbers``array``JSONArray``the number of Successful Submitted Array.``msgId``string``submitted numbers id corresponding to platform``number``string``submitted numbers`### Getting Balance

[](#getting-balance)

ParameterTypeDescription`status``string``”0”means successful,others than 0 means failure ,seeing Status code description``reason``string``failure reason description``balance``string``actual account balance``gift``string``gifted account balance``credit``string``credit account balance`

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b06643c6592ec336313c6938274139a19db902454d7564457bec2366c0487b5?d=identicon)[marklester](/maintainers/marklester)

---

Top Contributors

[![MarkLester10](https://avatars.githubusercontent.com/u/42936075?v=4)](https://github.com/MarkLester10 "MarkLester10 (4 commits)")

### Embed Badge

![Health badge](/badges/marklestermorta-buka-sms-api-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/marklestermorta-buka-sms-api-laravel/health.svg)](https://phpackages.com/packages/marklestermorta-buka-sms-api-laravel)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k16](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
