Google+ oAuth and Laravel in 60 seconds

In one of previous tutorials I wrote about Social Sign-in with Socialite Laravel package. Now I will show you how easy it is, to implement new authentication provider in existing project. I noticed that many Laravel users are struggling with Google+

Pivot tables and many-to-many relationships

Today I want to talk about a feature of Laravel which is really useful but can be potentially difficult to understand at first. Pivot table is an example of intermediate table with relationships between two other “main” tables.

Real-li

Active menu state using route attributes

I bet you have a headache when you need to mark some menu item as active. Is there any good way to solve this? Yes, there is – route attributes.

What is route attributes? Standard route attributes are like “prefix”, “namesp

Laravel Searchable – the best package for eloquent

In this first post of a series about https://github.com/jarektkaczyk/eloquence – the package that allows working with eloquent models in even simpler manner – I’m going to introduce you to the searchable feature of the builder class

Explore the World of Relationships in laravel 5.1

In a real-world context, everything is connected; for example, a car has an owner, a book has an author (or maybe more than one), or an e-commerce order is related to one or more products that a customer (another relation!) has ordered.

Everything

phpGrid, Laravel 5 and Bootstrap 3

This tutorial will begin by walking you through the integration of the Laravel 5 and Bootstrap 3 themes. Afterwards, we will show you how to add PHP datagrid. If the Laravel and Bootstrap theme are already up and running on your server, you can skip

Entrust package and Laravel 5.1.11+

Since Laravel 5.1.11, Laravel has provided the new authorization services (ACL) out of the box. That's great.

The bad news is, Entrust doesn't play well with the new feature (Entrust conflicts with Laravel 5.1's new built-in Authori

Accessing distant relationships in laravel

Another really interesting Eloquent feature is the possibility to define (and then access) a distant relation, using the hasManyThrough() method.

What? I see you are a little confused. No problem: let’s take another example, which is a littl