The Laravel team released Laravel 5.8.19 with the latest framework additions, fixes, and a notable performance improvement which affects doing large bulk inserts with Eloquent.
First, a performance improvement was made that improves the speed of doing large bulk insertions on thousands of items. The underlying change was made to
Arr::flatten() to avoid
array_merge–you can review the Pull Request #28614 for more specifics on what was changed.
isProduction() method was added to the Application class to see if the environment matches the value “production.” If you are using
prd you will need to use something like:
Next, an optional
DYNAMODB_ENDPOINT configuration option was added. The new environment variable enables the ability to use a local version of DynamoDB for local development and testing.
Last, parsing a Redis configuration URL is possible with the
url configuration option—which overrides the other configuration values when defined:
[ // Coming directly from Heroku documentation 'url' => 'redis://h:email@example.com:111', 'host' => '127.0.0.1', // ... ]
Various databases are configurable via URLs now thanks to contributions from Mathieu TUDISCO. For more details on how to configure databases with the
url key check out the Database configuration documentation.
- Added optional
DYNAMODB_ENDPOINTenv variable to configure endpoint for DynamoDB (#28600)
- Allowed exception reporting in
rescue()to be disabled (#28617)
- Allowed to parse Url in Redis configuration (#28612, f4cfb32)
- Allowed setting additional (
localdomain) smtp config options (#28631, 435c05b)
- Fixed Eloquent UPDATE queries with alias (#28607)
event:listcommand, when using a combination of manually registering events and event auto discovering (#28624)
- Improve performance for
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Laravel Developer
San Jose, CA
- Lead Front End Developer
- Full-Stack Laravel Developer
- Intermediate PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
- Senior PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
- Laravel Developer
Amsterdam (partially remote possible)
- Web Developer (Laravel)
Tweed Heads, New South Wales, AUSTRALIA
Tursa Employment & Training
Subscription billing with Laravel Cashier for Mollie
Laravel Cashier for Mollie is a first-party Cashier package—created and maintained by Sander van Hooft—which provides…
Laravel Actions Package
Laravel Actions is a package which introduces a new way of organizing the logic of your Laravel applications by focus…