Closed schmunk42 closed 10 years ago
I was considering it when starting but I'm not sure it's needed, this module once configured is not referred to from outside.
But I think you should at least add namespaces to your code. Adding the autoload could be decided later.
I'm using the nineinchnick/usr namespace.
Because I looked through some files and didn't find the declaration, eg.:
Thanks for checking that. The controller should declare it but the Diceware is an external component. I'm going to create a repo for it to use composer for installing it as a requirement.
Just did a little search ... This one is already on packagist: https://github.com/timoh6/GenPhrase It has diceware, but I don't know if it fit your needs.
I also found it earlier but didn't have time to compare the implementation to the one I already use. I will consider it, it looks good.
As far as I can tell, you need a password generator in general, right? Maybe there are even more packages available which do that, but I haven't looked really deep at the code.
I've made some improvements and I think this issue can be closed now. If I stumble on any class without a namespace it will be added.
for details see http://getcomposer.org/doc/04-schema.md#psr-0