The Twitter is the most popular social network. Twitter is mostly used for marketing of your product or blogs. Twitter is the social network many times we don’t have time to manually publish tweet on time. So let’s how we can Programmatically publish tweet on the Twitter using PHP
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.
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.
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.
Many times we need to remove duplicate value form the multidimensional array. Let’s see how we can remove duplicate value from the multidimensional array in PHP.
Many time we get the array with contains the duplicate value. how we can find that duplicate value form array and remove it easily. we can remove duplicate value from the array using
array_unique() function of PHP. Let’s the example If our array look like.
The Codeigniter is the Lightweight fast and object-oriented PHP Framework. Sometimes we need the last inserted record Id for inserting the related data into another table. When we are working on product module at that time we insert product data to the database and also we need to insert product-related data like product attribute insert to the database we need the product id for stored attribute data.
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.