settings->wildcard_domain = 'wildcard.example.com'; $first_project->settings->save(); } }