Composer & Swagger CodeGen
For PHP generation set gitUserId, gitRepoId and artifactVersion configs and, just add a
{
type: "path",
url: "path/to/gen/code"
}
repository to your composer.json and et voilá:
$ composer require [gitUserId]/[gitRepoId]
Wow!
(Do not forget artifactVersion, without that Composer won't find your package!)