Skip to content

Instantly share code, notes, and snippets.

@shankar-bavan
Created September 26, 2019 06:27
Show Gist options
  • Save shankar-bavan/3b821a09ae1efeecfc4d30840f5ce5ae to your computer and use it in GitHub Desktop.
Save shankar-bavan/3b821a09ae1efeecfc4d30840f5ce5ae to your computer and use it in GitHub Desktop.
upload laravel package on packagist

create a repository on github

open terminal inside package folder "packages/devlabs/todolist"

run following commands on terminal

git init
git status
git add .
git commit -m "first commit"
git remote add origin [email protected]:ThemesOps/test.git
git push -u origin master

create account on https://packagist.org

  1. click on submit
  2. enter github repository url and click on check.

add version

on terminal run below command

git tag v1.0.0
git push --tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment