Laravel Article Index

Thank you for your continued support.
This article contains advertisements that help fund our operations.

To make it easier to find what you're looking for, I've created an index.

Here is the list of Laravel articles

Want to know about Laravel

What is Laravel? Currently thriving as the leading PHP framework

Recommended flow for learning Laravel

There are roughly two types of configurations for Laravel API and Vue

Laravel Environment Setup

How to do API authentication with Laravel (Sanctum) and Vue (Nuxt)

Comparatively easy way to set up Laravel and PHP 7.4 environment

How to set up the environment for Nuxt3 and Laravel8 (API) and fetch data

How to install composer for Laravel environment setup

Setting up Laravel + Vue.js + Vue-Router + Vuetify environment

How to introduce Vuex to Laravel

How to make the import of Vue components in Laravel an absolute path

How to upgrade from Laravel 6 to Laravel 8

How to simply install Laravel 8

How to check the version of Laravel

How to implement authentication in Laravel 8 with Jetstream

Basics

What is a collection in Laravel? Here’s an easy explanation

How to customize user registration with Laravel 8 and Jetstream

How to use service classes in Laravel

What is a facade in Laravel? How to implement a facade

Explanation of the relationship between config and env in Laravel for beginners

Database

How to connect to a database in Laravel (for MAMP)

How to create a database in Laravel (migration)

How to prepare test data in Laravel (using seeder)

How to use factory in Laravel 8 and later

How to make the order of migration after in Laravel easier to see

Relations (Various ways to fetch data)

Basic ways to fetch data in Laravel

How to perform AND search with multiple where in Laravel

How to perform OR search using orWhere in Laravel

How to fetch A and (B or C) with complex condition search in Laravel

How to do one-to-one relations in Laravel (hasOne)

How to save and display one-to-many relations in Laravel (hasMany)

How to save and display many-to-one relations in Laravel (reverse of one-to-many) (belongsTo)

How to save and display many-to-many relations in Laravel (belongsToMany)

How to count the number of relations and display it in a list in Laravel (withCount)

How to fetch only yesterday’s data in Laravel

How to use Union to fetch from different tables together in Laravel

Union in Laravel requires the number of columns to match the original table, otherwise, it will cause an error

Points to note with whereMonth and how to fetch this month’s data in Laravel

List of formats for Carbon that can be used with whereDate, whereMonth, whereYear, etc. in Laravel

How to sort the order of collections in Laravel

How to fetch the latest five pieces of data in Laravel

Routing

How to write routing in Laravel for beginners. Learn the basics

Why you should specify name in Laravel routing for beginners

How to write routing with multiple middleware specified

How to write routing for authenticated users only

Basic ways to write routing in Laravel 8

View

How to send data to View in Laravel

How to create a list using foreach in Laravel

How to display “hashtags” in a list in Laravel

Posting Function (Forms)

How to create a posting function in Laravel (like a bulletin board) for beginners

How to do the simplest validation in Laravel for beginners

How to validate with form request in Laravel for beginners

Solution when errors do not display with validation in Laravel

How to POST an array with FormData using Vue and Laravel

How to update user information in Laravel

How to send retention information of the form to the Vue component in Laravel

How to send parameters with axios in Laravel × Vue

Authentication

Implementing email verification with Laravel 6 Auth (VerifyEmail)

How to change the redirect destination after login in Laravel

How to redirect to a specific location when validation fails during user registration in Laravel

How to save various data during user registration in Laravel

Authorization

How to do authorization with Laravel Policy

Laravel-mix

Thoughts on using plain CSS and Javascript with Laravel-mix (Are you still struggling with Sass?)

How to use blade variables in Javascript in Laravel

How to upgrade laravel-mix from 1 to 6 in Laravel

How to use arguments in Laravel commands

How to set up regular execution (scheduler) in Laravel

When to use make:command in Laravel

Testing

Errors occur if you don't write test at the beginning of functions in Laravel PHPunit

How to test Vue with Jest in Laravel

Solution when undefined-method appears while testing with PHPunit in Laravel

How to do automatic testing in CircleCI with Laravel

How to implement image transmission test in Laravel

Using AWS

How to save images with Laravel + Vue + S3

How to save user-defined metadata during saving with Laravel + S3

Deploy PHP 7.4 + Laravel 6 project to AWS EC2

How to enable https for free on AWS EC2 (without ELB)

Bug Fixes

Laravel Debugging Methods

Solution for Laravel Model not Found Issue

Solution for Memory Exhaustion Issue in EC2, Laravel, Queue

Handling 401 Error in Laravel POST and Access Issues

Fix for Laravel 405 Error

Solution for Laravel 413 (Payload Too Large) Error

Guide for Handling Laravel 419 Error for Beginners

Troubleshooting 'composer require' Command Version Issues in Laravel

Fixing "Your app key is missing" Error in Laravel

Troubleshooting Laravel Debugbar Not Displaying

Solving 404 Not Found Errors for app.js and app.css in Laravel

Error Handling When Changing Columns in Laravel Migration

Resolving Issues with Laravel withCount Method

Passing Array Data from Laravel Blade to Vue Components

Solution for "Trying to get property 'headers' of non-object" Error in Laravel

Error Occurred After Creating a Directory Named 'List' in Laravel

Solution for "syntax error, unexpected end of file" in Laravel

Solving "local.ERROR Creating default object from empty value" Error in Laravel

Fixing "Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the type array, int given" Error in Laravel

Troubleshooting Issues with Laravel×Vue Relations Display

Solution for Error When Axios POST Fails in Laravel and Vue Environment

Resolving Errors with AWS SES in Laravel

Troubleshooting Missing Login and Registration Pages in LaravelUI

Fixing Issues with Auth::user() Not Retrieving User Information in Laravel

Solution for "$ is not defined" Error in Laravel

SEO Strategies

Creating Sitemaps in Laravel for SEO

Tips

Implementing Guest Login Functionality in Laravel

Implementing Follow Functionality in Laravel (jQuery, Vue Compatible)

Implementing "Like" Functionality in Laravel

Displaying Like Counts in Lists in Laravel

Running Python in Laravel Projects

Allowing Specific Origins with Cors in Laravel

Implementing Breadcrumbs in Laravel with laravel-breadcrumbs

Switching Layouts Based on Auth Guard Type in Laravel

Using Intervention Image with Docker Setup in Laravel

Image Processing and Compression with Intervention Image in Laravel

Compressing Images to webp Format Using Intervention Image in Laravel

Using FFMpeg with Docker and Laravel

Logging Errors to Slack in Laravel

Improving Laravel Performance with Effective Methods

Considerations for XSS Protection in Laravel

Determining Device Types like Smartphones in Laravel

Specifying Recaptcha Validation in Laravel

Using Recaptcha for Multiple Processes in Laravel

Commenting Out in Blade Templates in Laravel

The Most Slippery Dishwasher Article

Please Provide Feedback
We would appreciate your feedback on this article. Feel free to leave a comment on any relevant YouTube video or reach out through the contact form. Thank you!