marko / translation-file
File-based translation driver for Marko Framework
Package info
github.com/marko-php/marko-translation-file
Type:marko-module
pkg:composer/marko/translation-file
0.0.1
2026-03-25 17:53 UTC
Requires
- php: ^8.5
- marko/config: 0.0.1
- marko/core: 0.0.1
- marko/translation: 0.0.1
Requires (Dev)
- pestphp/pest: ^4.0
This package is auto-updated.
Last update: 2026-03-25 21:07:20 UTC
README
File-based translation loader--reads translation arrays from PHP files organized by locale and group.
Installation
composer require marko/translation-file
This package provides the file-based implementation for marko/translation.
Quick Example
// lang/en/messages.php return [ 'welcome' => 'Welcome to our site!', 'hello' => 'Hello, :name!', ];
Documentation
Full usage, API reference, and examples: marko/translation-file