Laravel is the amazing framework. However when it comes to writing more complex and bigger application easily. Nowadays the Laravel is mostly used PHP framework for developing complex and bigger application. The default Laravel structure comes with cumbersome and not ideal.
Laravel is the most popular PHP Object Oriented framework. Laravel provides awesomely artisan console functionality. Laravel artisan console provides lists of commands that can assist you while building your application. So, How can we create a first artisan console command?
Many times we need to export Users, Products, Orders etc… to the Excel file. Using Laravel Maat Website package we can easily fetch data from database using eloquent model then export database record to excel file using Laravel Maat website package. Let’s see Laravel export table data to excel sheet using Maat website package.
Nowadays, The Laravel is the most popular framework. The most of the project is developed on the Laravel. On the many projects, we need to test project with many dummy data. If we create the testing data then it will take too much time. So let’s see, how we can create the much more data without westing the time.
Laravel provides awesome artisan command functionality. using artisan command we can create the controller and model file or clear the blade file cache and many more. How we can call artisan command from controller or route.
Laravel HTML to excel file directly from the blade view HTML table. It’s too easy and the fastest way to generate excel file from HTML table. Without blade view file we need to create the code for the generating the excel file. We need to set the array to the proper column format for generating the excel sheet. Now, forget all those things and just create the table on the Laravel blade view file.
How we can set the custom payload on Laravel JWT auth package. The payload means many times we need to store some user related detail in the session when user login. Something like user education, jobs etc.. related data. So we want to store more user related detail on JWT auth token.
Let’s how we can set custom payload on JWT auth token.
Today, we learn how to generate JWT auth token using user object. As per now, we generate the JWT auth token using username and password. But Also, we generate JWT auth token using user object. So let’s see how we can generate JWT auth token with the user object.
Today, We are learning how we Laravel get last inserted Id. Many times we need the last inserted Id for the further operation. Laravel provides many ways to fire record insert query. Let's see the different way to get the…
JWT is the most popular and secure package for creating the token for API access. Many times we need to create the API for mobile application or REST API on the Laravel project. Let's see how we can create secure…