Packages listing URL :
https://packagist.org/packages/list.json
Package metadata url
https://repo.packagist.org/p/[vendor]/[package].json
example: https://repo.packagist.org/p/monolog/monolog.json
Link to the source code is available for each package version in the metadata