Download the PHP package fundevogel/php-thx without Composer
On this page you can find all versions of the php package fundevogel/php-thx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fundevogel/php-thx
More information about fundevogel/php-thx
Files in fundevogel/php-thx
Package php-thx
Short Description Acknowledge the people behind your dependencies - give back & spread love!
License GPL-3.0
Homepage https://codeberg.org/Fundevogel
Informations about the package php-thx
php-thx
A very simple PHP library for acknowledging the people behind your dependencies - and giving thanks.
Getting started
Install this package with Composer:
Usage
Spreading love & giving back should be easy, like this:
.. and in case you want to have more control, instantiate the appropriate Driver
& configure it as needed:
By themselves, the files you already have don't yield much information (mostly package name & installed version), yet this is all we need to know to .. make some API calls (which is done automatically):
- Composer packages @ https://repo.packagist.org
- Node packages @ https://api.npms.io
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
- [x] Add support for
pnpm
- [ ] Check out v3 npm
lockfileVersion
Credits
Most of the helper functions were taken from Kirby's excellent toolkit
package by Bastian Allgeier (who's just awesome, btw).
Happy coding!
All versions of php-thx with dependencies
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.4
mustangostang/spyc Version ^0.6.3