PHPackages                             mdcznet/odorik-sms-laravel - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. mdcznet/odorik-sms-laravel

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mdcznet/odorik-sms-laravel
==========================

Laravel service for sending SMS via Odorik API

v1.0.0(9mo ago)01MITPHPPHP ^7.4|^8.0

Since Aug 12Pushed 9mo agoCompare

[ Source](https://github.com/MDCZnet/odorik-sms-laravel)[ Packagist](https://packagist.org/packages/mdcznet/odorik-sms-laravel)[ RSS](/packages/mdcznet-odorik-sms-laravel/feed)WikiDiscussions main Synced 1mo ago

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

Odorik SMS Laravel Service
==========================

[](#odorik-sms-laravel-service)

A simple Laravel service and facade for sending SMS via the Odorik API.

Features
--------

[](#features)

- Send SMS using Odorik API from any Laravel app
- Fetch allowed senders
- Use as a service or via a Laravel facade

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

[](#installation)

1. **Require the package via Composer**
    (If using locally, see [Laravel docs: local packages](https://laravel.com/docs/packages#local-packages))

    ```
    composer require mdcznet/odorik-sms-laravel
    ```
2. **Publish the config file**

    ```
    php artisan vendor:publish --provider="Odorik\Sms\OdorikSmsServiceProvider"
    ```
3. **Add credentials to your `.env`**

    ```
    ODORIK_USER=your_odorik_user
    ODORIK_PASSWORD=your_odorik_password
    ODORIK_API_BASE_URL=https://www.odorik.cz/api/v1

    ```

Usage
-----

[](#usage)

### Service (Dependency Injection)

[](#service-dependency-injection)

```
use Odorik\Sms\OdorikSmsService;

public function sendSms(OdorikSmsService $odorik)
{
    $recipient = '00420724000000'; // insert recipient number in international format
    $response = $odorik->sendSms($recipient, 'Test message');
    // handle $response
}
```

### Facade

[](#facade)

```
use Odorik\Sms\Facades\OdorikSms;

public function sendViaFacade()
{
    $recipient = '00420724000000'; // insert recipient number in international format
    $response = OdorikSms::sendSms($recipient, 'Test via facade!');
    // handle $response
}
```

### Fetch allowed senders

[](#fetch-allowed-senders)

```
$allowedSenders = OdorikSms::getAllowedSenders();
```

### Send SMS with allowed sender

[](#send-sms-with-allowed-sender)

#### Using the service

[](#using-the-service)

```
use Odorik\Sms\OdorikSmsService;

public function sendSmsWithSender(OdorikSmsService $odorik)
{
    $recipient = '00420724000000'; // insert recipient number in international format
    $allowedSenders = $odorik->getAllowedSenders();
    $sender = $allowedSenders[0]; // or any allowed sender
    $response = $odorik->sendSms($recipient, 'Test message', $sender);
    // handle $response
}
```

#### Using the facade

[](#using-the-facade)

```
use Odorik\Sms\Facades\OdorikSms;

public function sendSmsWithSenderFacade()
{
    $recipient = '00420724000000'; // insert recipient number in international format
    $allowedSenders = OdorikSms::getAllowedSenders();
    $sender = $allowedSenders[0]; // or any allowed sender
    $response = OdorikSms::sendSms($recipient, 'Test message', $sender);
    // handle $response
}
```

Testing
-------

[](#testing)

You can test the package by calling the service or facade from a controller or route.

Documentation
-------------

[](#documentation)

- [Odorik SMS API documentation](https://www.odorik.cz/w/api:sms)

License
-------

[](#license)

MIT

---

**Author:**
Martin Dittrich

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance58

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

273d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e5d53fe2d68cdd2843cda8738cab85444b819cfa9c6e92987e90f02b46ed1e9d?d=identicon)[MDCZnet](/maintainers/MDCZnet)

---

Top Contributors

[![MDCZnet](https://avatars.githubusercontent.com/u/9496368?v=4)](https://github.com/MDCZnet "MDCZnet (5 commits)")

### Embed Badge

![Health badge](/badges/mdcznet-odorik-sms-laravel/health.svg)

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

###  Alternatives

[danharrin/livewire-rate-limiting

Apply rate limiters to Laravel Livewire actions.

40423.1M27](/packages/danharrin-livewire-rate-limiting)[mateusjunges/laravel-kafka

A kafka driver for laravel

7163.1M17](/packages/mateusjunges-laravel-kafka)[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)[ricorocks-digital-agency/soap

A SOAP client that provides a clean interface for handling requests and responses.

4281.8M5](/packages/ricorocks-digital-agency-soap)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)

PHPackages © 2026

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