Skip to content

Instantly share code, notes, and snippets.

@DarkGhostHunter
Last active November 27, 2019 05:40
Show Gist options
  • Save DarkGhostHunter/f63090b1a55d0778d53e0c4260b0150e to your computer and use it in GitHub Desktop.
Save DarkGhostHunter/f63090b1a55d0778d53e0c4260b0150e to your computer and use it in GitHub Desktop.
Composer JSON with preloadin
{
"name": "application/project",
"description": "This is my root project.",
"require": {
"php": "^7.2",
"ext-json": "*",
"symfony/http-client": "5.*",
"symfony/console": "5.*"
},
"autoload": {
"psr-4": {
"Application": "app/"
}
},
"preload": {
"exclude": [
"symfony/console"
],
"input": [
"preload.php"
],
"output": "preload-compiled.php"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment