لاراول

امکانات جدید Laravel نسخه 5.3

What's New in Laravel 5.3

It's about that time again! The release of Laravel 5.3 is imminent. That means, it's finally time to dig in and see what's new. And, well, there's a lot! From directory changes, to notifications, to passports, to everything in between!

This series will be refreshed every work day, so don't fall behind!

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

Important Directory Changes

Let's start off with some of the smaller changes, and then work our way up to the big additions! To begin you'll notice that your main directory structure is slightly different! A new routes folder at the top level? And what happened to the events, l...

02
قسمت 2

The Query Builder Now Returns Collections

We're still taking it slow. What kind of series would it be if we discussed the coolest additions first? Anyways...next up, we have a small, but important change to be aware of. As of 5.3, all query builder calls will return collection objects, rathe...

03
قسمت 3

The Global Cache Helper

In this episode, I'll introduce you to a funky little new cache global function (gasp!) in 5.3, written by yours truly.

04
قسمت 4

The JavaScript Suggestion

In Laravel 5.3, the framework makes a light suggestion on a practical JavaScript setup, using Vue. Have a look at your resources/assets/js folder to check it out. It's important to note, however, that this is all entirely optional. If you prefer Embe...

05
قسمت 5

Simpler Pagination

Out of the box in Laravel 5.3, pagination will still feel very similar to you. However, should you need to modify the underlying HTML, the process is now significantly easier. In fact, you'll find that the process is very similar to how it was in Lar...

06
قسمت 6

Mailables

Laravel 5.3 "mailables" are thin wrappers around the traditional syntax for sending mail. I think you'll find that they're easier to work with, and much easier on the eyes. Let me show you the essential in this episode.

07
قسمت 7

Foreach, and the Loop Object

This next addition to Laravel 5.3 is a small, but useful one. When using the foreach or forelse Blade directives, you'll now have a new $loop object available to each iteration. This will provide useful information about the loop, including the curre...

08
قسمت 8

Toggle Pivot Table Records

In Laravel 5.3, you'll find a new toggle() method on all belongsToMany relationships. This solves the issue of needing to delete a pivot table record if it exists, or adding it if it doesn't. As an example, consider needing to toggle a user's "like"...

09
قسمت 9

Notifications: Email

Notifications in Laravel 5.3 are incredible. Create a single a notification class, and then designate one or more distribution channels to use - such as email, SMS, Slack, and more. I think you'll really like this new component, so let's take a few e...

10
قسمت 10

Notifications: Database

Let's move on and review the database channel for sending notifications. With this approach, any notification you send will be stored in the database, at which point you can fetch them and display them for the user. In this episode, we'll review the...

11
قسمت 11

Send Slack Notifications With Laravel in Minutes

Let's learn how to use Laravel 5.3's Slack notification channel to notify us, the administrator, each time a payment is processed in our application. As you'll quickly see, it's all a cinch!

12
قسمت 12

Super Simple File Uploading

Admit it: you always have to do a bit of research to remind yourself how to upload files, determine the temporary folder, guess the file extension, etc. Well now, I promise: you won't forget. In Laravel 5.3, the UploadedFile instance offers a new sto...

13
قسمت 13

Laravel Passport

Want to setup an OAuth2 server with API authentication in minutes, instead of days? Well, you're in luck. Laravel Passport has your back! In this episode, Taylor Otwell, himself, stops by to show you the goods.

14
قسمت 14

Closure-Based Commands

Closure-based commands are a useful alternative to generating full Artisan command classes. You'll find that this approach is quite similar to how you do your routing (closures vs. controller classes). Want to pass a simple closure to handle a comman...

15
قسمت 15

Advanced Search With Laravel Scout

Laravel Scout is a driver-based solution for performing advanced, full text search on your Eloquent models. Out of the box, it comes with support for Algolia, which offers a fantastic service. In this episode, we'll learn how to set everything up, an...

16
قسمت 16

Advanced Search With Laravel Scout: Part 2

Now that you understand how to setup and import your Eloquent records, let's figure out how to query them. You'll find that Scout attaches a global query scope to your models, which adds a useful searchable() method. While we're reviewing this, we'll...

17
قسمت 17

Facade Fakes

In Laravel 5.3, a number of facades provide a static fake method that can be called to replace the underlying class with a minimal fake version, for the purposes of testing. A fake is a type of test double, where you create a light, barebones impleme...

18
قسمت 18

Fluent Validation Rules

Imagine that you need to define a validation rule which specifies that the provided email address must be unique on the users table, limited to the email column, where the person's active status is set to true, but excluding the current user's email...

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

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