Posts

How to generate QR Code in Laravel 8?

Image
How to generate QR Code in Laravel 8? How to generate QR Code in Laravel 8? Today we are going to generate QR Code in Laravel 8. It's very simple, Let's go step by step. Step 1 First step is to install a fresh Laravel 8 project and for that we need to run following command. $ composer create-project laravel/laravel qrcode-generation This will create a fresh Laravel project. Now after creating a fresh project let's open it in your favorite code editor. In my case i am going to open in Visual Studio Code. Now it's time to move to next step. Step 2 Let's install a package for QR Code generation that is developed to integrate with Laravel. $  composer require simplesoftwareio/simple-qrcode Above command is to install Simple QR Code package for your project. After installing this package do the following things. Now open your web.php file and create a home route and import installed package and generate qrcode using below code. use SimpleSoftwareIO \ QrCode \ Facades \ ...

How to generate barcode using Laravel 8?

Image
How to generate barcode using Laravel 8? Let's discuss, how to generate barcode using Laravel 8? Hello developers, I'm Tridev Sharma(Software Developer @Laysan Technologies Pvt Ltd). Recently I worked on a Laravel project and I got a new feature to develop in this project that is Barcode generation. So, I thought to write a blog to let you know how i did it? This blog will guide you step by step to generate a barcode. So let's start it. Step 1 Open you terminal and write the following command to generate a fresh Laravel 8 Project. $ compoer create-project laravel/laravel barcode-generation When you run this command then it will generate a fresh Laravel Project. And you will have a success status like shown in below image.  If you have a running project then you may skip this project. Now let's move to the next step. After successful generation of project open it in a code editor. Here i am going to open it in Visual Studio Code. Step 2 Now execute the following command ...