Blog
Insights, guides, and best practices from the Laravel Company team.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...