nahid940 / language
There is no license information available for the latest version (1.0) of this package.
A library to manage bangla and english language in any php based project
1.0
2020-02-28 17:05 UTC
This package is auto-updated.
Last update: 2025-05-29 01:25:13 UTC
README
A simple light weight PHP library for converting language into English to Bangla or Bangla To English
Requirements
- PHP Version 5.5+
- Composer installed in your Computer
Installation
Rum the Command
composer require nahid940/language
autoload the file in your php file
require 'vendor/autoload.php'
instantiate The object of Language Class
use Language\Language; $lng=new Language(); echo $lng->getLanguage('bn',2); echo $lng->getLanguage('en',2);
- You will get the output 'বয়স'
- You will get the output 'Age'
Now You can manage the json file according to your need in the folder vendor/nahid940/json_files.