PHPackages                             flotz/txtlocal - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. flotz/txtlocal

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

flotz/txtlocal
==============

Wrapper for TxtLocal.co.uk

1.0.0(11y ago)04661MITPHPPHP &gt;=5.2

Since Jan 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/FlorentMetz/flotz)[ Packagist](https://packagist.org/packages/flotz/txtlocal)[ RSS](/packages/flotz-txtlocal/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (1)Versions (2)Used By (0)

TxtLocal Wrapper
================

[](#txtlocal-wrapper)

This is just a Symfony Bundle Wrapper for [Text Local](http://www.textlocal.com/) with a bit of configuration.

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

[](#installation)

In your `composer.json` file, add:

```
{
    "require": {
        "flotz/txtlocal" : "dev-master"
    }
}
```

In your `app/AppKernel.php` file, add:

```
{
    ...
    new Flotz\TxtLocalBundle\FlotzTxtLocalBundle(),
    ...
}
```

In your `app/config/config.yml`:

```
flotz_txt_local:
    username: your@email.com
    hash: "hash key here as provided by TextLocal"
    test: false # This is optional (default is true)
    apiKey: "api key here as provided by TextLocal" # This is optional
```

Then update your composer:

```
$ composer update
```

Usage
=====

[](#usage)

From a symfony controller:

```
    // Note: $number could be a simple mobile number:
    $number     = '447123123123';

    // or a comma separated serie of numbers:
    $number     = '447123123123, 447500400600';

    // or an array of numbers:
    $number     = array('447123123123', '447500400600');

    // $message is the content of the received SMS
    $message    = 'Thank you for using this bundle';

    // $sender is the name that will appear as a sender
    $sender     = 'Florent';

    $this->get('flotz_txtlocal')->sendSms($number, $message, $sender);
    $balance = $this->get('flotz_txtlocal')->getBalance();
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

4181d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7816271?v=4)[FlorentMetz](/maintainers/FlorentMetz)[@FlorentMetz](https://github.com/FlorentMetz)

---

Tags

textlocal txtlocal

### Embed Badge

![Health badge](/badges/flotz-txtlocal/health.svg)

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

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

32642.2k24](/packages/symfony-ai-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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