Blog
Insights, guides, and best practices from the Laravel Company team.
Laravel - How to remove white space in Laravel
# Laravel: Mastering Input Hygiene – How to Remove Whitespace and Handle Validation Correctly As developers working with web frameworks like Laravel, we often...
Carbon create from timestamp
# Mastering Timestamps: Converting Unix Epochs to Carbon Dates in Laravel As developers working within the Laravel ecosystem, we frequently deal with dates and...
laravel Undefined variable: user
# Solving the Laravel "Undefined Variable: user" Error on Your Dashboard As a senior developer working with the Laravel ecosystem, you will inevitably...
how to get env variable in scss
# How to Inject Environment Variables into SCSS using Laravel Mix As developers working within the Laravel ecosystem, we frequently encounter the need to...
Why is my Laravel 5.7 session not working?
# Why is my Laravel 5.7 session not working? A Deep Dive into Troubleshooting Session Issues As a senior developer, I've seen countless developers struggle...
RuntimeException The Zip PHP extension is not installed
# Fixing the RuntimeException: The Zip PHP Extension is Not Installed Welcome to the world of development! It’s completely normal to hit roadblocks when...
laravel 5.6 bulk inserting json data
# Mastering Bulk Insertion in Laravel: Efficiently Handling Large JSON Datasets As a senior developer working with Laravel APIs, optimizing database operations...
Eloquent - where not equal to
Title: Mastering Eloquent Queries: Understanding whereNotIn(), where('column', 'operator', 'value') & NOT IN Operator Usage in Laravel Eloquent is an elegant...
Laravel API, how to properly handle errors
Title: Mastering Error Handling in Laravel APIs: Best Practices and Guidelines Anyone know what is the best way to handle errors in Laravel, there is any rules...
"Your Requirements could not be resolved to an installable set of packages"
# Resolving Dependency Nightmares: Fixing "Requirements Could Not Be Resolved" in Composer As a senior developer, I’ve seen countless frustrating moments where...
Change the login/register URL in Laravel 5.2
# Restructuring Authentication Routes in Laravel 5.2: Moving Login and Register to `/admin` As a senior developer working with established applications, we...
Run .sh file using exec Laravel PHP
# Running .sh Files in Laravel: The Developer's Guide to Executing Shell Commands As a senior developer, I’ve encountered countless scenarios where attempting...