Looking to hire Laravel developers? Try LaraJobs

laravel-translation-yaml maintained by one23

Description
Support YAML in Laravel translation files
Last update
2026/03/23 15:26 (dev-master)
License
Downloads
39

Comments
comments powered by Disqus

YAML support into Laravel Translation

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.