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 1 minute read

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 1 minute read

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 1 minute read

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 1 minute read

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 - 6 years ago 1 minute read

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 - 6 years ago 1 minute read

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 1 minute read