Using Query Scopes in Laravel?

Using Query Scopes in Laravel?

Today i would like to write about Laravel Eloquent's Query Scopes , Query scopes are allow us to re-use query...

Laravel - 5 years ago

Redirect back to original destination after login in  Laravel

Redirect back to original destination after login in Laravel

In this post i want to show you some basic tips for redirecting user back to original destination path or...

Laravel - 5 years ago

Extend Eloquent Model with created_by, updated_by ?

Extend Eloquent Model with created_by, updated_by ?

By extending Eloquent we can inherits all of the existing functionality to our model. By Extending newly created Base Model...

Laravel - 5 years ago

Highlight the Current Page in Navigation in Laravel Application

Highlight the Current Page in Navigation in Laravel Application

We can achieve this in several way , but i would like to share this below approach because it is...

Laravel - 5 years ago

Laravel Bootstrap Alert macro

Laravel Bootstrap Alert macro

Laravel allowing us to extend the HTML facade with additional functionality. we use the HTML::macro() method to extend the HTML...

Laravel - 5 years ago

Laravel Facebook Open Graph Macro

Laravel Facebook Open Graph Macro

Here is a custom HTML macros for Facebook Open Graph meta tags. if you don't had any idea about FB...

Laravel - 5 years ago

How to Create Laravel Eloquent model without a primary key ?

How to Create Laravel Eloquent model without a primary key ?

This post about Creating Laravel Eloquent model without a primary key,By default laravel will take primary key as ID, we...

Laravel - 6 years ago