PHPackages                             descom/php-lib - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. descom/php-lib

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

descom/php-lib
==============

Package for Descom

v1.2.0(10mo ago)0991MITPHPPHP ^7.3|^8.0CI failing

Since Feb 18Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/descom-es/php-lib)[ Packagist](https://packagist.org/packages/descom/php-lib)[ Docs](https://github.com/descom-es/php-lib)[ RSS](/packages/descom-php-lib/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (7)Dependencies (8)Versions (11)Used By (0)

Descom php-lib
==============

[](#descom-php-lib)

[![tests](https://github.com/descom-es/php-lib/actions/workflows/tests.yml/badge.svg)](https://github.com/descom-es/php-lib/actions/workflows/tests.yml)[![analyze](https://github.com/descom-es/php-lib/actions/workflows/analyze.yml/badge.svg)](https://github.com/descom-es/php-lib/actions/workflows/analyze.yml)

Installation
============

[](#installation)

You can install the package via composer:

```
composer require descom/php-lib
```

Publish package config file:

```
php artisan vendor:publish --provider="DescomLib\DescomLibServiceProvider" --tag=config
```

- Select Provider: DescomLib\\DescomLibServiceProvider

Insert token in config/descom\_lib.php

Notificacation Manager Serviice
===============================

[](#notificacation-manager-serviice)

With method `send`, you can send a request to service.

Thie method require `$data` argument. See samples

Events
------

[](#events)

- DescomLib\\Services\\NotificationManager\\Events\\NotificationFailed

Samples Data
------------

[](#samples-data)

```
[
    'action' => 'loggedEmail',
    'data'   => [
        'email'        => 'test@example.com',
        'subscription' => 'example.com',
        'ip'           => '192.168.0.1',
        'geo'          => [
            'country' => [
                'name' => 'España',
                'iso'  => 'ES'
            ]
        ],
        'instance'=> [
            'hostname' => 'hostname',
            'name'     => 'DC/TEST/Linux/01',
        ],
        'dns'  => [
            'hostname'=> 'hostname.test.com',
            'domain'  => 'test.com',
        ]
    ]
]
```

```
[
    'action' => 'loggedEmailWithoutSSL',
    'data'   => [
        'email'        => 'test@example.com',
        'subscription' => 'example.com',
    ],
]
```

Testing
=======

[](#testing)

```
composer test
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance55

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 52.4% 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 ~329 days

Recently: every ~493 days

Total

7

Last Release

303d ago

PHP version history (2 changes)v1.0.0PHP ^7.2

v1.1.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25681494?v=4)[Cesar Garcia](/maintainers/cesargb)[@cesargb](https://github.com/cesargb)

---

Top Contributors

[![cesargb](https://avatars.githubusercontent.com/u/25681494?v=4)](https://github.com/cesargb "cesargb (22 commits)")[![llorensjj](https://avatars.githubusercontent.com/u/7073372?v=4)](https://github.com/llorensjj "llorensjj (20 commits)")

---

Tags

laraveldescom

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/descom-php-lib/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[watson/active

Laravel helper for recognising the current route, controller and action

3253.6M14](/packages/watson-active)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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