Articles

How to use the WhereX statement in Laravel

August 3rd, 2022 — posted in Code With Burt — 1 minute read

In this weeks #QWW, we're using the whereX statement to query our data. With whereX you can use the field name of the column you want to query as a suffix to the where statement.

#eloquent, #laravel

Keeping your database structured

July 31st, 2022 — posted in Code With Burt — 1 minute read

In this weeks #QWW, we'll make sure our database doesn't get messed up. We're going to use the "after" method to keep the database structured. We'll also use the pretend flag to see the queries that will be run during the migration.

#database, #laravel, #structure

Incrementing & Decrementing values in one line

July 31st, 2022 — posted in Code With Burt — 1 minute read

This is the very first video of #QWW, Quick Win Wednesday. In this video we'll be incrementing and decrementing values in one line of code.

#laravel, #tutorial

Clearing cache using Events or Observers in Laravel

July 31st, 2022 — posted in Code With Burt — 1 minute read

In this video you'll learn how to clear your application's cache using Observers. We'll also be using Laravel Telescope and Postman again to test things out.

#cache, #events, #observers, #laravel, #tutorial

Deepdive into Laravel Pint

July 31st, 2022 — posted in Code With Burt — 1 minute read

In this video we're taking a look at Laravel Pint, Created by Nuno Maduro, one of Laraval's core team members.

#laravel, #pint

Cabon SubMonth VS SubMonthNoOverflow

July 31st, 2022 — posted in Code With Burt — 1 minute read

The subMonth function in Carbon doesn't really do the subtraction of a month. It's trying to get the same day number of the previous month. This could cause issues. Here is how to prevent issues with subMonthNoOverflow

#carbon, #laravel, #tutorial, #submonth

How to use Mutators in Laravel

July 31st, 2022 — posted in Code With Burt — 1 minute read

In this weeks #QWW, we're talking about how to use mutators in Laravel. Mutators can be used to mutate the data provided by the user to the database and vice versa.

#mutators, #laravel, #tutorial

How to build a Public API with Laravel

July 31st, 2022 — posted in Code With Burt — 1 minute read

In this video you'll learn how to build a Public API. We're using, Caching, rate limiting, API resources and we'll have a look at Laravel Telescope. We'll also use PostMan to test our API.

#api, #laravel, #tutorial

Full stack Ghent meetup 20th April 2022

April 22nd, 2022 — posted in Originals — 2 minute read

On the 20th of April, I gave a talk at the Full Stack Ghent meetup. I shared some tips that help me in my Laravel workflow, so my talk was called “Quick Wins in Laravel”.

#personal, #meetups, #talks, #api

Is PHP dead? NO it’s not…

April 20th, 2022 — posted in Community content — 1 minute read

The guys at OfferZen Origins used the footage that didn’t make the documentary on Laravel that was released last month, to create this video on PHP.

#php