Blog
Insights, guides, and best practices from the Laravel Company team.
database: best practice countries, country codes, country phone codes
# Mastering Internationalization: The Best Practice for Storing Country Codes in Your Database As developers building applications intended for a global...
Laravel - Error: App\Exports\View must be compatible with Maatwebsite\Excel\Concerns\FromView::view(): Illuminate\Contracts\View\View
# Solving the Excel Export Nightmare: Understanding the `FromView` Error in Laravel As a senior developer working with the Laravel ecosystem, one of the most...
stripe api checking for existing card
# Mastering Card Management in Stripe: Checking for Existing Cards on the Backend I'm sure I'm missing something obvious here, but I can't get my head around...
Laravel timestamp saving time as unix timestamp
# Laravel Timestamp Saving Time: Storing Data as Unix Timestamps As developers working with relational databases, one of the most common architectural...
SQLSTATE[HY000] [2005] Unknown MySQL server host 'localhost:3306' (2)
# Solving the SQLSTATE[HY000] Unknown MySQL Server Host Error in Laravel: A Guide for Environment Migrations As a senior developer, I frequently encounter...
Trying to install poppler-utils - package not found on linux
# Solving Dependency Nightmares: Installing Poppler Utilities in Docker Environments As developers, we often find ourselves wrestling with dependency...
Laravel Carbon, retrieve today's date with weekday?
Title: Utilizing Laravel Carbon for Advanced Date Comparison and Weekday Search Body: Introduction One of the most useful features in Laravel is the DateTime...
Laravel - validation | The input field should be one of two values
# Laravel Validation: Restricting Input to a Specific Set of Values As developers building robust web applications with Laravel, input validation is arguably...
laravel return exception as json instead of an html
# Returning Laravel Exceptions as JSON: Moving Beyond HTML Error Pages As developers building modern applications, especially those serving APIs, the way...
Illuminate\Validation\ValidationException : The given data was invalid. Called when trying to get the json from a response while testing
# Illuminate\Validation\ValidationException: Navigating Validation Errors in Laravel Tests As senior developers working with Laravel, we frequently encounter...
Laravel 5 package development
# Mastering Manual Package Development in Laravel: Recreating the Workbench Manually As developers working within the Laravel ecosystem, creating reusable...
Laravel run all queues at once
# Laravel Queue Management: Running All Queues Efficiently Without Naming Each One As application complexity grows, managing background jobs via queues becomes...