Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Private composer package
// main app
"repositories" : [
{
"type": "package",
"package": {
"name": "grininc/platform-shared",
"version": "dev-master",
"source": {
"url": "git://github.com/grininc/platform-shared.git",
"type": "git",
"reference": "master"
},
"autoload": {
"psr-4" : {
"Grin\\Shared\\" : "src"
}
}
}
}
],
"require": {
"grininc/platform-shared": "dev-master"
},
"config": {
"preferred-install": "dist",
"secure-http": false,
"github-oauth": {
"github.com": "GITHUB_TOKEN"
}
}
// package
{
"name": "grininc/platform-shared",
"type": "package",
"authors": [],
"require": {
"laravel/framework": "5.5.*"
},
"autoload": {
"psr-4": {
"Grin\\Shared\\": "src/",
"Tests\\": "tests/"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.