Latest Post




How to get last element from array object in Javascript or JQuery?

How to get last element from array object in Javascript or JQuery?

In this example, we will lean how to get last element from array in javascript with example. we can easily get last element in array jquery using length. in bellow example you can see how i get last item of array in javascript. Here you can see piece of code to getting last element of array in jque.....

By Hardik Savani | July 9, 2019 | Category : Javascript jQuery

How to Install Botman Chatbot in Laravel 5?

How to Install Botman Chatbot in Laravel 5?

In this tutorial, i would like to show you how to create simple chatbot using botman in your existing laravel 5.8 application. we will install botman with laravel and you can easily use web driver, facebook driver, telegram driver, slack driver, hip chat driver etc. we will use web driver for creati.....

By Hardik Savani | July 6, 2019 | Category : PHP Laravel


PHP curl post request with parameters and get json response

PHP curl post request with parameters and get json response

Sometime we need to work with web services and APIs of third party website, at that time we need to use php curl for get request, post request, delete request, put request ect. php curl will help to post request with parameters and headers, we can get json response. PHP cURL have set of curl functi.....

By Hardik Savani | July 4, 2019 | Category : PHP CURL

Laravel - How to get .env variable in blade or controller?

Laravel - How to get .env variable in blade or controller?

In this artical, i will give you simple example how to get config variable (env variable) in view file laravel. we can get env variable value in controller and blade file too. we can simple print env file variable by using env() helper. When i was new to laravel and i was trying to get my google ap.....

By Hardik Savani | July 3, 2019 | Category : Laravel

How to get Current Date and Time in AngularJS?

How to get Current Date and Time in AngularJS?

In this example, we will learn how to get current date time in angular js application. we can get current date and time with specific format like yyyy-mm-dd, dd/mm/yyyy, mm-dd-yyyy hh:mm:ss etc. we will display current date and time using angular js ng-bind directive. You can see bellow example we .....

By Hardik Savani | July 2, 2019 | Category : AngularJS