Skip to content

Instantly share code, notes, and snippets.

@EmanueleMinotto
Last active December 16, 2015 14:38
Show Gist options
  • Save EmanueleMinotto/7f1df17741f85d7a3bd3 to your computer and use it in GitHub Desktop.
Save EmanueleMinotto/7f1df17741f85d7a3bd3 to your computer and use it in GitHub Desktop.
PoC directory
/
Acme
Package
Library.php
LibraryTest.php
composer.json
.gitignore
.gitattributes
acmescript
/.gitattributes export-ignore
/.gitignore export-ignore
/phpunit.xml.dist export-ignore
*Test.php export-ignore
vendor/
phpunit.xml
composer.phar
#!/usr/bin/env php
<?php
// ...
{
"autoload": {
"exclude-from-classmap": [
"*Test.php"
],
"psr-4": {
"Acme\\": "Acme"
}
},
"bin": [
"acmescript"
]
}
@ovr
Copy link

ovr commented Dec 16, 2015

@theofidry I am using you variant, I think it's need to be a best practise in all projects

@sroze
Copy link

sroze commented Dec 16, 2015

Agreed with @theofidry, I'm doring like that as well.

@EmanueleMinotto
Copy link
Author

Finally found the time to reply, first of all: thank you for your comments :)

Uhm @theofidry your structure makes sense, but is it based on a document? Still seems something custom (dist/ more than other directories).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment