Blog

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

Laravel Company

Use of undefined constant layouts - assumed 'layouts' (this will throw an Error in a future version of PHP)

# Resolving Blade Layout Errors: Understanding Undefined Constants in Laravel Views Hello fellow developers! Dealing with view rendering errors can often feel...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Form Button Cancel

# Mastering Form Actions: Implementing a Clean "Cancel" Redirect in Laravel As developers working with Laravel, we often deal with complex form interactions...

2026-06-29 Stefan Bogdanescu
Laravel Company

Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::save()

# Resolving Eloquent Relationship Errors: Why You Get "Call to undefined method save()" As senior developers working with Laravel, we often encounter tricky...

2026-06-29 Stefan Bogdanescu
Laravel Company

PDO Not Found - Centos7 PHP7.1

# Solving the PDO Not Found Error on CentOS 7 for Laravel Development I understand your frustration. Diving into server administration, especially when dealing...

2026-06-29 Stefan Bogdanescu
Laravel Company

Capture error from laravel controller with Axios

# Capturing Detailed Errors from Laravel Controllers with Axios: A Deep Dive As developers building modern single-page applications (SPAs) using a robust...

2026-06-29 Stefan Bogdanescu
Laravel Company

Can i remove sail from laravel?

# Can I Remove Sail from Laravel? Achieving Minimal Control Over Your Local Environment Recently, many developers have encountered a common sentiment: the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 4 CSRF on all POST requests

# Laravel CSRF on All POST Requests: Unlocking Global Request Validation As developers working within the Laravel ecosystem, understanding how security...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - POST data is null when using external request

# Laravel - POST data is null when using external requests: Bridging the Gap Between Tests and Live APIs As a senior developer, I’ve seen countless...

2026-06-29 Stefan Bogdanescu
Laravel Company

implode(): Argument #2 ($array) must be of type ?array, string given, is an error I receive in displaying a value of checkbox

# Debugging `implode()` Errors: Mastering Array Handling in PHP Form Processing As senior developers, we often encounter frustrating errors that seem trivial...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: Get values of checkboxes

Title: Efficiently Retrieving Checked Values from Laravel Forms Body: The task of getting the values of checked checkboxes in a Laravel application might seem...

2026-06-29 Stefan Bogdanescu
Laravel Company

PHP | What are three dots before a function arguments?

# PHP: Unlocking Flexibility with the Three Dots (`...`) in Function Arguments As senior developers, we often encounter sophisticated code patterns that seem...

2026-06-29 Stefan Bogdanescu
Laravel Company

In Laravel, Is there a way to delete old revoked/expired passport tokens

# In Laravel: How to Clean Up Expired Passport Tokens for a Healthier System As developers building robust APIs with Laravel Passport, one common issue that...

2026-06-29 Stefan Bogdanescu