Blog

Insights, guides, and best practices from the Laravel Company team.

Laravel Company

Translate to Blade+Laravel a while loop

# Translating `while` Loops: Why You Should Never Use Them Directly in Blade As a senior developer working within the Laravel ecosystem, I often encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel : The payload is invalid

# Laravel: Decoding the "The payload is invalid" Error After Upgrades I recently went through a significant upgrade path for two of my Laravel applications,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Using $this when not in object context - Laravel 4 PHP 5.4.12

# Using `$this` When Not in Object Context: A Deep Dive for Laravel Developers As a senior developer working with frameworks like Laravel, understanding the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Fortify - How to customise verification / password reset emails?

# Fortify Customization: Mastering Verification and Password Reset Emails Implementing robust authentication features like those provided by Laravel Fortify is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Class 'App\Models\Student' not found when trying to acces model

# Resolving the Dreaded Error: Why 'Class 'App\Models\Student' not found Happens in Laravel Welcome to the world of Laravel! As you dive into building dynamic...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent: Extract all entries that begin with a list of provided string

# Laravel Eloquent: Extracting Entries That Begin With a List of Strings As developers working with relational databases through an ORM like Laravel Eloquent,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Getting user data with Laravel Sanctum

Title: Efficiently Retrieving User Data with Laravel Sanctum: A Comprehensive Guide Body: Migrating from Laravel's built-in api token authentication to Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to use submit value in Controller switch case function?

# How to Use Submit Values in Controller Switch Case Functions: Mastering Form Data Handling in Laravel As developers working with web frameworks like Laravel,...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel : count(): Parameter must be an array or an object that implements Countable

# Solving the Eloquent Count Error: Understanding `count(): Parameter must be an array or an object that implements Countable` As a senior developer working...

2026-06-29 Stefan Bogdanescu
Laravel Company

Upload file using Guzzle

# Mastering File Uploads: Translating cURL Multipart Requests to Guzzle in PHP As senior developers, we often deal with bridging different communication...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to add multiple roles to a route group laravel

# Mastering Multi-Role Route Protection in Laravel: A Deep Dive As developers building complex applications on Laravel, role-based access control (RBAC) is a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - 403 invalid signature on email verification

# Laravel Email Verification: Solving the 403 Invalid Signature Timeout Mystery Enabling email verification is a crucial step for building trust and ensuring...

2026-06-29 Stefan Bogdanescu