Code your dreams into reality.
Every line of code is a step towards a better future.
Embrace the bugs, they make you a better debugger.

Laravel 11 Livewire File Upload Tutorial

Laravel 11 Livewire File Upload Tutorial

In Laravel 11, Livewire provides traits for file upload, just import it in the component and use it for file upload, it makes file uploading easy Let’s start creating the file upload component and import it in the blade view to upload the file to the server directory and database: Step 1: Create Migration and … Read more

Laravel 11 Livewire Form Validation Tutorial

Laravel 11 Livewire Form Validation Tutorial

In laravel 11, livewire package allow users to create a component and use it with application. Here are steps to build form and implement validation rules in it using livewire: Step 1: Create Migration and Model Run the following command to create migration and model file: Edit database/migrations/contacts.php file and add the following fields in … Read more

Laravel 11 Login with Mobile Number OTP Tutorial

Laravel 11 Login with Mobile Number OTP Tutorial

Providing OTP login functionality to users in laravel 11 application makes authentication easy for the user. Here are some steps to create an authentication system using Bootstrap Authentication UI to generate, send, and verify OTP for user login: Step 1: Set Up Bootstrap UI Auth Run the following make ui command on cmd to install … Read more

Form Validation in VUE JS with Laravel 11

laravel 11 vue js form validation example

In Laravel 11 Vue JS, form validation is the process that allows users to submit forms and send properly validated data to the server. Let’s start validating the vue js form and submit it to the server with validation: Step 1: Set Up Vue.js in Laravel 11 Run the following commands to set up vue.js … Read more

Laravel 11 Custom Login and Registration Example

laravel 11 custom auth login and registration tutorial

In Laravel 11, create custom routes, methods, forms and pages for login, register, home and logout user auth using built-in auth facade. Here are the steps to help you create custom user registration and login authentication: Step 1: Create Custom Auth Routes In routes/web.php, create custom routes that handle authentication requests in application: Step 2: … Read more

Laravel 11 Get File from AWS S3 Bucket Tutorial

Laravel 11 Get File from AWS S3 Bucket Tutorial

aws php sdk package helps users to store or retrieve files on amazon aws s3 bucket in laravel applications. Let’s start to get files or images from aws s3 cloud bucket server and display it: Step 1: Install AWS SDK for PHP To install AWS SDK for PHP using Composer command: Step 2: Configure Laravel … Read more

How to Get Current User Location in Laravel 11 using IP Address

How to Get Current User Location in Laravel 11 using IP Address

stevebauman/location composer package allows users to get country name, country code, area code, area name, city name, zip code, latitude and longitude, address using IP address in Laravel 11 application. Let’s start to get current user location using ip address: Step 1: Install stevebauman/location Run the following command to install stevebauman/location composer package: Step 2: … Read more

Laravel 11 Stripe Payment Gateway Integration Tutorial

Laravel 11 Stripe Payment Gateway Integration Tutorial

PHP Stripe SDK allows users to integrate payment gateway into Laravel 11 applications which helps in collecting international and domestic payments in the application. Let’s start to add stripe payment gateway in application: Step 1: Set Up Your Stripe Account Open browser and type https://dashboard.stripe.com/register url to set up account on stripe, and then copy … Read more

Laravel 11 Firebase Push Notification Example Tutorial

Laravel 11 Firebase Push Notification Example Tutorial

Google Firebase Cloud Messaging (FCM) helps you to send real time push notifications to your laravel 11 applications web and app(mobile) users. Let’s start to set up google fcm (Firebase Cloud Messaging) push notification to send ios, android and web apps users in laravel: Step 1: Set Up Firebase Go to the Firebase Console, and … Read more