How to Detect Ajax Request in Laravel 4
Laravel’s Request class provides many methods for reading the HTTP request of the current request. One of these function is named ajax(). Using this function
Laravel’s Request class provides many methods for reading the HTTP request of the current request. One of these function is named ajax(). Using this function
Here is the simple quick post about removing specific element from an array using php.In this example we are going to use array_search() function ,
For Creating cookies in Laravel we use Cookie::make() method and for reading cookie we use Cookie::get() method. Basically the Cookie::get() method is a wrapper over
Blade did not provided a way to define variables.But you can extend blade by using extend method as shown below Blade::extend(function($value) { return preg_replace('/\@var(.+)/', '',
Today i would like to write about Laravel Eloquent’s Query Scopes , Query scopes are allow us to re-use query logic by allowing us to
Using array_map() function is pretty simple in procedural style coding in PHP, while coding in object oriented fashion is also easy but bit tricky. So
In this post, I want to show you some basic tips for redirecting users back to the original destination path or some defined path with
Array map is one of the interesting PHP’s array function. But it will not work with multidimensional arrays as expected.So in this post, I would