Download the PHP package jsnlib/translg without Composer

On this page you can find all versions of the php package jsnlib/translg. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package translg

Codeigniter (CI) 簡單轉換多國語言

輕易的把語言切換,改成物件的寫法。直覺又好懂!

使用 compsoer 安裝

composer.json ` 這會依賴相關套件 Jsnlib,並自動下載。

使用傳統安裝

下載解壓縮後,依照 Codeigniter 原則,放到你的 libraries,並在程式碼中直接引入。 因為依賴套件 Jsnlib\Ao.php,若使用 Composer 下載的話會會自動下載關聯,但在傳統安裝需要自行前往 https://github.com/fdjkgh580/jsnlib 解壓縮,將 Ao\ 複製到 libraries\。 ``

Composer 自動加載

``

使用方法

這裡介紹 PHP傳統方式。若在 CI 的控制器(Controller)中,您可依照 CI 風格做修改。 ``

沒錯,你只要切換『第二個連接參數』為你的語言名稱即可。 實際專案時可能會這樣 ``

Codeigniter 的多國語言

可以參考官方 libraries/language 的說明  

http://www.codeigniter.com/user_guide/libraries/language.html

--

從安裝到使用,一切都這麼輕巧簡單,快樂用它吧!

Download


All versions of translg with dependencies

PHP Build Version
Package Version
Requires php Version >=5.2.4
jsnlib/jsnlib Version >=2.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jsnlib/translg contains the following files

Loading the files please wait ....