Blog
Insights, guides, and best practices from the Laravel Company team.
Black Screen Modal Appears in Table Actions on Laravel Filament v3 Resource
# Resolving Black Screen Modals in Laravel Filament v3 Table Actions: A Deep Dive As a senior developer working with modern Laravel stacks, we often encounter...
Add Microsoft account login in Laravel application
# Adding Microsoft Account Login to Your Existing Laravel Application: A Developer's Guide Integrating third-party authentication methods, such as logging in...
How to set a global session for the whole app in Laravel?
# How to Set a Global Session for the Whole App in Laravel Dealing with session management in PHP, especially when transitioning to a framework like Laravel,...
Laravel Sanctum : column not found: 1054 Unknown column 'api_token' in 'where clause'
# Troubleshooting Laravel Sanctum: Resolving the "Unknown Column 'api_token'" Error As a senior developer working with Laravel and API security, encountering...
Call Laravel Model Function from Blade Button OnClick Javascript Function and Stay On the Page
# Calling Laravel Models from Blade Buttons: The AJAX Solution for Dynamic Updates As senior developers working with the Laravel ecosystem, we often encounter...
Laravel Excel table styles not applied to spreadsheet
# Laravel Excel: How to Apply Custom Styles to Your Spreadsheet Data As a senior developer working with data export tools like Laravel Excel, you often run...
Passing a Closure with a variable to where method in Laravel query builder
# Passing Dynamic Variables into Closures in Laravel Query Builder: Mastering Nested `orWhere` Clauses As senior developers working with the Laravel ecosystem,...
BadMethodCallException Method Illuminate\Foundation\Application::share does not exist. error in laravel app
Title: Resolving BadMethodCallException Method Illuminate\Foundation\Application::share does not exist Error in Laravel App You have installed...
Mixed Content, This request has been blocked; the content must be served over HTTPS , Laravel
# Resolving Mixed Content Errors in Laravel: A Deep Dive into HTTPS and URL Handling As a senior developer, I’ve encountered numerous frustrating issues during...
MySQL password in .env file not working, but works fine in database.php (env() caching an old password, config:clear does not remove it)
# Decoding the Dreaded `.env` Password Problem: Why Your Laravel Credentials Fail at Runtime Dealing with database connection errors, especially when dealing...
Laravel error Argument 1 passed to Illuminate\Database\Connection::prepareBindings() must be of the type array, string given, called in
# Decoding the Error: Fixing the Laravel Database Binding Issue As senior developers working with the Laravel framework, we often encounter errors that seem...
Laravel, composer install, don't install laravel/framework upgrade to 5.8
# Laravel, Composer Install: Navigating Dependency Hell When Upgrading Frameworks As senior developers, we often encounter frustrating dependency conflicts...