src/Console/Add.php
private function prettifyPackageInfo($package)
    {
        $newLine2Tab = PHP_EOL.'       ';
        $downloads = number_format($package['downloads']);
        $stars = number_format($package['favers']);

        $reputation = " [<fg=green;options=bold>⇩ $downloads</>".
                      " <fg=magenta;options=bold>★ $stars</>]";

        $holdSpace = strlen($package['name'].$downloads.$stars);

        $insertSpace = str_repeat(' ', 65 - $holdSpace);

        return "<fg=yellow>{$package['name']}</>".$insertSpace.$reputation.PHP_EOL.
                wordwrap($package['description']).PHP_EOL.
                $package['repository'].
            $newLine2Tab;
    }
private function prettifyPackageInfo($package)
    {
        $newLine2Tab = PHP_EOL.'       ';
        $downloads = number_format($package['downloads']);
        $stars = number_format($package['favers']);

        $reputation = " [<fg=green;options=bold>⇩ $downloads</>".
                      " <fg=magenta;options=bold>★ $stars</>]";

        $holdSpace = strlen($package['name'].$downloads.$stars);

        $insertSpace = str_repeat(' ', 65 - $holdSpace);

        return "<fg=yellow>{$package['name']}</>".$insertSpace.$reputation.PHP_EOL.
                wordwrap($package['description']).PHP_EOL.
                $package['repository'].
            $newLine2Tab;
    }
Prettify package details.

@param array $package

@return string