Laravel 5.5 – New Features – Part 1

Posted by Rukmi Patel | August 27, 2017

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();

You can easily render mail template with dynamic data in browser.

Add a comment

*Please complete all fields correctly

Related Blogs

Posted by Rukmi Patel | December 2, 2019
iTreeni Technolabs Outshines at GoodFirms by Providing End-To-End Business Solutions
Empowering clients' business by leveraging technology-enabled solutions endows iTreeni Technolabs to tap into the list of top web development companies in Australia at GoodFirms. View iTreeni Technolabs' GoodFirms' profile to...
Posted by Rukmi Patel | April 9, 2019
Comparing Full Stack V/S MEAN Stack approach
The web and mobile app development services have stepped up to next level in last 5 years. Web and apps are all built utilizing a ‘stack’ of various technologies like...
Posted by Rukmi Patel | September 6, 2018
Headless Drupal or DeCoupled Drupal
Now a days, front-end technologies like Angular, React.js, Backbone.js etc have started attracting audience because of its advantages over traditional rendering approach. Server side frameworks like Laravel, Node.js have already...