Configuration
composer require langsys/langsys-php-laravel See config/langsys.php: credentials (LANGSYS_API_KEY, LANGSYS_PROJECT_ID, LANGSYS_API_URL), catalog cache (Laravel store/prefix/TTL), locale-detection sources and persistence, and auto_flush.
Testing your app
Section titled “Testing your app”Bind a fake client so tests never hit the API:
$this->app->instance(\Langsys\SDK\Client::class, $yourFakeClient);This package’s own suite shows a complete FakeClient pattern in tests/Fakes/FakeClient.php. Tests are excluded from the released archive, so read it in the repository rather than under vendor/.