Laravel 5.7 Guest User Gates

In Laravel 5.6 and below authorization gates and policies automatically return `false` for unauthenticated users. New in Laravel 5.7, you can now allow guests to go through authorization checks by using a nullable type-hint or setting the default value as null. Learn how to use guest-enabled gates in Laravel 5.7!

Visit Laravel News for the full post.

The post Laravel 5.7 Guest User Gates appeared first on Laravel News.

Source: Laravel News

Email Verification

First up, we have email verification support out of the box in Laravel 5.7. It’s as simple as adding implements MustVerifyEmail to your User class. Seriously.
Source: Laracasts

Polymorphic Relations

We’ve made it to the scariest of Eloquent relations: polymorphic. Don’t worry! As with most things, the word is scarier than the technique. A polymorphic relationship allows a model to belong to any number of models on a single association. Let’s demonstrate this with a practical example.
Source: Laracasts

Has Many Through

While not nearly as common, the hasManyThrough relationship, when necessary, can prove to be incredibly useful. This relationship type allows you to perform queries across long-distance relationships.
Source: Laracasts

Many to Many

Many to many relationships are a bit more confusing to understand. Let’s break it down by reviewing the common "posts" and "tags" relationship. A one-to-one or one-to-many relationship isn’t quite right here. A post will never own a tag. It can be associated with one, sure, but it doesn’t own the tag. The same is true in reverse. When we encounter situations such as this, a "many-to-many" relationship is exactly what we need.
Source: Laracasts

Notepad++ v7.5.8 bug-fixes

1. Remove annoying “no update” notification.
2. Fix Folder as Workspace not updating regression.
3. Fixed crash issue by checking & unchecking “Disable extension column” option in preferences dialog.
4. Fixed a crash when trying to launch a secondary instance with command line arguments.
5. Fix “Explorer Here” from “Folder as Workspace” problem if folder name contains comma.

Included plugins:

1. NppExport v0.2.8 (32-bit x86 only)
2. Converter 4.2.1
3. Mime Tool 2.1
4. DSpellCheck 1.3.5

Updater (Installer only):

* WinGup (for Notepad++) v5.0.2

1 2 3 4 47