Posts by Author : Ambika Sahni

Sometimes we need to check the current URL of requests in our application. Either we need to check the complete path or a specific string of current URL. It can be done easily using following methods...
Read Article
Laravel provides different way to pass data in view files. Data can be passed to view either from controller or directly from route in web file. For simpler view where not much calculation is needed o...
Read Article
In this tutorial we will see the use of Eloquent Pluck method to fetch specific key values from model and populate values into Select box. pluck() method is for Laravel Collection and more frequent...
Read Article
Here we will see how we can add a new attribute in an eloquent model. Sometimes When converting models to arrays or JSON,we require additional information based on some calculation/manipulation on...
Read Article
Here we will see the maintenance mode and maintenance page customization  in Laravel in details. We often require  maintenance to be done for our project. Laravel provides easy commands for the sam...
Read Article
In this article we will take a look on how we can build SQL queries with multiple 'AND' and 'OR' where statements using Eloquent ORM. Let first start with the simple Where Clauses You may use the...
Read Article
Often in your laravel application you are loading and fetching the results on the database which doesn't necessarily needs to be fetched on every page reload. Query that takes longer amount to execute...
Read Article
When you have an ajax response which in the array format, and you have to loop through the result and display them in the tabular format. Here is the simple code approach to loop through ajax respo...
Read Article
We all want to provide our kids the best learning and joyful experience in their early development years. Kids are very fond of their toys and activities kits. If they absolutely love their toys, they...
Read Article
Laravel's default timestamps are stored in UTC, and if you working with an application in which users who are in a different timezone, they might see a timestamp in the application which does not matc...
Read Article

Sponsors

This website has NO spammy ads, distracting popups, and tracking codes. Thanks to our sponsors!

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.