PHP


Laravel full calendar tutorial example from scratch

In this example you will learn how to implement fullcalendar(JavaScript Event Calendar) in Laravel 5 application. we would like to represent our events, schedule, tasks etc on calendar that way we can see when starting time and ending time. In this article we will use fullcalendar jquery plugin for display events in laravel application. It is very easy to implement. Example is from scratch so yo.....

Posted On May 6, 2017

How to use color picker in Laravel 5 ?

As we know, today we always want to make better layout for each small point of our application like datepicker, colorpicker, sorting etc. If you need to add color code on database then you would like to use color picker instead of just give textbox. In this example you can learn how to use bootstrap color picker in laravel 5 application. Here we use bootstrap-colorpicker plugin for color picker So.....

Posted On May 5, 2017

Laravel 5 - image upload with create thumbnail image example

In this example you can learn how to generate thumbnail image when upload image in laravel project. we always like to make very smooth load our web page. But if you have many images on your web page it can take time to load page on browser, as specially when image is large size. But if you have small size of image(thumbnail) like 300X300 or 100X100 etc. It will save time to load our page. That mak.....

Posted On May 2, 2017

Laravel 5 get client ip address

sometime we may require to get client ip or ip address from request in our project. If you are use core PHP and you can get from $_SERVER, but laravel framework provide very simple easy way to get client ip address from request. Here, bellow i gave you example how you can get ip address. you can get using request facade and helper: <strong>Example 1:</strong> <pre> $clientIP = \Request::ip(); </.....

Posted On April 23, 2017

Laravel get and set config variables value example

Here, you can learn how to get or set configuration variables value in laravel 5 application. There two way to get and set config variable value. You can simply use config helper of laravel or config facade. Sometimes, It is very important to get some configuration variable value like Domain URL, timezone, email title etc. PHP Laravel framework provide us very simple and easy way to get and set c.....

Posted On April 22, 2017

How to use bootstrap datepicker in Laravel 5 ?

In this article, we will deal with implement bootstrap datepicker in laravel 5 application. datepicker is nothing related to laravel, it is a separated jquery library. you can simply use datepicker in laravel as you use on another framework or code php project. In this example i use bootstrap-datepicker.js library for datepicker. Here, you can simply use on your blade file, as like bellow to use:.....

Posted On April 21, 2017

How to get last record of table in Laravel 5?

Here, i will show you how to select last row of database table using Laravel query builder. In PHP Laravel framework, there are several eloquent method to get last record from table. In this article, I will show you two way to getting last row of the table. In this example i going to use following method of laravel eloquent. 1)first() 2)orderBy() 3)latest() Above three method through we can simp.....

Posted On April 16, 2017

Blog Search