Laravel Version 9.2 Released — What All Are New?

A Brief on Laravel

The Shift in Laravel Version Releases

Laravel 9.2

1. Attribute Make Method

2. Array keyBy Method

3. Expects Output to Contain Test Assertion

4. When using Mail::alwaysTo, include X headers

5. Laravel CORS Integration into the Framework

6. String “Between First” Method

7. Allow a Custom Message to be Specified for Rule Objects

New Additions in Laravel 9.2

  • Added Illuminate/Database/Eloquent/Casts/Attribute::make() (#41014)
  • Added Illuminate/Collections/Arr::keyBy() (#41029)
  • Added expectsOutputToContain to the PendingCommand. (#40984)
  • Added ability to supply HTTP client methods with JsonSerializable instances (#41055)
  • Added Illuminate/Filesystem/AwsS3V3Adapter::getClinet() (#41079)
  • Added Support for enum in Builder::whereRelation (#41091)
  • Added X headers when using Mail::alwaysTo (#41101)
  • Added of support Bitwise operators in query (#41112)
  • Integrate Laravel CORS into framework (#41137)
  • Added Illuminate/Support/Str::betweenFirst() (#41144)
  • Allow specifiying custom messages for Rule objects (#41145)

Benefits of Using Laravel

  • The Laravel framework makes the web application more scalable
  • Since Laravel development reuses components from various frameworks in developing web applications, significant time is saved in designing the web application
  • It comprises namespaces and interfaces, which aid in resource organization and management

Wrapping Up



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store