Skip to content

Instantly share code, notes, and snippets.

@hxtree
Last active November 19, 2019 15:49
Show Gist options
  • Save hxtree/8d4bcdfd0e9d47902a75decee994df94 to your computer and use it in GitHub Desktop.
Save hxtree/8d4bcdfd0e9d47902a75decee994df94 to your computer and use it in GitHub Desktop.
PHP New Composer Package
# initate a package
composer init
# push package to repository
git add .
git commit -m 'Init repo'
git push
# create a release in repository
https://github.com/hxtree/PXP/tree/v0.1.1-beta
# add package to packagist
https://packagist.org/packages/hxtree/pxp
# require package
composer require hxtree/pxp v0.1.1-beta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment