Download the PHP package vemcogroup/laravel-translation without Composer

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

Laravel Translation

Latest Version on Packagist Total Downloads

Description

This package allows you to scan your app for translations and create your *.json file.

It also allows you to upload your base translation to poeditor.

Installation

You can install the package via composer:

The package will automatically register its service provider.

To publish the config file to config/translation.php run:

This is the default contents of the configuration:

If you want to use upload / download to poeditor features, you need to create a your base_language in poeditor.

Usage

You are now able to use the translation commands scan/upload/download or create-js

Scan files

To scan your project for translations run this command:

The command creates your base_language .json file in /resources/lang

Add terms

To only add your terms run this command:

This command doesn't remove unsused terms, so remember NOT to run upload command afterward.

Upload translations

To upload your translation terms to poeditor run this command:

You are also able to upload your local translations if you have locale changes

Download translation languages

To download languages from poeditor run this command:

Create JS language files

To create public JS files run this command:

You are now able to access all your languages as window.i18n from /public/lang when you include the .js file

`

System translations

If you want to translate system translations change the terms in eg /resources/lang/en/auth.php

From:

To

Then it will be scanned and included in the synced terms.


All versions of laravel-translation with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
ext-json Version *
symfony/finder Version ^4.3|^5.0|^6.0|^7.0
guzzlehttp/guzzle Version ^6.3|^7.0
laravel/framework Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.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 vemcogroup/laravel-translation contains the following files

Loading the files please wait ....