Add mail driver to the wizard

This commit is contained in:
Joseph Cohen
2016-05-28 10:37:45 -05:00
committed by James Brooks
parent 04215fc37a
commit ca3f516457
3 changed files with 29 additions and 0 deletions

View File

@@ -41,6 +41,21 @@ class SetupController extends Controller
'memcached' => 'Memcached',
'redis' => 'Redis',
];
/**
* Array of cache drivers.
*
* @var string[]
*/
protected $mailDrivers = [
'log' => 'Log (Testing)',
'smtp' => 'SMTP',
'mail' => 'Mail',
'sendmail' => 'Sendmail',
'mailgun' => 'Mailgun',
'mandrill' => 'Mandrill',
'ses' => 'Amazon SES',
'sparkpost' => 'SparkPost',
];
/**
* Array of step1 rules.
@@ -112,6 +127,7 @@ class SetupController extends Controller
return View::make('setup')
->withPageTitle(trans('setup.setup'))
->withCacheDrivers($this->cacheDrivers)
->withMailDrivers($this->mailDrivers)
->withUserLanguage($userLanguage)
->withAppUrl(Request::root());
}