Videos of the talks at Laravel Nigeria’s first meetup

On April 22nd Laravel Nigeria held its first meetup. It was a big success with over 150 developers showing up. Here’s a recap written by Neo Ighodaro, the organiser of the meetup: https://blog.devcenter.co/building-the-laravel-nigeria-community-with-over-150-attending-the-first-meetup-c919d5ca373c The talks of the meetup were recorded, you can watch them here: Learn Frontend with Vue.js Deploying Your Laravel Application Surviving With […]

Continue reading →

Quickly dd anything from the commandline

Laravel’s tinker command allows to run any code you want as if you are inside your Laravel app. But if you want to run a single line of code if can be a bit bothersome. You must start up tinker, type the code, press enter, and quit tinker. Our new spatie/laravel-artisan-dd package contains an Artisan […]

Continue reading →

Expressive Code & Real Time Facades

In a new post on his blog Taylor Otwell gives a nice example on how real time facades can make code more testable. Recently, I worked on some code that surfaced my most common use-case for Laravel 5.4’s “real-time” facades. If you’re not familiar with this feature, it allows you to use any of your […]

Continue reading →

Moving from PHP (Laravel) to Go

Danny Van Kooten did an interesting experiment. He completely rewrote an Laravel app to a version in Go. In a post on his blog he shares some details about his project along with some benchmarks. Earlier this year, I made an arguably bad business decision. I decided to rewrite the Laravel application powering Boxzilla in […]

Continue reading →

A conversation on laravel-html

Hi, how are you? I’m fine thanks! How are you? I saw you released another package last week. Yup yup, you mean laravel-html, right? It was actually coded up by my colleague Sebastian, who did an awesome job. But why put out yet another html generator? Html generation is a solved problem, right? Yes, it […]

Continue reading →

Partial model updates in Laravel

Michael Dyrynda, one of the co-hosts of the Laravel News and the North Meets South podcasts, explains how to easily uptime your models with data coming from requests. Instead of littering your controller method with multiple request()->has(‘field’) checks, you can employ the request object’s intersect method. The intersect method will return a new array containing […]

Continue reading →

Sharing Data in a Laravel/Vue Application

There are multiple good ways to pass data from Laravel to Vue. In a new blogpost Jesse Schutt covers all the options. It has been helpful to think of my application as “layers” or separate sections of code each with varying responsibilities. I like to think of Laravel as the intermediary between the persistent data […]

Continue reading →

Understanding Laravel’s HighOrder Collections

One of my favourite features that was introduced in Laravel 5.4 are the higher order collection functions. It allows you to rewrite collect($models)->filter(function(Model $model) { $model->passesFilter(); }); to: collect($models)->filter->passesFilter(); This works with the filter method an a bunch of other collection methods. In a new post on his blog Nicola Malizia explains how these methods […]

Continue reading →

A Laravel package to impersonate users

A great feature of Laravel Spark is it’s ability to impersonate other users. As an admin you can view all screens as if you are logged in as another user. This allows you to easily spot a problem that your user might be reporting. Laravel-impersonate is a package, made by MarceauKa and Thibault Chazottes that […]

Continue reading →