Closed extrakun closed 8 years ago
It looks like it would! I am rather new to GitHub, how do I pull a pull-request using composer?
@extrakun First of all you should define target fork in repositories
block in composer.json
file:
"repositories": [
{
"type": "git",
"url": "git@github.com:cybercog/laravel-messenger.git"
}
]
After that you will be able to get branches from it. For example if you want to pull branch with name hotfix/threads-relation
you should update require
section in composer.json
file by defining a branch name prefixed with dev-
instead of writing package version for selected package:
"require": {
"cmgmyr/messenger": "dev-hotfix/threads-relation"
},
I am trying to do a private mailbox function, and I would like to provide the number of new messages (not threads) for a user. What is the most efficient way of doing it?