PHPackages                             akibatech/laravel-free-mobile-sms - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. akibatech/laravel-free-mobile-sms

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

akibatech/laravel-free-mobile-sms
=================================

Intégration de l'envoi de SMS avec Free Mobile pour Laravel 5

1.0.3(9y ago)56751MITPHPPHP &gt;=5.5.9

Since Aug 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/MarceauKa/laravel-free-mobile-sms)[ Packagist](https://packagist.org/packages/akibatech/laravel-free-mobile-sms)[ RSS](/packages/akibatech-laravel-free-mobile-sms/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Laravel Free Mobile SMS
=======================

[](#laravel-free-mobile-sms)

[![Build Status](https://camo.githubusercontent.com/660a9562d5a7ade5de2013b64c6ce6e119d832d4a1e58d2b8aeaaa94becafe2b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416b696261546563682f6c61726176656c2d667265652d6d6f62696c652d736d732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AkibaTech/laravel-free-mobile-sms/build-status/master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/b484c611b279b72bd16053dc1a2addb1732cc0d500ac979769c562b7274aa82e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416b696261546563682f6c61726176656c2d667265652d6d6f62696c652d736d732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AkibaTech/laravel-free-mobile-sms/?branch=master) [![SensioLabsInsight](https://camo.githubusercontent.com/7287c94484e786d17ddf5aa1cfa0c3640cfcc04ff6d4ae033b95c901d4d88225/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34646538366531622d343966622d346465612d383538312d3230303562666661653236352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/4de86e1b-49fb-4dea-8581-2005bffae265)

Ce paquet vous permet d'**envoyer extrêment facilement** des **notifications SMS** sur votre **téléphone Free Mobile** depuis votre application Laravel 5.

Si vous êtes chez **Free Mobile**, cette option est gratuite ! Ne vous en privez pas :)

- [Site Free Mobile](https://mobile.free.fr)
- Actualité : ["Nouvelle option « Notifications par SMS » chez Free Mobile"](https://www.freenews.fr/freenews-edition-nationale-299/free-mobile-170/nouvelle-option-notifications-par-sms-chez-free-mobile-14817)

Sommaire
--------

[](#sommaire)

- [Installation](#installation)
- [Usage](#usage)
- [Laravel Notifications](#laravel-notifications)
    - [Exemple](#exemple)
- [Obtenir vos identifiants](#obtenir-vos-identifiants)
- [Support](#support)
- [Auteur](#auteur)
- [Licence](#licence)

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

[](#installation)

Installer ce paquet avec Composer:

```
composer require akibatech/laravel-free-mobile-sms
```

Ajoutez le ServiceProvider dans **config/app.php**:

```
Akibatech\FreeMobileSms\ServiceProvider::class,
```

Si vous souhaitez utiliser la facade, incluez la dans ce même fichier de config:

```
'Freemobile' => Akibatech\FreeMobileSms\Facade::class,
```

Ensuite, publiez le fichier de config **laravel-free-mobile-sms** en tapant la commande suivante:

```
php artisan vendor:publish --provider="Akibatech\FreeMobileSms\ServiceProvider"
```

Usage
-----

[](#usage)

Envoyer un sms sur votre téléphone :

```
FreeMobileSms::send('Elle est où la poulette !?');
```

Envoyer un sms en passant l'instance en paramètre (DI) :

```
public function myControllerAction(Akibatech\FreeMobileSms\FreeMobileSms $client)
{
    $sms->send('Pas changer assiette pour fromage !');
}
```

Ou bien, récupérer l'instance depuis le container :

```
public function myControllerAction()
{
    app('freemobile')->send("C'est pas faux.");
}
```

Laravel Notifications
---------------------

[](#laravel-notifications)

Si vous êtes sous Laravel 5.3, vous pouvez utiliser ce paquet en tant que driver pour Laravel Notifications.

### Exemple

[](#exemple)

```
namespace App\Notifications;

use Akibatech\FreeMobileSms\Notifications\FreeMobileChannel;
use Akibatech\FreeMobileSms\Notifications\FreeMobileMessage;
use Illuminate\Notifications\Notification;

class ExampleNotification extends Notification
{
    /**
     * Notification via FreeMobileChannel.
     */
    public function via($notifiable)
    {
        return [FreeMobileChannel::class];
    }

    /**
     * Your notification must implements "toFreeMobile()"
     */
    public function toFreeMobile($notifiable)
    {
    	return (new FreeMobileMessage("C'est marrant les petits bouts de fromage par terre. C'est ça que vous appelez une fondue ?"));
    }
}
```

Voilà, vous pouvez maintenant utiliser votre téléphone Free Mobile pour recevoir vos notifications SMS gratuitement :)

Obtenir vos identifiants
------------------------

[](#obtenir-vos-identifiants)

C'est très simple, rendez-vous sur votre [espace abonné Free Mobile](https://mobile.free.fr/moncompte/) puis dans la section **Gérer mon compte**, sous-menu **Mes options**.

Vous trouverez vos identifiants comme sur la capture ci-dessous.

[![Capture compte Free Mobile](capture.png)](capture.png)

Une fois vos identifiants en main, ajoutez-les dans le fichier **config/laravel-free-mobile-sms.php**.
Il vous est possible de les configurer dans le fichier **.env** qui n'est pas versionné.

- FREE\_USER =&gt; vos identifiant client (8 chiffres)
- FREE\_PASS =&gt; votre clé d'identification SMS

Support
-------

[](#support)

N'hésitez pas à utiliser le gestion d'issus pour vos retours.

Auteur
------

[](#auteur)

[Marceau Casals](https://marceau.casals.fr)

Licence
-------

[](#licence)

MIT

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~53 days

Total

4

Last Release

3444d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1665333?v=4)[Marceau Casals](/maintainers/MarceauKa)[@MarceauKa](https://github.com/MarceauKa)

---

Top Contributors

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

---

Tags

freemobilelaravellaravel-notificationslaravel-packageapilaravelnotificationsmsmobilelaravel5freechannel

### Embed Badge

![Health badge](/badges/akibatech-laravel-free-mobile-sms/health.svg)

```
[![Health](https://phpackages.com/badges/akibatech-laravel-free-mobile-sms/health.svg)](https://phpackages.com/packages/akibatech-laravel-free-mobile-sms)
```

###  Alternatives

[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2588.1M15](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2381.4M13](/packages/laravel-notification-channels-discord)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10139.9k](/packages/gr8shivam-laravel-sms-api)[ghanem/laravel-smsmisr

Send SMS and SMS Notification via SMS Misr for Laravel

204.9k](/packages/ghanem-laravel-smsmisr)

PHPackages © 2026

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