Tag : Laravel 8



How to Format Number with 2 Decimal in PHP

How to Format Number with 2 Decimal in PHP

Hey there! If you've ever needed to work with numbers in PHP, you probably know how important it is to format them properly. Getting the formatting right can make a big difference if you're dealing with money, measurements, or any other numerical data.

In this guide, I will show...

How to Add Select Clear Select2 Dropdown

How to Add Select Clear Select2 Dropdown

Hey everyone! Have you ever wanted to make your website's dropdown menus more interactive and user-friendly? Well, I've got just the thing for you! In this guide, I'll show you how to jazz up your dropdowns using a powerful tool called Select2 and a bit of jQuery magic.

In t...

11+ Laravel Tips: Optimize Database Queries (2024)

11+ Laravel Tips: Optimize Database Queries (2024)

Hey developers! If you're like me, constantly striving to make your Laravel applications faster and more efficient, you're in for a treat. In this guide, I'm excited to share 11+ game-changing Laravel tips to supercharge your database queries as we step into 2024.

Datab...

7+ Laravel Tips: Optimize Database Queries (2024)

7+ Laravel Tips: Optimize Database Queries (2024)

Hey there, fellow developers! If you've been navigating the intricate world of Laravel, you know that optimizing database queries is a crucial aspect of crafting high-performance web applications. As we dive into 2024, the demand for faster, more efficient systems is greater than ever.

...

Laravel mix is not recognized as an internal or external command

Laravel mix is not recognized as an internal or external command

Greetings, developers! If you've encountered the frustrating "Laravel Mix is not recognized as an internal or external command" error, fear not – you're not alone! In this step-by-step guide, we'll tackle this common issue that arises during Laravel Mix usage.

...

How to Handle Exception in PHP with Example

How to Handle Exception in PHP with Example

Hey there, Ever found yourself scratching your head over unexpected errors in your PHP code? Fret not, because today, we're diving into the world of handling exceptions in PHP. Think of exceptions as friendly messengers that help you deal with unexpected situations in your code.

In...

How to Get All Routes in Laravel 10

How to Get All Routes in Laravel 10

Hey there! This tutorial guides you through the process of retrieving a comprehensive list of all routes in a Laravel 10 application. Throughout this article, we will cover the implementation of a method to list routes in Laravel 10.

The example provided will demonstrate how to obt...

How to Get Request Header in Laravel 10

How to Get Request Header in Laravel 10

Ever wondered how to access request headers in your Laravel 10 application? Join me as I guide you through a quick and simple step-by-step process. In this tutorial, we'll create an endpoint to effortlessly retrieve all headers or specific ones.

In this article, I'll show you ho...

How to Use Laravel Factory in Seeder

How to Use Laravel Factory in Seeder

Laravel is a popular PHP framework known for its elegance and simplicity in building web applications. When it comes to populating your database with sample data for testing and development, Laravel offers a powerful tool called Factory and Seeder.

In this article, we will explore how t...

How To Create Custom Command In Laravel 9

How To Create Custom Command In Laravel 9

In this article, we will see how to create a custom command in laravel 9. Here we will learn about how to make custom artisan commands in laravel 8 and laravel 9. Laravel provides its own artisan commands for creating migration, models, controllers, etc. You can build your own custom co...

Recommended Post
Featured Post
How To Validate 10 Digit Mobile Number Using Regular Expression
How To Validate 10 Digit Mobil...

In This small tutorial, I will explain to you how to validate a 10-digit mobile number using regular expressions in...

Read More

Jun-15-2020

Laravel 10 Composer-runtime-api ^2.2 Error - Fixed
Laravel 10 Composer-runtime-ap...

In this article, we will see laravel/framework[v10.0.0, ..., v10.0.3] require composer-runtime-api ^2.2 error fixed...

Read More

Mar-07-2023

How to Install PHP PDO MySQL Extension in Ubuntu 22.04
How to Install PHP PDO MySQL E...

Hey there! If you're diving into PHP development on Ubuntu 22.04 and need to connect your applications to MySQL data...

Read More

Feb-28-2024

Laravel Authentication with Python Face Recognition
Laravel Authentication with Py...

In this guide, I’ll show you how to enhance your Laravel authentication system by adding a secure, face-based logi...

Read More

Nov-21-2024