Skip to content
Give thanks (in the form of a GitHub ★) to your fellow PHP package maintainers (not limited to Symfony components)!
PHP
Branch: master
Clone or download

Latest commit

nicolas-grekas bug #80 Fetch funding links when needed + fail gracefully (nicolas-gr…
…ekas)

This PR was merged into the 1.2-dev branch.

Discussion
----------

Fetch funding links when needed + fail gracefully

Closes #79

Commits
-------

59ec80b Fetch funding links when needed + fail gracefully
Latest commit a8a5fbe Jan 15, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fetch funding links when needed + fail gracefully Jan 13, 2020
.gitignore Hello symfony/thanks composer plugin Dec 15, 2017
LICENSE Update license year Jul 8, 2019
README.md Fix typo in README.md Jan 14, 2020
composer.json Bump branch-alias to 1.2 Nov 28, 2019

README.md

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 else's 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"
        }
    }
}
You can’t perform that action at this time.