one23/laravel-translation-yaml

Support YAML in Laravel translation files

v0.1.3 2024-04-15 11:05 UTC

This package is auto-updated.

Last update: 2024-05-15 11:15:36 UTC


README

Add Yaml file support for Laravel TranslationServiceProvider

Install

Via Composer

$ composer require one23/laravel-translation-yaml

Replace default TranslationServiceProvider to \One23\LaravelTranslationYaml\TranslationServiceProvider in config/app.php

...
'providers' => ServiceProvider::defaultProviders()
    ->replace([
        \Illuminate\Translation\TranslationServiceProvider::class => One23\LaravelTranslationYaml\TranslationServiceProvider::class
    ])
...

Security

If you discover any security related issues, please email eugene@krivoruchko.info instead of using the issue tracker.

License

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