Git Product home page Git Product logo

lmphp's Introduction

LM PHP (Language management PHP)

Multi Language PHP

Multi-language management and support on the php (web).

LMPHP Features

  • Easy
  • Compact
  • Useful

LM-PHP Functions

word_add

Add a word to active language.

Return : Bool

Parameters :

  • $name(name of the word)
  • Optional, $value(value of the word)

word_get

Get a word from active language.

Return : The value of word.

Parameters :

  • $name(name of the word)

word_add_to

Add a word to custom language.

Return : Bool

Parameters :

  • $lang(language name)
  • $name(name of the word)
  • Optional, $value(value of the word)

language_add

Add a new language.

Return : Bool

Parameters :

  • $key(language name)

language_remove

Remove a language.

Return : Bool

Parameters :

  • $key(language name)

language_active

Activate a language.

Return : Bool

Parameters :

  • $key(language name)

language_current

Get current active language.

Return : Name of the active language.

Parameters : None

language_exists

Check a language is exists or not.

Return : Bool

Parameters :

  • $key (language name)

language

Get list of the languages or list of the words of a language.

Return : Array

Parameters :

  • Optional, $filter(language name)

Introduction

This library is simple and lightweight and can be used for language management. It called LM-PHP(LMPHP).

This project started to be used for personal use. At the very beginning, the project was used in the infrastructure of the servers of a project in India. To be able to manage language and vocabulary more easily. (International projects)

With my decision, this project was put up for free.

History

  • Version 0.1 (first) : 2018 - 2018-12-01
  • Version 1.0 : 2018-12-01 - 2019-01-22
  • Version 1.1 : 2019-01-22

License

LMPHP is licensed under the GNU General Public License.

lmphp's People

Contributors

basemax avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.