Category Archives: Laravel

Laravel Generate Random Unique Number

To generate random unique number for a web application, there may be many different way but here in this i will give some easiest example to generate random unique numbers for laravel application.  A question that can be arise in your mind, why we need to generate random unique number and where we need to use of these… Read More »

How to resolve class ‘memcached’ not found in laravel

After installing the memcached on the server or local machine, we can use memcached functionalities. But sometimes we may get an error like class ‘memcached’ not found. So here i will give the possible solution to resolve class ‘memcached’ not found. So in the resolution of this error first thing we should to check whether memcached is installed… Read More »

How to install memcache in laravel with example

As we all know that caching is a technique to boost up the performance of a web application. So here, in this article i will demonstrate about the installation and use of memchache in a laravel web application with an example. There are some easy steps to install memcache in laravel.  There are some other cache techniques are… Read More »

How to create laravel authentication module with example

Here, in this article we will discuss about the authentication mudule and i will let you know about how to create laravel authentication module with an example. Authentication and authorization are basic feature for any web application. We can not give access of all features to public without having a registered user. We generally give an option to… Read More »

How to integrate paytm payment gateway in laravel example

As we know that paytm is fastest growing plateform to provies payment services. So here i will let you know how to integrate paytm payment gateway in laravel with an example. Paytm provides digital payment methods and boomed after digital india movement. Most of the marchant accepts paytm payment.  Here, in this example we will use a laravel… Read More »

How to validate mobile phone number in laravel with example

Data validation and sanitization is a very important thing from security point of view for a web application. We can not rely on user’s input. In this article i will let you know how to validate mobile phone number in laravel with some examples. if we take some user’s information in our application, so usually we take phone… Read More »

How to fix CORS error in laravel using middileware

In this article i am going to let you know how to fix CORS error in laravel using middleware. CORS means Cross origin resource sharing.  Sometimes while working of an application like angular, react and get an error like Cross-Origin Request Blocked after an api call or when we call the api through ajax request, we also get… Read More »

Laravel detect mobile device and redirect mobile website htaccess

In this article, i will let you know laravel detect mobile device and redirect mobile website. So let’s see how can we detect mobile device and redirect website to the mobile website. A web application can be open on desktops, laptops, tablets and mobiles. But a large application should be optimized for all devices means if we open… Read More »

Laravel real time event broadcasting with socket.io example

In the today’s technogy age real time data has become an essential thing. So here, in this article i will share laravel real time event broadcasting with socket.io. Here in this example we will see how can we broadcast real times events. Basically, to acheive this thing in our laravel application, we will use predis which is a… Read More »