Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's New In Laravel ?

What's New In Laravel ?

Enhance your workflow with new laravel ecosystem to have better productivity, clean readable code and work like a professional

BE READY to know more as Your CODE represent your KNOWLEDGE

Sarthak Shrivastava

September 16, 2018
Tweet

More Decks by Sarthak Shrivastava

Other Decks in Programming

Transcript

  1. BEFORE MOVING FORWARD • Never touched Laravel • Just started

    Laravel • Using laravel in Production • Familiar with Laravel 5.7 new features.
  2. 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
  3. 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
  4. WHY THERE IS NEW VERSION EVERY SIX MONTHS ? •

    Adds functionality • Like Package Discovery in Laravel 5.5 • api controller in Laravel 5.6
  5. 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’
  6. 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
  7. Major new features everyone should care • Email Verification •

    Symfony dump server • Notification Localization • Console Testing
  8. Email Verification • Just two steps to make it work

    • - Implements an Interface • - Add verify route • Middleware : verified
  9. Awesome VS-Code Extensions • Colonize • Laravel Docs • Laravel

    Blade Spacer • Bracket Pair Colorizer • DOTEnv
  10. 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.
  11. 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
  12. Notification Localization • Allow you to send notification in any

    language you define • Regardless of your app language