Laravel 5.5.25 was released Monday with Flysystem caching support,
year database data type, and support for setting the Whoops editor.
Flysystem caching addition adds support for caching without the need for a custom filesystem configuration.
The following will add per-request caching:
's3' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), 'cache' => true, ],
If you want to use a cache store, you can use any cache defined in
config/cache.php by referencing its name:
's3' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), 'cache' => [ 'store' => 'redis', 'expire' => 300, 'prefix' => 'custom-cache-key-prefix', ] ],
The prefix is optional and will fall back to whatever is set in
yeardata type is available with a polyfill using an integer type for databases that don’t support the
year data type.
The last addition optionally sets the editor that will open files with the Whoops package by setting the
app.debug_editor in the
config/app.php file. For example, you can configure Whoops to open files in the stack trace with VS Code or Sublime.
- Added support for Flysystem caching (#22310, 0657496)
- Added support for
yeardata type (#22377)
- Added support for setting Whoops debug editor (#22350, c6e3a73)
- Fixed SQS queue driver for PHP 7.2 (#22374)
- Backend Software Engineer (PHP Developer)
Austin TX, Bonita Springs FL
Certified eSupport Corp
- Laravel Developer
Glendale, CA (COVID Remote)
- Full-Stack Engineer (Mid to Senior)
Remote (EST, CST)
- Senior Laravel Developer (AI Applications)
Remote from anywhere in the UK or from our London office
- Full Stack Engineer
Join 31,000+ others and never miss out on new tips, tutorials, and more.
New Blade Directives Coming to Laravel 5.6
Laravel 5.6 will include two new form blade directives for cross-site request forgery (CSRF) and HTTP method input. L…
Laracon Online 2018 Early Bird Registration Reminder
As the year comes to a close, remember that for the next 23 days, you can still tickets to Laracon Online 2018 for ha…