begimov/thanks

Give thanks (in the form of a GitHub ⭐) to your fellow PHP package maintainers (not limited to Symfony components)!

Maintainers

Details

github.com/begimov/thanks

Source

Installs: 3 115

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 38

Type:composer-plugin

v1.1.1 2019-05-29 16:09 UTC

This package is auto-updated.

Last update: 2024-03-29 03:51:45 UTC


README

68747470733a2f2f73796d666f6e792e636f6d2f6c6f676f732f73796d666f6e795f626c61636b5f30322e737667

Give thanks (in the form of a GitHub ★ ) to your fellow PHP package maintainers (not limited to Symfony components)!

Install

Install this as any other (dev) Composer package:

$ composer require --dev symfony/thanks

You can also install it once for all your local projects:

$ composer global require symfony/thanks

Usage

$ composer thanks

This will find all of your Composer dependencies, find their github.com repository, and star their GitHub repositories. This was inspired by cargo thanks, which was inspired in part by Medium's clapping button as a way to show thanks for someone elses work you've found enjoyment in.

If you're wondering why did some dependencies get thanked and not others, the answer is that this plugin only supports github.com at the moment. Pull requests are welcome to add support for thanking packages hosted on other services.

Original idea by Doug Tangren (softprops) 2017 for Rust (thanks!)

Implemented by Nicolas Grekas (SensioLabs & Blackfire.io) 2017 for PHP.

Forwarding stars

Package authors can send a star to another package that they would like to thank.

If you are a package author and want to thank another repository, you can add a thanks entry in the extra section of your composer.json file.

For example, symfony/webpack-encore-pack sends a star to symfony/webpack-encore:

{
    "extra": {
        "thanks": {
            "name": "symfony/webpack-encore",
            "url": "https://github.com/symfony/webpack-encore"
        }
    }
}