PHPackages                             juvpengele/laravel-letexto - 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. juvpengele/laravel-letexto

ActivePackage[API Development](/categories/api)

juvpengele/laravel-letexto
==========================

A Laravel package to integrate Letexto Application API

0.4.1(6y ago)322MITPHPPHP ^7.4

Since Apr 4Pushed 6y agoCompare

[ Source](https://github.com/juvpengele/laravel-letexto)[ Packagist](https://packagist.org/packages/juvpengele/laravel-letexto)[ RSS](/packages/juvpengele-laravel-letexto/feed)WikiDiscussions master Synced yesterday

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

Laravel Letexto Package
=======================

[](#laravel-letexto-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6c61fbc7da84f40861e62b88b5ea8cd5a6d07564415aaaf2741a639a5bdbb442/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a757670656e67656c652f6c61726176656c2d6c65746578746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juvpengele/laravel-letexto)[![Total Downloads](https://camo.githubusercontent.com/23ca372d8f0c3df6a63ab83d1a4a8e5bbd5dfe7f2e14d2b7812d4499e15da1c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a757670656e67656c652f6c61726176656c2d6c65746578746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juvpengele/laravel-letexto)

This is a package that integrate the web application [Letexto](http://letexto.com) API in a laravel application.

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

[](#installation)

You can install the package via composer:

```
  $ composer require juvpengele/laravel-letexto
```

You must add your API Key in the .env file

```
  .env

  LETEXTO_TOKEN=my-api-token
```

Features
--------

[](#features)

All resources fetched are an instance of Letexto\\Http\\Response.

### Campaigns

[](#campaigns)

- To fetch all campaigns

    ```
         use Letexto\Resources\Campaign;

         $campaigns = Campaign::fetchAll();
    ```
- Filter campaigns to fetch

    ```
        use Letexto\Resources\Campaign;

       $campaigns = Campaign::filterBy(['status' => 'sent'])->fetchAll();
    ```
- Create a campaign

    To create a campaign, we have to add some attributes that are required by the application using a fluent interface. Here is an example of how a campaign can be sent.

    ```
        use Letexto\Resources\Campaign;

        $campaign = Campaign::create(['name' => 'My campaign'])
                ->withAttributes([
                    'sender' => 'John Doe', // Add one of your application senders
                    'recipientSource' => 'custom',
                    'campaignType' => 'SIMPLE',
                    'responseUrl' => 'https://mywebsite.com/campaign-feedback', // Add your response url callback
                ])
                ->to([
                    ['phone' => '22501010101']
                ])
                ->withMessage('Hello world')
                ->send();
    ```
- Messages of a campaign

    To get the messages of a campaign, we must first fetch the campaign as an instance of the Campaign class. In this way, we can fetch messages of this campaign.

    ```
     use Letexto\Resources\Campaign;

     $campaign = Campaign::find("f9r4gegetg49getg98e49t");
     $messages = $campaign->getMessages();
    ```

### Messages

[](#messages)

- To fetch all messages

    ```
         use Letexto\Resources\Message;

         $messages = Message::fetchAll();
    ```
- Filter messages to fetch

    ```
       use Letexto\Resources\Message;

       $messages = Message::filterBy(['sender' => 'John Doe'])->fetchAll();
    ```
- To fetch statistics of messages

    ```
         use Letexto\Resources\Message

         $statistics = Message::getStatistics();
    ```

### Volume

[](#volume)

- We can retrieve the volume of a user.

    ```
          use Letexto\Resources\Volume;

          $volume = Volume::retrieve();
    ```

Credits
-------

[](#credits)

- [Juvenal Pengele](https://github.com/juvpengele)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Every ~2 days

Total

6

Last Release

2216d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30692796?v=4)[Juvenal PENGELE](/maintainers/juvpengele)[@juvpengele](https://github.com/juvpengele)

---

Top Contributors

[![juvpengele](https://avatars.githubusercontent.com/u/30692796?v=4)](https://github.com/juvpengele "juvpengele (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/juvpengele-laravel-letexto/health.svg)

```
[![Health](https://phpackages.com/badges/juvpengele-laravel-letexto/health.svg)](https://phpackages.com/packages/juvpengele-laravel-letexto)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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