QRCode tutorial   19   correct qrcode update error Laravel 5.6 full project course
Channel: Braintemple Tutorial TV
Date: 13/06/2018

➢ SUBSCRIBE to this channel if you haven't
➢ FULL COURSE ON UDEMY: https://www.udemy.com/course/1741512
➢ STARTER FILES: https://github.com/daveozoalor/laravel-qrcode-ecommerce


If you feel helped, please donate to my bitcoin: 3GtaocE8UUd9kFUn5fyXLGYuRtF9CSBhjf 

IMPORTANT LINKS:

ASK any questions about this video and any other business and get support by posting your question at davepartner.com 

Donate to help us make more videos:
https://www.patreon.com/user?u=3137001&ty=h&u=3137001

Follow me on social media:
Instagram: http://Instagram.com/daveozoalor
Youtube: http://youtube.com/c/braintemorg (subscribe if you haven't)
Facebook: http://facebook.com/daveozoalor
Twitter: http://twitter.com/daveozoalor
Twitter 2: http://twitter.com/braintem

Learn Bootstrap 4 in 30 minutes by building a landing page website

Laravel has come a long way becoming better with each new release. During the recent Laracon Online, Taylor Otwell announced the official release of Laravel 5.6. Unlike Laravel 5.5 which required PHP = 7.0.0, this new version will require PHP = 7.1.3.

Without further ado, let's see what this new version of Laravel has to offer:

# Two New Blade Directives
Laravel 5.6 will include two new form blade directives for cross-site request forgery (CSRF) and HTTP method input.

Table of Contents
 Two New Blade Directives
 The Artisan Optimize Command Has Been Removed
 Eloquent Date Casting
 Argon2i Password Hashing Algorithm Support
 Collision Package for CLI Error Reporting
 Bootstrap 4
 Single Server Scheduling
 Logging Improvements
 Broadcast Channel Classes
 Conclusion
In previous Laravel versions, we had to do this at the top of forms to create hidden inputs for the CSRF token and the spoofed HTTP method:

form
  {{ csrf_field() }}
  {{ method_field('PUT') }}
  !-- ... --
/form
With the new release, it's now possible to do this instead:

form
    @method('put')
    @csrf
    !-- ... --
/form
Note: HTML forms can’t make PUT, PATCH, or DELETE requests you need to add a hidden method input to spoof these HTTP verbs. Laravel uses the method input to route the request to the appropriate controller action correctly.

I find these directives looking neater and easier to remember. However, the old helper functions are still available for use if that's what you prefer.

# The Artisan Optimize Command Has Been Removed
The Artisan optimize command was deprecated as of 5.5 and has been removed officially from 5.6. Quoting Laravel 5.5's upgrade guide:

With recent improvements to PHP op-code caching, the optimize Artisan command is no longer needed. You should remove any references to this command from your deployment scripts as it will be removed in a future release of Laravel.

In the case you want to upgrade to this new version, be sure to remove the command from your composer.json post-install-cmd and post-update-cmd scripts.