Laravel v5.5.21 Released

Laravel v5.5.21 Released

Laravel v5.5.21 was released yesterday with a couple of new features related to configuration and testing.

As always, big thanks to Till Krüss for putting together all the release notes.

New Features

In #22022, support was added for MultiSubnetFailover, for SQL Server 2012.

AWS allows developers to customize their file URLs through DNS configuration, and now you can define a URL configuration just like the local driver:

's3' => [
    'driver' => 's3',
    'url' => '',
    'key' => env('AWS_KEY'),
    'secret' => env('AWS_SECRET'),
    'region' => env('AWS_REGION'),
    'bucket' => env('AWS_BUCKET'),

You are probably familiar with the test case method withoutMiddleware(), and now in v5.5.21 you can use the inverse withMiddleware().

For example, you might have a set of tests where you want to remove middleware for all test cases in a PHPUnit setUp() method, and want to add back a middleware in an individual test:

/** @test */
public function setUp()


/** @test */
public function some_test_case_with_middleware()

Test coverage was also added to both methods with v5.5.21.


The controller BadMethodCallException message now includes the controller name, which is helpful when debugging a missing controller method.

The output of Collection dump and dd methods was updated to have consistent output.

v5.5.21 (2017-11-14) Release Notes


  • Add support for MultiSubnetFailover parameter to SqlServer (#22022)
  • Support custom URLs for S3 (#22037)
  • Added MakesHttpRequests::withMiddleware() method (#22060)


  • Display controller name in BadMethodCallException (#22005)
  • Unify Collection::dd() and Collection::dump() output (#22036)
  • Support event generation from multiple service providers (#22063)

Filed in: News / laravel 5.5


Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Mid / Sen. Software Engineer
Clearwater, FL
Remote PHP / Laravel Developer
Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
Senior Laravel Developer
Leidseplein, Amsterdam
PHP Developer
Senior Laravel Developer (Canada and India)
London, Ontario, Canada
Factory Bucket Inc.
Laravel, PHP, PostgreSQL, Neo4J Developer
Pune, India (intern in Denver, CO)
Life AI