How To Update Composer In Laravel

How To Update Composer In Laravel

Read more

Laravel Raw Queries

How to use raw queries in Laravel? Laravel is an awesome framework. It provides you flexibilities for development. Once you realize it’s cool features, you will just love the framework. One such cool…

Read more

What Is Reverse Routing In Laravel?

In Laravel reverse routing is generating URL’s based on route declarations.Reverse routing makes your application so much more flexible. For example, the below route declaration tells Laravel to execute the action “login” in the user’s…

Read more

Search Query ( Search data with relation tables columns)

This query searches the data from the Table and also with its relation table columns dynamically. //add this code in model public function scopeSearch($query, $keyword, $columns = [], $relationMapping = []) { //…

Read more

Laravel Middleware 

Middleware filters/modify the http request before entering into the application. Middleware files are located in app/Http/Middleware folder. We use Middleware for Checking the request(like Authentication), modifying request data according to requirement before reaching the controller….

Read more

How to import Excel File in Laravel

In this example we will discuss about import excel file In laravel framework PHP. Follow the below step to import : Download the dependecy using composer for Import and export excel file. composer…

Read more

Eloquent- Serialization

Introduction When we build JSON APIs, we will often need to convert our models and our relationships to arrays or JSON. Eloquent provides convenient methods for making these conversions, it also controls which…

Read more

Laravel -Eloquent API Resources

Last update on May 06 2020 13:19:32 (UTC/GMT +8 hours) Introduction When we build an API, we may need a transformation layer that will sit between our Eloquent models and the JSON responses…

Read more

A queue involves placing things in order. For instance, a queue management system can be used to serve customers on a first-come-first-serve basis. This is no different from the Laravel queue. It serves…

Read more

Laravel – Error and Logging

Errors A project while underway, is borne to have a few errors. Errors and exception handling is already configured for you when you start a new Laravel project. Normally, in a local environment…

Read more