Download the PHP package tolgee/core without Composer
On this page you can find all versions of the php package tolgee/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor tolgee
Package core
Short Description PHP integration for Tolgee localization framework
License MIT
Package core
Short Description PHP integration for Tolgee localization framework
License MIT
Please rate this library. Is it a good library?
Informations about the package core
Tolgee PHP Integration
PHP integration library for Tolgee localization toolkit. For more information about Tolgee Toolkit, visit our documentation website toolkit.tolgee.io.
Installation
composer require tolgee
Usage
To use Tolgee with PHP, start with creating TolgeeConfig class instance and Tolgee class instance.
<?php
use Tolgee\Core\Enums\Modes;
use Tolgee\Core\Tolgee;
use Tolgee\Core\TolgeeConfig;
$config = new TolgeeConfig();
$config->apiKey = "your api key"
$config->apiUrl = "your api url"
$config->mode = Modes::DEVELOPMENT;
$tolgee = new Tolgee($config);
Then you can simply use Tolgee to translate strings:
$tolgee->translate("hello_world");
To learn more, check our docs.
All versions of core with dependencies
PHP Build Version
Package Version
The package tolgee/core contains the following files
Loading the files please wait ....