Blog
Insights, guides, and best practices from the Laravel Company team.
Laravel return image preview from base64
# Serving Images from Base64 in Laravel: Avoiding the Preview Pitfalls As developers working with APIs and frontend rendering, dealing with image...
Make Laravel's notIn validation rule case insensitive
# Making Laravel's `notIn` Validation Case Insensitive: A Developer's Guide Dealing with uniqueness constraints in database systems is a fundamental task, and...
Laravel - Query Model if values contain a certain string (taken from search input)
Laravel Searching Models Containing Certain Strings Querying models in Laravel that contain specific strings can be quite useful when implementing search...
How to use optional route parameters properly with Laravel 5.6?
# How to Use Optional Route Parameters Properly with Laravel 5.6: A Deep Dive As developers building dynamic APIs with Laravel, managing route...
Is there a way to use sortable() function in laravel filament that can be used to sort posts based on priority?
# Mastering Custom Sorting in Filament: Implementing Priority Sorting via `sortable()` As developers working with modern admin panels like Laravel Filament, we...
Laravel 5.5 : 419 unknown status with AJAX
# Laravel 5.5 & AJAX: Decoding the Mysterious 419 CSRF Error in Your Requests As developers working with modern web frameworks like Laravel, integrating...
Laravel Livewire pass multiple parameters from view
# Mastering Data Flow: Passing Multiple Parameters to Your Livewire Components As developers working with Laravel and Livewire, managing the flow of data...
updateOrCreate with increment in laravel
# Mastering Atomic Updates in Laravel: Incrementing with `updateOrCreate` As senior developers working with Laravel and its Eloquent ORM, we constantly grapple...
Custom helper classes in Laravel 5.4
# Custom Helper Classes in Laravel 5.4: Loading Helpers via Service Providers As a senior developer working within the Laravel ecosystem, we constantly seek...
Laravel 5.5 Expected response code 250 but got code "530"
# Laravel Mail Failure: Decoding the "530 Authentication Required" Error with SMTP As senior developers, we often find ourselves debugging issues that seem...
Laravel ignore mutators
# Mastering Control: How to Ignore or Bypass Laravel Mutators As developers working with Eloquent models in Laravel, we often leverage Mutators to enforce data...
How to update model's attribute before saving model in Laravel?
# How to Update Model Attributes Before Saving in Laravel: A Deep Dive As senior developers working with Laravel, we constantly encounter scenarios where we...