mortimer/i18n-helpers

Laravel package providing translation helpers for objects like exceptions, eloquent models and attributes

dev-master 2023-01-10 15:43 UTC

This package is auto-updated.

Last update: 2024-04-10 18:34:58 UTC


README

Laravel package providing translations and localizations helpers.

Copyright (C) 2023 Pascal Hurni <https://github.com/phurni>

Licensed under the MIT License.

Installation

Add the package to your composer file:

composer require mortimer/i18n-helpers

You may import examples of translation files in your app with:

artisan vendor:publish --provider='Mortimer\I18nHelpers\ServiceProvider'

Helpers

trans_exception

trans_model

Carbon macro l