Skip to content

Instantly share code, notes, and snippets.

@joelhy
Created May 4, 2020 01:02
Show Gist options
  • Save joelhy/1588ed9fb67473197f8cd69d2b4587cd to your computer and use it in GitHub Desktop.
Save joelhy/1588ed9fb67473197f8cd69d2b4587cd to your computer and use it in GitHub Desktop.
PHP composer package fork example
{
"name": "laravel/lumen",
"description": "The Laravel Lumen Framework.",
"keywords": [
"framework",
"laravel",
"lumen"
],
"license": "MIT",
"type": "project",
"repositories": {
"0": {
"type": "git",
"url": "[email protected]:joelhy/lumen-generator.git"
}
},
"require": {
"php": ">=7.1.3",
"flipbox/lumen-generator": "dev-fix/psysh_dependency",
"laravel/lumen-framework": "6.*"
},
"require-dev": {
"fzaninotto/faker": "^1.4",
"phpunit/phpunit": "^7.0",
"mockery/mockery": "^1.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment