Download the PHP package antenna/inline-translations without Composer

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

Inline translations manager

Screenshot of inline translation tool

This package enables you to manage translations and actually translate your Laravel application inline.

We advise you not to use this package in production environments. Translations can be managed within staging or development environments and synced to production with a custom implementation (or via your git repository).

Installation

Add the package as a dependency in your project:

You must publish the configuration by running the command below. This will add the file config/inline-translations.php where you can configure the package. A Vue component will be published as well (resources/assets/vendor/v-inline-translations/app.js). You can use this as a Vue plugin for your vue instance. This is only needed if you use translations in your Vue components.

(Optional) use the Vue plugin. the methodName parameter defines the translation function that you use within your Vue components. This function will be overwritten by this package (when translation mode is active):

Don't forget to configure your supported languages in the configuration that was deployed (see underneath). By default this is configured to support one single language (English).

Configuration

This package has some configuration options. All configuration parameters have default values, so this package should work out of the box. Underneath you'll find the default configuration with explanation for all available parameters

Technical

What can be translated inline?

This package comes out-of-the-box with the capability of managing the following translations

We would like to add other implementations in the future

Usage

We have tried to not only simplify the technical functionality of translation but also the workflow and management of the translations.

This has been done by an inline "widget" that can be collapsed. If open, this visualizes the keys and (already defined) translations that can be found on the page for every language that has been configured within the application.

In order to use the inline translation tool, you should surf to /inline-translations/enable, this will enable the tool. When you surf around your tool, you'll be able to do the translations via our interface. A button can be configured to enable / disable the tool if wanted.

In order to close the tool, surf to /inline-translations/disable

Todo

There are some things we would like to add in the future


All versions of inline-translations with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0 || ^8.1
illuminate/support Version ^7.0 || ^8.0 || ^9.0 || ^10.0
illuminate/translation Version ^7.10 || ^8.0 || ^9.0 || ^10.0
illuminate/routing Version ^7.10 || ^8.0 || ^9.0 || ^10.0
league/flysystem Version ^3.0
ext-json Version *
league/csv Version ^9.7
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 antenna/inline-translations contains the following files

Loading the files please wait ....