Installation
Since version
12.0
, the publisher does not include the mandatory installation of thelaravel-lang/lang
package. This is done for the convenience of developing plugins for the publisher. For example,laravel‑lang/http‑statuses
.You can find a list of available plugins here.
To get the latest version of Laravel Lang Publisher
, simply require the project using Composer:
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"
Upgrade
To upgrade from previous versions, visit the Upgrade page.