Slide 1

Slide 1 text

What’s New in Laravel LaravelLiveIn Meetup 2018 -- Sarthak Shrivastava @bitfumes

Slide 2

Slide 2 text

ABOUT ME • Sarthak Shrivastava • Web Developer and Instructor • Bitfumes • Youtube.com/bitfumes

Slide 3

Slide 3 text

Follow Me • Twitter @sarthaksavvy and @bitfumes • Facebook @bitfumes • Instagram @bitfumes

Slide 4

Slide 4 text

BEFORE MOVING FORWARD • Never touched Laravel • Just started Laravel • Using laravel in Production • Familiar with Laravel 5.7 new features.

Slide 5

Slide 5 text

WHY THERE IS NEW VERSION EVERY SIX MONTHS ? • New versions of other dependencies • php 7.3 has there is array_key_first and array_key_last functions • Laravel 5.5 uses php7.0.0 • Laravel 5.6 & laravel 5.7 uses php 7.1.3

Slide 6

Slide 6 text

WHY THERE IS NEW VERSION EVERY SIX MONTHS ? • Compatibility with new technologies • Like Laravel 5.6 includes Argon2 password hashing • Bootstrap 4 • Re-structured • Like routes file is moved from app/http/routes.php -> routes/web.php file

Slide 7

Slide 7 text

WHY THERE IS NEW VERSION EVERY SIX MONTHS ? • Adds functionality • Like Package Discovery in Laravel 5.5 • api controller in Laravel 5.6

Slide 8

Slide 8 text

WHY THERE IS NEW VERSION EVERY SIX MONTHS ? • Expands Ecosystem • Laravel 5.7 introduced ‘Nova’ • Laravel 5.5 introduced ‘Horizon’ • Laravel 5.3 Introduced ‘Laravel Passport and Laravel Scout’

Slide 9

Slide 9 text

WHY WE SHOULD CARE ABOUT NEW FEATURES • Always reduce your work • Allow your project to follow new trends • Better productivity • Better coding experience • More flexibility

Slide 10

Slide 10 text

Major new features everyone should care • Email Verification • Symfony dump server • Notification Localization • Console Testing

Slide 11

Slide 11 text

Email Verification • Just two steps to make it work • - Implements an Interface • - Add verify route • Middleware : verified

Slide 12

Slide 12 text

Awesome VS-Code Extensions • Colonize • Laravel Docs • Laravel Blade Spacer • Bracket Pair Colorizer • DOTEnv

Slide 13

Slide 13 text

Symphony dump server • This is a package by Marcel Pociot. • Allow you to get all dump or dd will be displayed on your dump- server console.

Slide 14

Slide 14 text

Command Alias • alias pa = “php artisan” • alias cp=“composer” • alias cpd = “composer dump-autoload” • alias cpu = “composer update” • alias n=“npm” • To create windows alias check this link https://www.youtube.com/watch?v=WY3iNy0cP0c

Slide 15

Slide 15 text

Notification Localization • Allow you to send notification in any language you define • Regardless of your app language

Slide 16

Slide 16 text

Eloquent Magic • Where 2 times • Filter for More Power • Clean your code

Slide 17

Slide 17 text

Console Testing • Test your custom artisan command. • Assert questions and answers

Slide 18

Slide 18 text

No content