Skip to content

Latest commit

 

History

History
91 lines (64 loc) · 2.89 KB

README.md

File metadata and controls

91 lines (64 loc) · 2.89 KB

This is my package linguist

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A package to help you download your language files from Linguist.

linguist-package-header

Installation

You can install the package via composer:

composer require hyperlinkgroup/linguist

You can publish the config file with:

php artisan vendor:publish --tag="linguist-config"

This is the contents of the published config file:

return [
	/*
	 |--------------------------------------------------------------------------
	 | Linguist API URL
	 |--------------------------------------------------------------------------
	 */
	'url' => env('LINGUIST_URL', 'https://api.linguist.eu/'),

	/*
	 |--------------------------------------------------------------------------
	 | Linguist Project Slug
	 |--------------------------------------------------------------------------
	 */
	'project' => env('LINGUIST_PROJECT', ''),

	/*
	 |--------------------------------------------------------------------------
	 | Linguist API Token
	 |--------------------------------------------------------------------------
	 */
	'token' => env('LINGUIST_TOKEN', ''),

	/*
	 |--------------------------------------------------------------------------
	 | Temporary Directory for Translations while processing
	 |--------------------------------------------------------------------------
	 */
	'temporary_directory' => 'tmp/translations',
];

Usage

\Hyperlinkgroup\Linguist\Linguist::handle();

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.