Copy address and append it with package name
Copy that image address. The main image address is:
Now append to this address name of package on packagist.org. For example,
Change badge size, if it needs
You can use little version
Or work with it's original size
If you think that this is not enough, you can use badge with bigger size.
If you post badge on a site that requires it to have an extension, just add one of available extensions to badge address. Available extensions: .png, .svg, .gif. For example:
Do you want to add a badge with package name to show people on your project's page?