Tag : Laravel



Laravel 11 Unique Validation on Update

Laravel 11 Unique Validation on Update

In Laravel 11, when you're updating a resource (like a user or product) in your database, you might want to ensure that a certain field remains unique, even during updates. For example, you might want to make sure that a user’s email address isn’t duplicated, but allow it to remai...

Laravel 11 Image Upload Validation Example

Laravel 11 Image Upload Validation Example

In this guide, I'll show you how to handle image uploads in Laravel 11 and validate them properly. Uploading images can be a common feature in many web applications, and Laravel provides a simple and effective way to ensure that the uploaded files are valid and meet the required criteria.

...

Laravel 11 Livewire 3 Form Validation Example

Laravel 11 Livewire 3 Form Validation Example

Form validation is a crucial part of building secure and user-friendly web applications. With Laravel 11 and Livewire 3, you can implement dynamic, real-time form validation effortlessly.

Whether you need to validate inputs on the fly or customize validation rules, Livewire makes it sim...

How to Install & Setup Livewire 3 in Laravel 11

How to Install & Setup Livewire 3 in Laravel 11

Livewire is a powerful framework for building dynamic, reactive components in Laravel without writing any JavaScript. With Livewire 3, you get even more features and improved performance.

If you're using Laravel 11 and want to leverage Livewire 3 for creating seamless user experienc...

Laravel Passport - Invalid key supplied Error

Laravel Passport - Invalid key supplied Error

Laravel Passport simplifies API authentication by providing a full OAuth2 server implementation. However, you might encounter the "Invalid Key Supplied" error while working with Passport. This error typically arises due to issues with encryption keys or configurations.

In this...

Fixing Laravel Livewire Select2 Issues in Wizard Forms

Fixing Laravel Livewire Select2 Issues in Wizard Forms

Using Select2 with Laravel Livewire can enhance your forms by providing a user-friendly dropdown experience. However, when integrating Select2 with a wizard form in Livewire, you might encounter issues such as Select2 not initializing or losing its functionality during page transitions.

How to Generate Avatar Image for User in Laravel 11

How to Generate Avatar Image for User in Laravel 11

Creating avatar images for users in Laravel 11 can enhance the visual appeal of your application and make it more personalized. Whether it’s generating random avatars, initials-based images, or custom user-profile pictures, Laravel makes it easy to implement this feature.

In this...

How to Schedule Cron Job Based on Time zone in Laravel

How to Schedule Cron Job Based on Time zone in Laravel

Scheduling tasks using cron jobs in Laravel is a powerful way to automate repetitive processes like sending emails, cleaning up databases, or running reports. However, when working with applications that cater to users across different time zones, it becomes crucial to schedule these tasks based...

How to Manage User Timezone in Laravel 11

How to Manage User Timezone in Laravel 11

Managing timezones in Laravel applications can be crucial when you have users from different regions. In this article, I’ll walk you through a step-by-step process to manage user-specific timezones in Laravel 11.

We’ll set up authentication with Laravel UI, add a timezone co...

How to Get Min Value of Column in Laravel 11

How to Get Min Value of Column in Laravel 11

In this article, I’ll show you how to get the minimum value of a column in Laravel 11 using the built-in min(), oldest(), and orderBy() methods. This method is a quick and efficient way to find the smallest value in a database column, whether you're working with numbers, dates...

Recommended Post
Featured Post
Carbon Add Years To Date In Laravel
Carbon Add Years To Date In La...

In this article, we will see examples of carbon adding years to date in laravel. Here we will laravel add...

Read More

Dec-07-2020

How To Create Unique Slug In Laravel 9
How To Create Unique Slug In L...

In this article, we will see how to create a unique slug in laravel 9. A slug is the part of a URL that i...

Read More

Sep-27-2022

Laravel 8 One To Many Relationship Example
Laravel 8 One To Many Relation...

In this example we will see laravel 8 one to many relationship example. Also you can use one to many relationship in lar...

Read More

Nov-03-2021

Multi Step Form Example In Laravel
Multi Step Form Example In Lar...

Today in this post we will see multi step form example in laravel, here we will create laravel multi step form example.&...

Read More

Jul-21-2021