Notes on web development and more


How to create a PHP package. Part 4: Git, tags, packagist

In this chapter, we will push created package to github, talk a little bit about versioning, create first release, and, finally, publish the package on to let the whole world install our library with a composer.


I expect that you already know what git and github are. In a few words: git is a distributed version control system that tracks files changes, and github is a hosting service based on git which also provides other useful features. I also assume that you are already registered on and installed git itself (if not, please, do it).