Skip to content

Instantly share code, notes, and snippets.

@roni-estein
Last active July 12, 2018 17:20
Show Gist options
  • Save roni-estein/71f3615ece154facdbe4c9983fc82fe0 to your computer and use it in GitHub Desktop.
Save roni-estein/71f3615ece154facdbe4c9983fc82fe0 to your computer and use it in GitHub Desktop.
composer.json autoload section to add test utilities and whatever production
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/"
},
"files": [
"app/Helpers/calculations.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
},
"files": [
"tests/utilities/test-setup-functions.php"
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment