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
Drag and Drop File Upload Using Dropzone js in Laravel 9
Drag and Drop File Upload Usin...

In this article, we will see drag and drop file upload using dropzone js in laravel 9. Dropzone JS is an open-source lib...

Read More

Mar-19-2022

How To Import SQL File Into MySQL Using Command
How To Import SQL File Into My...

In this article, we will see how to import SQL files into MySQL using the command. You can import databases in multiple...

Read More

Nov-10-2022

Laravel 9 Create Middleware For XSS Protection
Laravel 9 Create Middleware Fo...

In this article, we will see laravel 9 create middleware for XSS protection. Cross-site scripting is a type of...

Read More

Apr-30-2022

Laravel 9 Refresh DataTable Without Reloading Page
Laravel 9 Refresh DataTable Wi...

In this article, we will see laravel 9 refresh datatable without reloading the page. When I have a data table that...

Read More

May-01-2022