PHPackages                             sarahman/sms-service-with-bd-providers - 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. [Framework](/categories/framework)
4. /
5. sarahman/sms-service-with-bd-providers

ActiveLibrary[Framework](/categories/framework)

sarahman/sms-service-with-bd-providers
======================================

SMS Gateway service library in PHP. Multiple providers of Bangladesh in one library

1.0.5(2y ago)012.1k↓50%1MITPHPPHP &gt;=5.5.34

Since Oct 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sarahman/sms-service-with-bd-providers)[ Packagist](https://packagist.org/packages/sarahman/sms-service-with-bd-providers)[ RSS](/packages/sarahman-sms-service-with-bd-providers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (6)Versions (7)Used By (0)

SMS Gateway Library for Various Bangladesh SMS Providers
========================================================

[](#sms-gateway-library-for-various-bangladesh-sms-providers)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3fad21a1bd5b5a5642033b1b76d5e2449de698a0c3287fb1012be54d044b8b2e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73617261686d616e2f736d732d736572766963652d776974682d62642d70726f7669646572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sarahman/sms-service-with-bd-providers)[![Build Status](https://camo.githubusercontent.com/bc5cf5077daef685b42a76752f9658dc3513f60e3cd5ad6c7d0d93234bc08cef/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73617261686d616e2f736d732d736572766963652d776974682d62642d70726f7669646572732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/sarahman/sms-service-with-bd-providers)[![Quality Score](https://camo.githubusercontent.com/328ebce45be003594be5993f5cd298a757dfda0c97b6ce4dd7978e7a9155c670/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73617261686d616e2f736d732d736572766963652d776974682d62642d70726f7669646572732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sarahman/sms-service-with-bd-providers)[![StyleCI](https://camo.githubusercontent.com/ee6b956c45fa2cd6272b8ceb78d30c058f66576408c7158d3006c37395dae921/68747470733a2f2f7374796c6563692e696f2f7265706f732f3638363430303832332f736869656c64)](https://styleci.io/repos/686400823)[![Total Downloads](https://camo.githubusercontent.com/c523993e9db77e108c69e4b5f205986fb13f9f7706dc7160adf458e9967813ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73617261686d616e2f736d732d736572766963652d776974682d62642d70726f7669646572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sarahman/sms-service-with-bd-providers)[![License](https://camo.githubusercontent.com/8f668245cbfddd12d34b2c427b48c23196e3af6ceb53b5b1bf24aed12b3540d9/687474703a2f2f706f7365722e707567782e6f72672f73617261686d616e2f736d732d736572766963652d776974682d62642d70726f7669646572732f6c6963656e7365)](https://packagist.org/packages/sarahman/sms-service-with-bd-providers)[![PHP Version Require](https://camo.githubusercontent.com/c8c5301bc893057a1c9ad041fcb2cbaf0b23ca4c9f1ab1bc484fad744305b7b2/687474703a2f2f706f7365722e707567782e6f72672f73617261686d616e2f736d732d736572766963652d776974682d62642d70726f7669646572732f726571756972652f706870)](https://packagist.org/packages/sarahman/sms-service-with-bd-providers)

Simple php library to interact with various SMS gateways to send SMS to the Bangladeshi mobile users with storing SMS request logs.

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

[](#installation)

Please install this library with `composer`. Run the following composer command to add this library.

```
composer require sarahman/sms-service-with-bd-providers
```

Next, you need to install the service provider:

```
// app/config/app.php
    .....
    .....
    'providers' => [
        ...
        Sarahman\SmsService\SmsGatewayServiceProvider::class,
    ],
    .....
    .....
```

You can publish the config file with:

### For Laravel version 4.\*

[](#for-laravel-version-4)

```
php artisan config:publish sarahman/sms-service-with-bd-providers
```

### For Laravel version greater than 4

[](#for-laravel-version-greater-than-4)

```
php artisan vendor:publish --provider="Sarahman\SmsService\ServiceProviderForLaravelRecent"
```

This is the contents of the published config file:

```
