لاراول

امکانات جدید لاراول نسخه 5.6

What's New in Laravel 5.6

Laravel 5.6 is upon us! While it's true that this release isn't quite as flashy, there are still a number of incredibly useful new additions and updates. Let's review them together.

سطح متوسط 8 جلسه آموزشی 00:36:00 ساعت
01
قسمت 1

Upgrading the Laracasts Codebase to Laravel 5.6

Before we review the new additions to Laravel 5.6, let's begin by upgrading a real codebase from version 5.5 to 5.6. As you'll find with your own projects, some of the release notes will be relevant to your codebase, while others will not.

02
قسمت 2

Broadcast Channel Classes

Laravel, for a while now, has included functionality for broadcasting server-side events over a WebSocket connection to the client-side. Often, as part of this process, it will prove necessary to authorize the current user. "Do they have permission t...

03
قسمت 3

Collision Reporting

Laravel 5.6 ships with drastically improved error reporting, when interacting with the framework through the console. In this lesson, we'll compare and contrast the exception output you'll see for an Artisan command in versions 5.5 and 5.6.

04
قسمت 4

Eloquent Date Casting

When casting Eloquent attributes, you can now easily declare the format for your date columns. Maybe a particular date field, when converted to JSON, should be rendered as "January 1st" or "1/1/18". No problem.

05
قسمت 5

Improved Logging... Even to Slack

Logging has been vastly improved in Laravel 5.6. You'll find a new config/logging.php file in a fresh install of Laravel. Here, you may configure your desired default logging channel, or even specify a stack of channels. Maybe basic informational log...

06
قسمت 6

Dynamic Rate Limiting

For a while now, Laravel has offered the ability to throttle incoming requests. However, as part of Laravel 5.6, you can now dynamically configure the number of allowed attempts.

07
قسمت 7

Logout Other Devices

Laravel now includes the useful logoutOtherDevices method on the SessionGuard class (auth()->logoutOtherDevices()). This means, with ease, you can invalidate all other sessions for a user's account. One use-case for this is ensuring that multiple peo...

08
قسمت 8

API Controller Generator

The useful make:controller Artisan command has been upgraded to support API action generation, via the new --api flag. This is effectively identical to --resource, however, the create and edit actions are naturally excluded.

دوره در حال اجرا

این دوره هنوز به پایان نرسیده است و در آینده درس های دیگری به آن افزوده خواهد شد.