Neat Laravel Features from 2017

D. Nagy Gergő
Jan 3, 2018 · 3 min read
Image for post
Image for post
Photo by Mark Golovko
Route::resource(‘api/posts’, ‘PostsController’)->except([
‘create’, ‘edit’,
]);
Route::apiResource(‘api/posts’, ‘PostsController’);
php artisan make:factory ArticleFactory -m Article
// Before
@if(view()->exists('custom-template'))
@include('custom-template')
@else
@include('default-template')
@endif
// After
@includeFirst(['custom-template', 'default-template'])

It’s insane how these little features increases the value of Laravel, by solving small but still real needs.

Pine Code

We are two web developers with a passion for learning and…

D. Nagy Gergő

Written by

Laravel & Back-end developer.

Pine Code

Pine Code

We are two web developers with a passion for learning and sharing the knowledge. Our vision, to keep learning and shipping what you know, is a win-win situation.

D. Nagy Gergő

Written by

Laravel & Back-end developer.

Pine Code

Pine Code

We are two web developers with a passion for learning and sharing the knowledge. Our vision, to keep learning and shipping what you know, is a win-win situation.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store