1. Go to this page and download the library: Download hydrarulz/phrase-app-export library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
return [
'locales' => [
'project_id' => '', // Get the project id from Phrase App
'languages' => [
'en' => '', // Get the locale id for this language from Phrase App
'ro' => '', // You can specify multiple languages
],
'format' => 'laravel',
'file_name' => 'messages.php', // This will create a filename (i.e /resources/lang/en/messages.php)
]
];