Added .idea directory to ignored for those using PHPStorm, and also finished out getPackage method.