- Replace
<your_namespace>
with your package namespace. - Replace
your/namespace
in thecomposer.json
file to your namespace. - Replace
YourNamespace\Translations
with your PSR package namespace. - Replace
Extended Lang Translations Template
with your package title. - Update tests.
- Remove this block.
To get the latest version of Extended Lang Translations Template
library, simply require the project using Composer:
$ composer require <your_namespace> --dev
Instead, you may of course manually update your require
block and run composer update
if you so choose:
{
"require": {
"<your_namespace>": "^1.0"
}
}
To install files from this repository into your project, you need to install the andrey-helldar/laravel-lang-publisher
version ^10.1
and above and specify the namespace of this project in its configuration.
For example:
// config/lang-publisher.php
<?php
return [
// ...
/*
* Determines from which packages to synchronize localization files.
*/
'plugins' => [
\YourNamespace\Translations\Provider::class,
],
];