nahid940 / language
A library to manage bangla and english language in any php based project
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/nahid940/language
This package is auto-updated.
Last update: 2025-11-29 02:44: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.