Download the PHP package benfiratkaya/translator without Composer
On this page you can find all versions of the php package benfiratkaya/translator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download benfiratkaya/translator
More information about benfiratkaya/translator
Files in benfiratkaya/translator
Package translator
Short Description Translator class for based PHP systems.
License MIT
Homepage https://github.com/benfiratkaya/Translator
Informations about the package translator
Translator
Translator class for based PHP (>= 5.4) systems.
About the Project
What is this?
It is a PHP class that provides multi-language system service to your website.
Features:
- Translate text with variable
- Supported types: PHP, PHP (SQL), JSON, INI
- Translate SQL querys
- Tiny files and best performance
- Simple usage
- Short functions
Supported Types
Type | Support | Example |
---|---|---|
PHP | :heavy_check_mark: | Click |
PHP (SQL) | :heavy_check_mark: | Click |
JSON | :heavy_check_mark: | Click |
INI | :heavy_check_mark: | Click |
Installation & Loading
Composer (recomended):
Installation
Loading
Github:
If you don't use composer in your project you can include files.
Usage
Language File:
Supported Types: PHP, PHP (SQL), JSON, INI
PHP (es_ES.php)
PHP (SQL) (es_ES.php)
JSON (es_ES.json)
INI (es_ES.ini)
Exception:
Translate:
Text
Text With Variable
Other Functions
For more information, please refer to the Wiki
Useful Links
Wiki: https://github.com/benfiratkaya/Translator/wiki
Changelog: https://github.com/benfiratkaya/Translator/blob/master/CHANGELOG.md
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Firat Kaya - [email protected]
Project Link: https://github.com/benfiratkaya/Translator