Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Creating Multi-Stage Docker Builds for Laravel
Laravel Tutorials / August 17, 2018

Creating Multi-Stage Docker Builds for Laravel

Starting in Docker version 17.05 multi-stage builds are available to help you optimize Dockerfiles. Using multi-stage builds is a clean way to set up a Docker build pipeline that simplifies the requirements you need on your CI/build server to create a Docker image for your app. Come along with me and learn how to use multi-stage builds with Laravel and other PHP applications.

Read more…
404 Responses in a Laravel API
Laravel Tutorials / August 16, 2018

404 Responses in a Laravel API

A useful feature that shipped in Laravel 5.5 is fallback routing that we can use to define a fallback 404 error. Mohamed Said has an excellent write-up on this feature and we’ll look closer at implementing a fallback route for an API. When you are creating an API, you probably want a fallback route that responds with JSON (or whatever format you are serving via content negotiation) instead of the default 404. We’ll look at how you can create a fallback route for your API, test it,... Read more…

Laravel 5.7 Improved Error Messages for Dynamic Calls
Laravel 5.7 / August 15, 2018

Laravel 5.7 Improved Error Messages for Dynamic Calls

Laravel 5.7 makes it easier to track down error messages caused by dynamic calls to Eloquent models and other parts of the framework thanks to Bouncer developer Joseph Silber! Check out the new feature that will make hunting down errors in your Eloquent models easier than ever!

Read more…
Laravel Dump Server to Ship With Laravel 5.7
Laravel 5.7 / August 14, 2018

Laravel Dump Server to Ship With Laravel 5.7

At Laracon US 2018 Taylor Otwell announced that Laravel Dump Server would come packaged with Laravel in version 5.7! Learn more about Laravel Dump Server and what it brings to Laravel 5.7!

Read more…
Vue CLI 3.0
News / August 13, 2018

Vue CLI 3.0

Vue CLI is the standard tooling baseline for the Vue ecosystem. It ensures the various build tools work smoothly together with sensible defaults so you can focus on writing your app instead of spending days wrangling with configurations.

Read more…
Laravel 5.7 Callable Action URLs
Laravel 5.7 / August 10, 2018

Laravel 5.7 Callable Action URLs

A new callable-like syntax for action URLs is coming to Laravel 5.7 thanks to Sebastian De Deyne! You might also hear this feature called “tuple notation” or a “callable array syntax” for URL generation actions. Learn about this new syntax and how you can use it starting in Laravel 5.7.

Read more…
Laravel Befriended
News / August 09, 2018

Laravel Befriended

Right on the heels of our post about Laravel Love: Likes and Dislikes for Eloquent Models, a reader mentioned another similar package called Befriended. Befriended brings social media-like features like following, blocking and filtering content based on following or blocked models. Laravel Befriended comes with scopes that manage filtering content that gives you easy control better what your user can see and cannot see.

Read more…
Security Release: Laravel v5.6.30 and v5.5.42 have been released
News / August 08, 2018

Security Release: Laravel v5.6.30 and v5.5.42 have been released

Laravel 5.6.30 and Laravel 5.5.42 have both been released to fix a security issue and is recommended that all users upgrade as soon as possible.

Read more…
Laravel Love: Likes and Dislikes for Eloquent Models
News / August 08, 2018

Laravel Love: Likes and Dislikes for Eloquent Models

Laravel Love is a package by Anton Komarev that lets people express how they feel about content by liking and disliking Eloquent models. Learn more about this package and where to find it so you can use it in your Laravel projects.

Read more…
Customizing the Laravel View Path
Laravel Tutorials / August 07, 2018

Customizing the Laravel View Path

In response to our post yesterday about Laravel 5.7 Resources Directory Changes, a reader mentioned that they would prefer to have their application views outside of the ‘resources’ folder. I thought I’d write up how you can customize the view path; it’s effortless with Laravel!

Read more…