Blog

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

Laravel Company

eloquent laravel: How to get a row count from a ->get()

Title: Efficiently Retrieving Row Counts with Laravel Eloquent's Collection Methods Introduction: In this blog post, we'll explore various ways to count rows...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Blade passing variable with string through @include causes error

Title: Laravel Blade Variable Passing through @include - Common Issues Explained In this blog post, we will explore the challenges faced when passing variables...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel print array in blade php

Title: Displaying Arrays in Blade Templates - A Comprehensive Guide to Laravel Print Array in Blade PHP Introduction: The Laravel framework offers a powerful...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to use php DateTime() function in Laravel 5

Title: Efficiently Using PHP DateTime Function within Laravel 5 Apps Introduction ----------------------------- When developing applications using Laravel 5,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Why Laravel Vite Directive Not Working in My Project?

Title: Troubleshooting Laravel Vite Integration Issues Introduction Laravel Vite is a modern frontend build tool that combines the efficiency of Vite with...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to disable registration new users in Laravel

Title: Effortlessly Disable User Registration While Maintaining Login Functionality in Laravel Applications With the rise of security threats, privacy...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 not finding css files

Title: Troubleshooting Laravel 5 and CSS File Inclusion Issues Body: For developers using Laravel 5 with a MAMP setup, it is common to encounter issues where...

2026-06-29 Stefan Bogdanescu
Laravel Company

get file name without extension in laravel?

Title: Get Filename Without Extension in Laravel: A Comprehensive Guide Introduction: In Laravel, there might be times when you need to access the filename of...

2026-06-29 Stefan Bogdanescu
Laravel Company

Do I need to run `npm run prod` on production?

Title: Understanding npm Run Prod for Laravel Production Environments Introduction Laravel is an impressive framework that offers numerous useful tools to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - find by custom column or fail

Title: Laravel - Find by Custom Column or Fail: A Comprehensive Guide Body: The Laravel framework offers extensive features that make it easy to create...

2026-06-29 Stefan Bogdanescu
Laravel Company

Class 'App\Http\Controllers\DB' not found and I also cannot use a new Model

Title: Diagnosing and Resolving Laravel Class Not Found Issues with Models and Queries Introduction: In this blog post, we'll address two common issues...

2026-06-29 Stefan Bogdanescu
Laravel Company

Select Last Row in the Table

Title: Retrieving the Last Row in a Table: A Comprehensive Guide for Developers Introduction: The world of database management can be quite complex, especially...

2026-06-29 Stefan Bogdanescu