Laravel 5.7.18 Released


December 19th, 2018


Laravel 5.7.18 is available with the latest updates to the Laravel framework v5.7.

First, the framework now replaces all placeholders for the starts_with validation rule introduced in Laravel 5.7.15.

A new Facade::resolved() method registers callbacks that are called after service resolution. Here’s an example provided in the pull request:

2 * Register the token guard.
3 *
4 * @return void
5 */
6protected function registerGuard()
8 Auth::resolved(function ($auth) {
9 $auth->extend('passport', function ($app, $name, array $config) {
10 return tap($this->makeGuard($config), function ($guard) {
11 $this->app->refresh('request', $guard, 'setRequest');
12 });
13 });
14 });

The last new feature is an env variable APP_CONFIG_CACHE to control the cache config path.

You can see the full list of fixes below, and the full diff between 5.7.17 and 5.7.18 on GitHub. The full release notes for Laravel 5.7 are available in the GitHub 5.7 changelog:



  • Added missing starts_with validation message (#26822)
  • Added Facade::resolved() method to register pending callback until the service is available. (#26824)
  • Added env var APP_CONFIG_CACHE to control cache config path (578bc83)


  • Changed TransportManager::createMailDriver (#26846)


Filed in:

Paul Redmond

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.

Laravel News Partners