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.
How to create the log file using PHP. Many times we need to create the user log file who visit the website or else create the log file for error logs customer getting on the website. So let’s see the example how we can create the log file.
How to write the text file using PHP. Many time we need to store some data to text file like we need to stored PHP log to the text file. So, let’s see how we can create the text file using PHP.
How to read the text file using PHP. Many times we need to store some data in the text file and read the text file. So, today we are learning how we can read the text file.
Ubercart is the best and highly used e-commerce framework for Drupal. Ubercart provides awesome hook functionality. Using hook we can able to change some functionality without touching or modify the Ubercart code file.
How to get latitude and longitude from address using Google geolocation API PHP. Many times we need to get the latitude and longitude from the address given by the user. Let’s see the example of getting the latitude and longitude from address using Google geolocation API.
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.
WordPress how to assign the feature image to the post programmatically from the URL or Path of the image. Many times we need to create the WordPress post programmatically at that time we need to add the feature image to the created the post.
How we can easily set the feature image to the create post. so let’s see, We can create the function for set feature image in the created post like