PHPackages                             hydrarulz/phrase-app-export - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. hydrarulz/phrase-app-export

ActiveLibrary[CLI &amp; Console](/categories/cli)

hydrarulz/phrase-app-export
===========================

Command line to export the Phrase App locales

v0.4(9y ago)11.8k1PHP

Since Sep 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hydrarulz/phrase-app-export)[ Packagist](https://packagist.org/packages/hydrarulz/phrase-app-export)[ RSS](/packages/hydrarulz-phrase-app-export/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

An easy way to download PhraseApp language files for Laravel
============================================================

[](#an-easy-way-to-download-phraseapp-language-files-for-laravel)

This Laravel package uses the API that PhraseApp provides to download the Laravel export format.

After you install it just run

```
php artisan phraseapp:download
```

And you will see output similar to this

```
Downloading language id abcdefghijklmnopqrtstuv123456789 for project id abcdefghijklmnopqrtstuv123456789
Done 74833 bytes

```

Installation
------------

[](#installation)

First add the package to your Laravel app

```
composer require hydrarulz/phrase-app-export
```

You need to register the service provider. Add this line to your `config/app.php` **providers** array

```
'providers' => [
    // ...
    Hydrarulz\PhraseAppExport\PhraseAppExportProvider::class,
];
```

Next you need to publish the config file

```
php artisan vendor:publish --provider="Hydrarulz\PhraseAppExport\PhraseAppExportProvider"
```

A new file was published in your config directory; now edit the file `/config/phrase-app-export.php`

```
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)
    ]
];
```

Get the **project\_id** and **language\['en'\]** id from your PhraseApp account. Feel free to add more languages or use only those that you need.

The default language file has 2 languages specified, just add others next to these ones.

After all was set you can just run

```
php artisan phraseapp:download
```

Once you have everything setup you can use the `trans()` function provided by Blade to display the proper translation for the key.

If you get an error like

```
Client error: `GET https://api.phraseapp.com/api/v2/projects//locales//download` resulted in a `404 Not Found` response

```

It means you did not change the config file.

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

3622d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/821891ad8c670c11dbc2352cb507bdabd9f8e1dc5915ff4cc80d64e6a7bda2bd?d=identicon)[hydrarulz](/maintainers/hydrarulz)

---

Tags

laravelexportimportphraseappphrase-app

### Embed Badge

![Health badge](/badges/hydrarulz-phrase-app-export/health.svg)

```
[![Health](https://phpackages.com/badges/hydrarulz-phrase-app-export/health.svg)](https://phpackages.com/packages/hydrarulz-phrase-app-export)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.3k](/packages/laravel-framework)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k52](/packages/neuron-core-neuron-ai)[unopim/unopim

UnoPim Laravel PIM

10.8k2.5k](/packages/unopim-unopim)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
