Blog

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

Laravel Company

Laravel mock with Mockery Eloquent models

# Mastering Mocking in Laravel: Using Mockery with Eloquent Models As developers working with frameworks like Laravel, testing controller logic often requires...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel validation not exists in table

# Mastering Data Integrity: How to Validate Existence Across Multiple Tables in Laravel As developers working with relational databases through frameworks like...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent Pluck without losing the key

# Laravel Eloquent Pluck Without Losing the Key: Mastering Collection Transformations As developers working with Laravel, we frequently deal with complex...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to get old value from the textbox in laravel

# Restoring Form Data: How to Get Old Values from Textboxes in Laravel As a senior developer working with the Laravel ecosystem, managing form submissions and...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel collection remove item

# Mastering Collection Manipulation in Laravel: Removing Items by Grouping As developers working with dynamic data in PHP, managing collections efficiently is...

2026-06-29 Stefan Bogdanescu
Laravel Company

PHPExcel Error: Array and string offset access syntax with curly braces is deprecated

Title: PHPExcel Error: Array and string offset access syntax with curly braces is deprecated Body: Introduction ------------------------- Since upgrading to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: use Eloquent belongsto , get data from both tables?

# Laravel: Using Eloquent `belongsTo` to Fetch Data Across Multiple Tables As developers working with relational databases in Laravel, efficiently retrieving...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to login postgreSQL in cmd

# Solving PostgreSQL Login Issues in the Command Line: A Guide for Laravel Developers As a senior developer working with frameworks like Laravel and local...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to change storage path in laravel 5.3 to public?

# How to Change Storage Path in Laravel 5.3 to Public Without Symlinks As developers working with the Laravel ecosystem, managing file storage paths is a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Skip first result from v-for vuejs2

# Mastering Vue.js Iteration: How to Skip the First Result in `v-for` As developers working with dynamic data presentation, managing arrays within a view loop...

2026-06-29 Stefan Bogdanescu
Laravel Company

foreach() argument must be of type array|object, string given

# Fixing the `foreach()` Error with Eloquent Relationships in Blade: A Deep Dive for Laravel Developers As a senior developer working with the Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to check the version of Laravel Livewire

# How to Check the Version of Laravel Livewire: A Developer's Guide As developers working within the Laravel ecosystem, keeping our dependencies up-to-date is...

2026-06-29 Stefan Bogdanescu