A package to help you download your language files from Linguist — A better way to manage you language files.
You can install the package via composer:
composer require hyperlinkgroup/linguistYou can publish the config file with:
php artisan vendor:publish --tag="linguist-config"This is the contents of the published config file:
return [
/*
|--------------------------------------------------------------------------
| Linguist API URL
|--------------------------------------------------------------------------
*/
'url' => env('LINGUIST_URL', 'https://api.linguist.eu/'),
/*
|--------------------------------------------------------------------------
| Linguist Project Slug
|--------------------------------------------------------------------------
*/
'project' => env('LINGUIST_PROJECT', ''),
/*
|--------------------------------------------------------------------------
| Linguist API Token
|--------------------------------------------------------------------------
*/
'token' => env('LINGUIST_TOKEN', ''),
/*
|--------------------------------------------------------------------------
| Temporary Directory for Translations while processing
|--------------------------------------------------------------------------
*/
'temporary_directory' => 'tmp/translations',
];\Hyperlinkgroup\Linguist\Linguist::handle();composer testThe MIT License (MIT). Please see License File for more information.
