Get your next remote job on LaraJobs.
Benjamin Crozat

Page 7

Here's the fix to "using $this when not in object context."

Learn why the "Using $this when not in object context" error happens, and let me show you the only way to fix.

PHP
Print an array with PHP (+ Laravel)

Debugging requires dissecting everything. Here's a list of all the one-line of code built-in ways to print arrays in PHP (and even Laravel-specific helpers).

Fix "Invalid argument supplied for foreach" in PHP & Laravel

Learn why the "Invalid argument supplied for foreach()" warning happens, and let me show you multiple ways to fix it.

The best PHP blogs to read in 2024

To keep getting better with PHP, you should subscribe to as many quality blogs as possible. In this article, I share the ones I often read myself.

PHP
Laravel 10 is out! Here are every new features and changes.

Laravel 10 has been released on February 14, 2023. Let's dive into every relevant new features and changes.

Laravel migrations: a simplified and step by step guide

Migrations are essential in any Laravel app using a database. I will tell you what they are, why you should use them and how you can generate them.

How to clear Laravel's cache in a nutshell

When in doubt, clear the cache. In this article, you'll learn about how to clear every cache Laravel uses.

6 ways to check which Laravel version you are running

Knowing which Laravel version you are running is important before you start writing code on a new project. There are multiple ways to do so.

Great deals for enterprise developers
The latest community links
Share a link too →
- / -