PHPackages                             notifea/notifea-php-nette - 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. notifea/notifea-php-nette

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

notifea/notifea-php-nette
=========================

Nette wrapper for PHP language for Notifea services.

1.1.0(5y ago)0851MITPHP

Since May 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/notifea/notifea-php-nette)[ Packagist](https://packagist.org/packages/notifea/notifea-php-nette)[ Docs](https://notifea.com)[ RSS](/packages/notifea-notifea-php-nette/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

notifea-php-nette
=================

[](#notifea-php-nette)

Nette wrapper for PHP language for Notifea services.

[Notifea](https://notifea.com) provides clients very user-friendly way of sending transactional emails and sms to their users.

This package is a Nette wrapper for [Notifea PHP package](https://github.com/notifea/notifea-php).

Minimum requirements
--------------------

[](#minimum-requirements)

This package will require you to use:

- PHP 7.0 or higher
- [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) 6.0 or higher
- ext-json

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

[](#installation)

To install the SDK you need to be using Composer in your project. To install it please see the [docs](https://getcomposer.org/download/).

After you installed Composer install the SDK

```
composer require notifea/notifea-php-nette
```

Start by registering `Notifea\Nette\DI\NotifeaExtension` in your config `neon` file

```
extensions:
    notifea: Notifea\Nette\DI\NotifeaExtension
```

You are only required to set `authorization` config key. Value can be generated in [access-tokens](https://app.notifea.com/access-tokens) section.

```
extensions:
    notifea: Notifea\Nette\DI\NotifeaExtension

notifea:
    authorization: "Bearer {token}"
```

There are few more optional parameters you can specify.

```
extensions:
    notifea: Notifea\Nette\DI\NotifeaExtension

notifea:
    api_host: "https://api.notifea.com/v1"
    authorization: "Bearer {token}"
    connect_timeout: 10
    timeout: 30
```

### Versions

[](#versions)

This package currently supports:

- nette 2.4 using tag ^0.0.1
- nette 3.0 using tag ^1.0.0

To add support for other versions please get in touch with us.

Usage
-----

[](#usage)

This packages provides a convenient dependency injection layer for `Notifea\Services\EmailService`, `Notifea\Services\SmsService` and `Notifea\Services\SmsSenderService` implemented in our core [Notifea PHP package](https://github.com/notifea/notifea-php) so they can be easily used anywhere in your Nette application.

One could inject them like this:

```
class UserPresenter extends Nette\Application\UI\Presenter
{
    /** @var EmailService */
    protected $emailService;

    /** @var SmsService */
    protected $smsService;

    /** @var SmsSenderService */
    protected $smsSenderService;

    /**
     * UserPresenter constructor.
     * @param EmailService $emailService
     * @param SmsService $smsService
     * @param SmsSenderService $smsSenderService
     */
    public function __construct(
        EmailService $emailService,
        SmsService $smsService,
        SmsSenderService $smsSenderService
    ) {
        $this->emailService = $emailService;
        $this->smsService = $smsService;
        $this->smsSenderService = $smsSenderService;
    }

    public function actionSendEmail()
    {
        // .. your business logic
        $email = new Email();
        // ...
        $sentEmail = $this->emailService->sendEmail($email);
    }

    public function actionSendSms()
    {
        // .. your business logic
        $sms = new Sms();
        // ...
        $sentSms = $this->smsService->sendSms($sms);
    }

    public function actionCreateSmsSender()
    {
        // .. your business logic
        $smsSender = new SmsSender();
        // ...
        $createdSmsSender = $this->smsSenderService->createSmsSender($smsSender);
    }

}
```

`EmailService` contains these methods:

- getEmails()
- getEmail(string $emailUuid)
- sendEmail(Email $email)
- deleteEmail(string $emailUuid)

`SmsService` contains these methods:

- getSmss()
- getSms(string $smsUuid)
- sendSms(Sms $sms)
- deleteSms(string $smsUuid)

`SmsSenderService` contains these methods:

- getSmsSenders()
- getSmsSender(string $smsSenderUuid)
- createSmsSender(SmsSender $smsSender)
- updateSmsSender(SmsSender $smsSender)
- deleteSmsSender(string $smsSenderUuid)

To find more detailed documentation about each method, check out our core [Notifea PHP package](https://github.com/notifea/notifea-php)

Community
---------

[](#community)

- [Documentation](https://docs.notifea.com)
- [Report issues](https://github.com/notifea/notifea-php/issues)

Contributing
------------

[](#contributing)

Dependencies are managed through `composer`:

```
$ composer install

```

Tests can be run via phpunit:

```
$ vendor/bin/phpunit

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

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 ~72 days

Recently: every ~19 days

Total

7

Last Release

1794d ago

Major Versions

0.0.2 → 1.1.02021-05-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15668038?v=4)[Vladimír Vráb](/maintainers/iNviNho)[@iNviNho](https://github.com/iNviNho)

---

Top Contributors

[![iNviNho](https://avatars.githubusercontent.com/u/15668038?v=4)](https://github.com/iNviNho "iNviNho (15 commits)")

---

Tags

smsemailstransactional smstransactional emailsemail sendingsms sending

### Embed Badge

![Health badge](/badges/notifea-notifea-php-nette/health.svg)

```
[![Health](https://phpackages.com/badges/notifea-notifea-php-nette/health.svg)](https://phpackages.com/packages/notifea-notifea-php-nette)
```

###  Alternatives

[mageplaza/module-smtp

SMTP Extension for Magento 2 helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers

3026.1M9](/packages/mageplaza-module-smtp)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

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

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

318263.8k6](/packages/tzsk-sms)[symfony/fake-sms-notifier

Fake SMS (as email or log during development) Notifier Bridge.

27826.9k1](/packages/symfony-fake-sms-notifier)[cmdotcom/text-sdk-php

PHP SDK to send messages with CM.com

23723.6k4](/packages/cmdotcom-text-sdk-php)[symfony/twilio-notifier

Symfony Twilio Notifier Bridge

131.2M2](/packages/symfony-twilio-notifier)

PHPackages © 2026

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