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 31,000+ others and never miss out on new tips, tutorials, and more.
- Senior Fullstack Developer / Architect (w/m/d)
Remote / Munich - Germany
- Medior full stack developer (Laravel)
Deventer (or remote) in the Netherlands, Dutch speaking required.
- Senior Full Stack PHP Developer (Laravel)
- Senior Laravel Developer
- Senior Full-Stack Engineer
[REMOTE: USA Only]
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…