one23 / laravel-translation-yaml
Support YAML in Laravel translation files
v0.1.4
2025-03-03 09:29 UTC
Requires
- php: ^8.0|^8.1|^8.2|^8.3|^8.4
- ext-mbstring: *
- ext-yaml: *
- illuminate/translation: ^v9|^v10|^v11|^v12
Requires (Dev)
- laravel/pint: ^v1
- phpstan/phpstan: ^1|^2
This package is auto-updated.
Last update: 2025-03-03 09:29:49 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.