Skip to content

Packagist

Adding a module to Packagist

Creating a new version of module

Create a branch for new version

git checkout -b v1.1

Make changes, update module version, test, commit

git add -A
git commit -m "Created version 1.1"

Merge branch into master

git checkout master
git merge v1.1

Delete working branch

git branch -d v1.1

Create a tag for the new version and push

git tag -a v1.1 -m "Version 1.1"
git push origin v1.1

Require module to your project

composer require origindesign/origin_test