Laravel 6.5 – What’s New in it?

Page 1

Laravel 6.5 – What’s New in it?

www.techtic.com | info@techtic.com


Laravel 6.5

The Laravel team released Laravel version 6.5 this week with a new remember function added to the LazyCollection. Also, this release includes a few new string helpers, custom unless blade conditions, and a few new query builder methods.

www.techtic.com | info@techtic.com


Laravel 6.5 1 - LazyCollection::remember() method which remembers any enumerated values and will not pull them from source when enumerated again. Example:

www.techtic.com | info@techtic.com


Laravel 6.5 2 - two new Str methods were added: afterLast() and beforeLast(): Example:

www.techtic.com | info@techtic.com


Laravel 6.5 3 - the query builder now has existsOr and doesntExistOr methods, which allow you to define a callback when the condition is false:

Example:

www.techtic.com | info@techtic.com


Laravel 6.5 4 - new unless conditions are added to custom Blade if directives. For example, a custom env example from the Blade documentation allows you to use this syntax in Blade: Example:

www.techtic.com | info@techtic.com


Laravel 6.5 Now you can additionally use the “unless� variant of this condition to avoid weird if/else scenarios:

Example:

www.techtic.com | info@techtic.com


About Techtic Solutions Techtic Solutions, Inc. is one of the most trusted Laravel development company with 10+ years of web development experience. Our team of experienced Laravel developers are adept at building simple to the most complex website apps seamlessly using Laravel PHP frameworks. Our clients swear by the codes we write – they are simple, expressive and scalable. We help build sophisticated websites that help maximize ROI for your business. Get in touch if you are looking to hire Certified Laravel developers to deliver, secure, high performance and faster web applications.

Our Services: Custom Laravel Web Development Laravel CMS development Laravel Application Development Laravel Ecommerce Development Laravel Enterprise Solution

Laravel Customization Laravel Theme/Template Design Laravel Plugin Development Laravel REST API Development Laravel Support & Maintenance

www.techtic.com | info@techtic.com


Contact Us Visit us: https://www.techtic.com Email: info@techtic.com Phone: +1 201.793.8324

Source by - https://laravel-news.com/laravel-6-5


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.