ScalableCode
  • Home

Testing

A collection of 1 post
Testing Laravel apps with multiple domains
Laravel

Testing Laravel apps with multiple domains

When testing Laravel applications that use multiple domains tests get tricky. Imagine an application with the following structure: * API: api.domain.com * Backend: manage.domain.com * Client domains: client1domain.com,client2domain.com, etc.. Route::domain(config('app.domains.api'))->group(function() { Route::get('/', 'Api\ApiIndexController@index')->
Dec 10, 2022 1 min read
ScalableCode © 2025
  • Twitter
Powered by Ghost