PHPackages                             artox-lab/sms-bundle - 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. artox-lab/sms-bundle

ActiveSymfony-bundle

artox-lab/sms-bundle
====================

Sms sending with different providers

v1.3.1(5y ago)01.8kMITPHPPHP &gt;=7.1.0CI failing

Since Apr 14Pushed 5y ago2 watchersCompare

[ Source](https://github.com/artox-lab/sms-bundle)[ Packagist](https://packagist.org/packages/artox-lab/sms-bundle)[ RSS](/packages/artox-lab-sms-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (12)Used By (0)

Sms Bundle
==========

[](#sms-bundle)

This bundle will help you to implement an sms messages to your project.

Based on [yamilovs/sms-bundle](https://github.com/yamilovs/SmsBundle)

Installation
============

[](#installation)

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require artox-lab/sms-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require artox-lab/sms-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    ArtoxLab\Bundle\SmsBundle\ArtoxLabSmsBundle::class => ['all' => true],
];
```

### Step 3: Configuration

[](#step-3-configuration)

You can define as many provider configurations as you want. Available providers are:

- [SmsLine](Resources/docs/providers/sms_line.md) \[mobilemarketing.by\]
- [LetsAds](Resources/docs/providers/lets_ads.md) \[letsads.com\]
- [InfoBip](Resources/docs/providers/infobip.md) \[infobip.com\]
- [SmsTraffic](Resources/docs/providers/sms_traffic.md) \[smstraffic.ru\]

For debug:

- [Log](Resources/docs/providers/log.md)
- [Mail](Resources/docs/providers/mail.md)
- [Slack](Resources/docs/providers/slack.md)

Usage
=====

[](#usage)

#### In your controller

[](#in-your-controller)

```
