PHPackages                             karlmacz/chikka - 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. karlmacz/chikka

ActiveLibrary[API Development](/categories/api)

karlmacz/chikka
===============

Chikka API for Laravel 5

1.0.0(9y ago)010MITPHPPHP &gt;=5.5.5

Since Apr 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/KarlMacz/Chikka)[ Packagist](https://packagist.org/packages/karlmacz/chikka)[ RSS](/packages/karlmacz-chikka/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Chikka
======

[](#chikka)

Chikka SMS API package for Laravel 5.

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

[](#installation)

Require this package in your project's `composer.json` file.

```
composer require karlmacz/chikka

```

Setup
-----

[](#setup)

Add the service provider to the `providers` array in your project's `config/app.php` file.

```
KarlMacz\Chikka\ChikkaServiceProvider::class,

```

Add `CHIKKA_ACCESS_CODE`, `CHIKKA_CLIENT_ID`, `CHIKKA_SECRET_KEY`, and `CHIKKA_REQUEST_COST`in your project's `.env` file.

```
CHIKKA_ACCESS_CODE=your_short_code
CHIKKA_CLIENT_ID=your_client_id
CHIKKA_SECRET_KEY=your_secret_key
CHIKKA_REQUEST_COST=FREE

```

`CHIKKA_REQUEST_COST`'s default value is `FREE`, so no need to add this to your project's `.env` file if you want chikka to decide how much credits will be deducted to the user's actual load.

Also, `CHIKKA_STORE_TRANSACTIONS` is available with a default value of `false`. When set to `true`, all incoming and outgoing sms will be stored in the database. After setting it to `true`, publish the migrations from this package.

```
php artisan vendor:publish

```

This will add `2017_04_08_000000_create_chikka_incoming_sms_table.php` and `2017_04_08_000001_create_chikka_outgoing_sms_table.php` to your project's `database/migrations` directory. After that, run the migrations.

```
php artisan migrate

```

Usage
-----

[](#usage)

### Sending SMS to a user

[](#sending-sms-to-a-user)

To send an sms, make a HTTP POST Request to the `/chikka/send` path.

```

```

`message_type` parameter's value must be set to `SEND`.

### Replying to a SMS from users

[](#replying-to-a-sms-from-users)

To reply to an sms sent to you by the user, make a HTTP POST Request to the `/chikka/send` path with an additional paramater `request_id`.

```

```

`message_type` parameter's value must be set to `REPLY`. Also, `request_id` parameter's value must be the same transaction ID indicated in the message you received.

`/chikka/send`'s named route `chikka.send` is also available for you to use.

### Receiving SMS from users

[](#receiving-sms-from-users)

When `CHIKKA_STORE_TRANSACTIONS` is set to `true` in your project's `.env` file, all incoming sms will automatically be saved to the database.

All you have to do now is to add `/chikka/receive` path to the **Message Receiver URL** in the [Chikka API Settings Page](https://api.chikka.com/api/settings)

[![Sample Image](https://github.com/KarlMacz/Chikka/raw/master/docs/images/chikka_api_settings.png)](https://github.com/KarlMacz/Chikka/blob/master/docs/images/chikka_api_settings.png)

Note
----

[](#note)

When making a HTTP POST Request to the `/chikka/send` path using a Standard HTTP Request, the response is converted to a flash session that you may display by using `session()->get()`.

```
session()->get('flash_status')
session()->get('flash_message')

```

But, when making a HTTP POST Request to the `/chikka/send` path using AJAX, the response is encoded to JSON.

```
{ 'status': 'Success', 'message': 'Message sent.' }

```

License
-------

[](#license)

This package is licensed under the [MIT License](https://github.com/KarlMacz/Chikka/blob/master/LICENSE).

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44bf0f9a756ceedee23d97afc94233f2fdf057f9a4543530dda2b437c846c1f7?d=identicon)[KarlMacz](/maintainers/KarlMacz)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/karlmacz-chikka/health.svg)

```
[![Health](https://phpackages.com/badges/karlmacz-chikka/health.svg)](https://phpackages.com/packages/karlmacz-chikka)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[moonshine/moonshine

Laravel administration panel

1.3k239.9k75](/packages/moonshine-moonshine)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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