Recently Google has been introduced new reCaptcha API called “Are you a robot?”. “No Captcha reCaptcha” a complete new design captcha system and it enables…
1 CommentCategory: PHP / MySQL
By adding dynamic body class to html pages we can get the flexibility of easily modifying the look of the each page by using css…
Leave a CommentWe can merge easily laravel’s query result with another result object, by using laravel’s Collections method called merge(), It will merge a collection with another…
6 CommentsAlmost in all projects, we face this situation where we have a first name and last name in two different fields in the database table…
1 CommentSending Emails is very important requirement of the almost all modern web applications. Sending Emails in Laravel Based applications is very simple because Laravel email…
5 CommentsIf you have set up an e-mail contact form on your website, then it won’t take too long before you start getting spam (i.e. unwanted…
Leave a CommentLaravel’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…
Leave a CommentHere 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 ,…
2 CommentsFor 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…
3 CommentsBlade 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(.+)/’, ”,…
1 CommentToday 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…
Leave a CommentUsing 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…
Leave a CommentIn this post, I want to show you some basic tips for redirecting users back to the original destination path or some defined path with…
4 CommentsArray 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…
3 CommentsBy extending Eloquent we can inherits all of the existing functionality to our model. By Extending newly created Base Model we can inherits custom methods…
2 Comments