autoupdate packagist from github code example
Example: laravel This package is not auto-updated. Please set up the GitHub Hook for Packagist so that it gets updated whenever you push!
curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=spinzar&apiToken=API_TOKEN' -d'{"repository":{"url":"PACKAGIST_PACKAGE_URL"}}'