Since version 12.0open in new window, the publisher does not include the mandatory installation of the laravel-lang/langopen in new window package. This is done for the convenience of developing plugins for the publisher. For example, laravel‑lang/http‑statusesopen in new window.

You can find a list of available plugins here.

To get the latest version of Laravel Lang Publisher, simply require the project using Composeropen in new window:

composer require laravel-lang/publisher laravel-lang/lang laravel-lang/attributes --dev

Or manually update require-dev block of composer.json and run composer update.

    "require-dev": {
        "laravel-lang/attributes": "^2.0",
        "laravel-lang/lang": "^12.0",
        "laravel-lang/publisher": "^14.0"

Next, you can also publish the config file to change implementations (ie. interface to specific class):

php artisan vendor:publish --provider="LaravelLang\Publisher\ServiceProvider"


To upgrade from previous versions, visit the Upgrade page.