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 3w 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 52% 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

3577d 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

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[jeroen-g/laravel-packager

A cli tool for creating Laravel packages.

1.4k724.0k18](/packages/jeroen-g-laravel-packager)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[firefly-iii/data-importer

Firefly III Data Import Tool.

8005.8k](/packages/firefly-iii-data-importer)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[whatsdiff/whatsdiff

See what's changed in your project's dependencies

771.1k](/packages/whatsdiff-whatsdiff)

PHPackages © 2026

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