PHPackages                             fundevogel/php-thx - 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. fundevogel/php-thx

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

fundevogel/php-thx
==================

Acknowledge the people behind your dependencies - give back &amp; spread love!

2.0.0(3y ago)19GPL-3.0PHPPHP ^8.0

Since Jul 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fundevogel/php-thx)[ Packagist](https://packagist.org/packages/fundevogel/php-thx)[ Docs](https://codeberg.org/Fundevogel)[ RSS](/packages/fundevogel-php-thx/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (5)Versions (11)Used By (0)

php-thx
=======

[](#php-thx)

[![License](https://camo.githubusercontent.com/150a357b123b3369c1feabcecbae8895791291ea2a79ac9103b9f3f040b5b0cb/68747470733a2f2f62616467656e2e6e65742f62616467652f6c6963656e73652f47504c2f626c7565)](https://codeberg.org/fundevogel/php-thx/src/branch/main/LICENSE) [![Packagist](https://camo.githubusercontent.com/4b52f96fa11b832435d224fa88bd216bb1c9eb22c83f97c6f50df94a31b2dcfd/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f66756e6465766f67656c2f7068702d746878)](https://packagist.org/packages/fundevogel/php-thx) [![Build](https://camo.githubusercontent.com/ce00c53173743ddfca16b3eb2b2da9c2cc617e0ae1cf7db5f054f634e666cd4c/68747470733a2f2f63692e636f6465626572672e6f72672f6170692f6261646765732f46756e6465766f67656c2f7068702d7468782f7374617475732e737667)](https://codeberg.org/fundevogel/php-thx/issues)

A very simple PHP library for acknowledging the people behind your dependencies - and giving thanks.

Getting started
---------------

[](#getting-started)

Install this package with [Composer](https://getcomposer.org):

```
composer require fundevogel/php-thx

```

Usage
-----

[](#usage)

Spreading love &amp; giving back should be easy, like this:

```
use Fundevogel\Thx\ThankYou;

# Define paths to necessary files
$dataFile = 'path/to/composer.json';  # .. 'package.json'
$lockFile = 'path/to/composer.lock'   # .. 'package-lock.json' or 'yarn.lock'

try {
    # Extract & extend dataset
    $data = ThankYou::veryMuch($dataFile, $lockFile);

} catch (Exception $e) {
    # No dependencies found, file not found, ..
    echo $e->getMessage();
}
```

.. and in case you want to have more control, instantiate the appropriate `Driver` &amp; configure it as needed:

```
use Fundevogel\Thx\ThankYou;

$driver = ThankYou::haveFun($dataFile, $lockFile);

# Configuration for API calls
$driver->timeout = 3600  # request timeout (in seconds)
$driver->userAgent = 'YoursSincerely'  # request UA string
```

By themselves, the files you already have don't yield much information (mostly package name &amp; installed version), yet this is all we need to know to .. make some API calls (which is done automatically):

- Composer packages @
- Node packages @

**Note**: As always when requesting data from third-parties, make sure to implement some kind of caching so you don't get blocked or exceed whatever limit they impose, and remember: going easy on somebody else's ressources (especially when they're provided for free) shows that you care, and that's always worth striving for.

Roadmap
-------

[](#roadmap)

- Add support for `pnpm`
- Check out v3 npm `lockfileVersion`

Credits
-------

[](#credits)

Most of the helper functions were taken from [Kirby](https://getkirby.com)'s excellent [`toolkit`](https://github.com/getkirby-v2/toolkit) package by [Bastian Allgeier](https://github.com/bastianallgeier) (who's just awesome, btw).

**Happy coding!**

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Recently: every ~100 days

Total

10

Last Release

1370d ago

Major Versions

0.3.0 → 1.0.02021-07-11

1.2.1 → 2.0.02022-08-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/5933072731cd628e1ef2bdc59bc81da16dac859145a3be2dc5c83aab9095179b?d=identicon)[S1SYPHOS](/maintainers/S1SYPHOS)

---

Top Contributors

[![S1SYPHOS](https://avatars.githubusercontent.com/u/12161504?v=4)](https://github.com/S1SYPHOS "S1SYPHOS (24 commits)")

---

Tags

lovegratitudeappreciationgratefulnessthankfulness

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fundevogel-php-thx/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[godbout/dash-docset-builder

Dash (LOVE) Docset Builder in PHP (LOVE).

1253.5k](/packages/godbout-dash-docset-builder)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[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)
