Blog

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

Laravel Company

Laravel File Storage delete all files in directory

Title: Efficiently Deleting All Files in Laravel Storage Directories Introduction Laravel provides a powerful Filesystem API that allows developers to...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to check if a user email already exist

Title: Efficiently Handling Email Duplicates During User Registration in Laravel Body: In any web application dealing with user registration, you must ensure...

2026-06-29 Stefan Bogdanescu
Laravel Company

Class 'Illuminate\Html\HtmlServiceProvider' not found Laravel 5

Title: Class 'Illuminate\Html\HtmlServiceProvider' not found Laravel 5 - A Comprehensive Guide on Fixing This Error Body: You must be facing an issue with...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel paginate order by

Title: Efficiently Implement Pagination and Ordering with Laravel Introduction: In web development, ensuring that the application is responsive to various user...

2026-06-29 Stefan Bogdanescu
Laravel Company

Eloquent select rows with empty string or null value

Selecting Rows with Empty Strings or Null Values in Laravel Eloquent In Laravel Eloquent, there might be instances where you need to filter your model's...

2026-06-29 Stefan Bogdanescu
Laravel Company

Get current personal access token in Laravel sanctum from request

Title: Retrieving Current Personal Access Token in Laravel Sanctum from Request Body: Laravel Sanctum v3 is a modern authentication system for your APIs that...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 : Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE)

Title: Troubleshooting Laravel's Parse Error Issues on Live Server: A Comprehensive Guide for Developers Introduction Laravel is a highly popular PHP framework...

2026-06-29 Stefan Bogdanescu
Laravel Company

Run raw SQL in migration

Title: Executing Raw SQL in Laravel Migrations: A Comprehensive Guide Body: As a developer working with Laravel and PHP, executing raw SQL statements within...

2026-06-29 Stefan Bogdanescu
Laravel Company

Carbon: displaying hours and minutes?

Title: Displaying Hours, Minutes, and Seconds with Carbon in Laravel Views Body: When working on a web application development project, it is essential to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Route [login] not defined

Title: Route [login] not defined: Understanding and Resolving Laravel Routing Issues Introduction: Building a robust web application involves managing its...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to call API from controller Laravel without using curl and guzzle as its not working

Title: A Reliable Approach to Calling APIs from Laravel Controllers Without Using Curl or Guzzle Introduction: Calling external APIs can be an essential part...

2026-06-29 Stefan Bogdanescu
Laravel Company

Access to Laravel 5 app locally from an external device

Title: Accessing Laravel 5 App Locally from External Devices - A Developer's Guide Introduction Developing web applications using Laravel 5 is an incredible...

2026-06-29 Stefan Bogdanescu