laravel/framework — pull request #6834 by hernandev (2014-12-28 17:56:45+00:00)
Title: fixed composer.json while setting app namespace

`composer.json` was being incorrectly set with an invalid PSR-4 namespace when using not single namespaces.

Examples:

> php artisan app:name Vendor\\App

was setting "Vendor\App\\" inside composer.json instead of "Vendor\\App\\".

Single names was not affected and still not being.

P.S. if you want to type the namespace on the command without the `\\`, you will need to single quote it:

> php artisan app:name 'Vendor\App'