Download the PHP package xdroidteam/translation without Composer

On this page you can find all versions of the php package xdroidteam/translation. 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 translation

Laravel DB Translation

MIT licensed

Change the standard Laravel file-based translation to DB based.

Key features

  1. Easy GUI for modifying translations
  2. The new keys will be automatically added to the DB
  3. It can easily import lang files to the DB
  4. Translation is stored in the cache, and editing it automatically refreshes the cache from DB. We use cache tags, so regular file or database cache drivers doesn't work, please use memcached instead.
  5. It is now showing the missing tranlations fields for each language and group. Also you can toogle views between "Show only missing translations" and "Show all translations".
  6. Now you can export database to .CSV. Screenshot

Installation

Below laravel 6.x use version 1.5.x, for Laravel/Lumen 6.x, 7.x use version 2.x

Require this package in your composer.json and run composer update:

"xdroidteam/translation": "1.5.*"

or run

directly.


After updating composer, add the ServiceProvider to the providers array in config/app.php


Deploy migration and config file.

You need to run the migrations for this package.


Add following line to your .env file:


Import existing language files to DB:

or import with override existing records:


Routes are added in the ServiceProvider, available at http://yourdomain.com/translations

You can change the route prefix in the deployed config file config/xdroidteam-translation.php. Also you can modify the middleware or exclude translation groups (excluded groups will not appear on the GUI). See the example below.

You can use other Translation model, to overwrite methods. For example:

Export

You can export your db to a .CSV file, with call this function:


All versions of translation with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.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 xdroidteam/translation contains the following files

Loading the files please wait ....