Blog

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

Laravel Company

CORS (Access-Control-Allow-Origin) on Laravel

# Mastering CORS on Laravel: Solving the Cross-Origin Communication Challenge As developers building modern applications, separating the frontend (like an...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to check if connected to database in Laravel 4?

# How to Check if Connected to Database in Laravel 4? A Developer's Guide As a developer working with older frameworks like Laravel 4, understanding how the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - artisan down / Maintenance Mode except own IP

# Laravel Maintenance Mode: Restricting Access to Your Own IP Address As a senior developer working with Laravel applications, managing site access during...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 - stay logged in forever

# Laravel Session Persistence: How to Achieve "Stay Logged In Forever" As a senior developer working with the Laravel ecosystem, I frequently encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Passport Password Grant Refresh Token

# Mastering Laravel Passport: Solving the Mobile Client Refresh Token Dilemma Trying to wrap my head around using Laravel's Passport with mobile clients can...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Passport API: createToken get id

# Laravel Passport API: Getting the ID of a Newly Created Token ## Situation I'm using Laravel Passport API to communicate between my Laravel application and...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.3 query builder: 'NOTLIKE' not working

# Laravel Query Builder Deep Dive: Why `NOTLIKE` Fails with Complex Data As senior developers working with the Laravel ecosystem, we often encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Call to a member function format() on string in laravel

# Mastering Date Filtering in Laravel: Avoiding the "Call to a member function format() on string" Error Dealing with dates and timezones is one of the most...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to get data from database to view page in laravel?

Title: Displaying Database Data in Laravel Views Effortlessly Introduction Laravel is a powerful PHP framework that offers various features to simplify web...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 - get MIME type from file extension

# Mastering File Types: Getting MIME Types from Extensions in Laravel As developers working within the Laravel ecosystem, we frequently deal with file uploads...

2026-06-29 Stefan Bogdanescu
Laravel Company

orderBy in Laravel + jquery datatables

# Mastering `orderBy` in Laravel for Dynamic DataTables Sorting As developers building modern web applications, integrating backend data logic with dynamic...

2026-06-29 Stefan Bogdanescu
Laravel Company

PHP warning: include(C:\xampp\htdocs\hse\vendor\composer/../../app/Buildings.php): failed to open stream

# Solving the Autoload Nightmare: Why Your Eloquent Models Break Composer As senior developers working within the Laravel ecosystem, we often encounter...

2026-06-29 Stefan Bogdanescu