vendor:publish gets provider prompt.
Till now, Vendor:publish command publishes everything it finds including configs, views, migrations, and more. But from Laravel 5.5, when we run this command without any flag will prompt user to pick a provider or flag. This will make developers’ life easy as it will allow developer to pick and publish as he likes.
Still you can use –all flag to publish all like it was in previous version.
Mailables render to the browser.
Building a email template takes hugh chunk of time, Specially testing how it will look in mail-client. In Laravel 5.5, this process has been simplified. From now, we can render mailables in browsers. This will save us tidious testing process we were following till now.
For example let’s create a VerifyUSer Mailable:
php artisan make:mail VerifyUSer --markdown=emails.user.verify
Then, in our routes we can display it like this:
<p style="padding-left: 30px;">Route::get('/test/mail/verify', function () { return new App\Mail\VerifyUSer(); });</p>
You can easily render mail template with dynamic data in browser.