www.techtic.com | info@techtic.com
Laravel 6.5 – What’s New in it?
www.techtic.com | info@techtic.com
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.
Laravel 6.5
www.techtic.com | info@techtic.com
1 - LazyCollection::remember() method which remembers any
enumerated values and will not pull them from source when
enumerated again.
Example:
Laravel 6.5
www.techtic.com | info@techtic.com
2 - two new Str methods were added: afterLast() and beforeLast():
Example:
Laravel 6.5
www.techtic.com | info@techtic.com
3 - the query builder now has existsOr and doesntExistOr methods,
which allow you to define a callback when the condition is false:
Example:
Laravel 6.5
www.techtic.com | info@techtic.com
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:
Laravel 6.5
www.techtic.com | info@techtic.com
Now you can additionally use the “unless” variant of this condition
to avoid weird if/else scenarios:
Example:
Laravel 6.5
www.techtic.com | info@techtic.com
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.
About Techtic Solutions
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
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

Laravel 6.5 – What’s New in it?

  • 1.
    www.techtic.com | info@techtic.com Laravel6.5 – What’s New in it?
  • 2.
    www.techtic.com | info@techtic.com TheLaravel 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. Laravel 6.5
  • 3.
    www.techtic.com | info@techtic.com 1- LazyCollection::remember() method which remembers any enumerated values and will not pull them from source when enumerated again. Example: Laravel 6.5
  • 4.
    www.techtic.com | info@techtic.com 2- two new Str methods were added: afterLast() and beforeLast(): Example: Laravel 6.5
  • 5.
    www.techtic.com | info@techtic.com 3- the query builder now has existsOr and doesntExistOr methods, which allow you to define a callback when the condition is false: Example: Laravel 6.5
  • 6.
    www.techtic.com | info@techtic.com 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: Laravel 6.5
  • 7.
    www.techtic.com | info@techtic.com Nowyou can additionally use the “unless” variant of this condition to avoid weird if/else scenarios: Example: Laravel 6.5
  • 8.
    www.techtic.com | info@techtic.com TechticSolutions, 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. About Techtic Solutions 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
  • 9.
    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