Posts by Author : Ambika Sahni

Laravel allows connecting multiple databases with different database engines. Laravel has inbuilt support for multiple database systems. While developing a web application sometimes we need to use...
Read Article
Implicit Route Model Binding in Laravel Implicit Route Model Binding is a powerful feature in Laravel that can save your time and effort when building web applications. It allows you to automatically...
Read Article
Livewire is a popular package for Laravel developers that enables them to build dynamic interfaces with minimal JavaScript. In this blog, we'll go through the steps of installing Livewire on a new...
Read Article
when we are using @push('scripts') in laravel livewire components blade file. @push('scripts') <scripts> // Your JS here. </scripts> @endpush Then following lines need to be adde...
Read Article
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