PHPackages                             dizda/onesignal-api-bundle - 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. dizda/onesignal-api-bundle

ActiveLibrary[API Development](/categories/api)

dizda/onesignal-api-bundle
==========================

OneSignal API Bundle for Symfony.

0.1.5(10y ago)810.4k7[2 issues](https://github.com/dizda/OnesignalApiBundle/issues)MITPHPPHP &gt;=5.4.0

Since Jul 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dizda/OnesignalApiBundle)[ Packagist](https://packagist.org/packages/dizda/onesignal-api-bundle)[ Docs](https://github.com/dizda)[ RSS](/packages/dizda-onesignal-api-bundle/feed)WikiDiscussions master Synced 1w ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/d6384624b4ae0551985b92bfca0234cc364913211585ff4b78ec8e6486d56a6d/68747470733a2f2f706f7365722e707567782e6f72672f64697a64612f6f6e657369676e616c2d6170692d62756e646c652f762f737461626c65)](https://packagist.org/packages/dizda/onesignal-api-bundle) [![Total Downloads](https://camo.githubusercontent.com/d001693a2a9f4f693369abb1038fab5a1dcb99157fad5003430b86938d348f97/68747470733a2f2f706f7365722e707567782e6f72672f64697a64612f6f6e657369676e616c2d6170692d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/dizda/onesignal-api-bundle) [![Latest Unstable Version](https://camo.githubusercontent.com/1e806029ee6eafebb4e3cd05934610289acd330fd114d179e5a03d3d23405e2b/68747470733a2f2f706f7365722e707567782e6f72672f64697a64612f6f6e657369676e616c2d6170692d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/dizda/onesignal-api-bundle) [![License](https://camo.githubusercontent.com/13aa4c2b66195a8236b3dc646e447635fc5c478f5fc5d27c3f9a8b6c58a73bfa/68747470733a2f2f706f7365722e707567782e6f72672f64697a64612f6f6e657369676e616c2d6170692d62756e646c652f6c6963656e7365)](https://packagist.org/packages/dizda/onesignal-api-bundle)

OnesignalApiBundle
==================

[](#onesignalapibundle)

Integrate OneSignal API in Symfony with ease.

Use the [PHP library made by Norkunas](https://github.com/norkunas/onesignal-php-api).

Setup
-----

[](#setup)

Install with Composer

```
composer require dizda/onesignal-api-bundle

```

Add bundle to app/AppKernel.php

```
public function registerBundles()
{
    $bundles = array(
        ....
        new Dizda\OnesignalApiBundle\DizdaOnesignalApiBundle()
    );
}

```

Configuration
-------------

[](#configuration)

Add this to your `config.yml`:

```
dizda_onesignal_api:
    app_id:       %onesignal_app_id%
    app_auth_key: %onesignal_app_auth_key%
```

Use
---

[](#use)

Send a simple notification:

```
$client = $this->get('dizda_onesignal_api.service.client');

$client->notifications->add([
    'headings' => [
        'en' => 'Withdraw'
    ],
    'contents' => [
        'en' => 'Your withdraw has been sent!'
    ],
    'included_segments' => ['All'],
    'url' => 'http://google.fr'
]);
```

License
-------

[](#license)

MIT Licensed, see LICENSE.

###  Health Score

29

—

LowBetter than 58% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95% 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 ~0 days

Total

6

Last Release

3992d ago

### Community

Maintainers

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

---

Top Contributors

[![dizda](https://avatars.githubusercontent.com/u/1245245?v=4)](https://github.com/dizda "dizda (19 commits)")[![zhil](https://avatars.githubusercontent.com/u/981783?v=4)](https://github.com/zhil "zhil (1 commits)")

---

Tags

apisymfonyonesignalnorkunas

### Embed Badge

![Health badge](/badges/dizda-onesignal-api-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dizda-onesignal-api-bundle/health.svg)](https://phpackages.com/packages/dizda-onesignal-api-bundle)
```

###  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.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[stfalcon-studio/api-bundle

Base classes and helper services to build API application via Symfony.

1034.6k](/packages/stfalcon-studio-api-bundle)[nanofelis/json-rpc-bundle

This bundle provides a JSON RPC 2.0 implementation for Symfony

1178.7k](/packages/nanofelis-json-rpc-bundle)[ufo-tech/json-rpc-sdk-bundle

The Symfony bundle for simple usage Json-RPC api with dynamic SDK

172.8k](/packages/ufo-tech-json-rpc-sdk-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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