Download the PHP package empuxa/translation-manager without Composer

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

Laravel Translation Manager

Latest Version on Packagist Tests Total Downloads

Banner

This package provides a web interface to manage your Laravel application translations. While the concept is heavily inspired by barryvdh/laravel-translation-manager, this package is a complete rewrite with a different approach to provide a better non-developer user experience:

However, currently there are also some disadvantages (feel free to contribute!):

Installation

This package requires Laravel 9.33+. You can install the package via composer:

Afterward, copy the vendor files:

Finally, run the migrations:

Don't forget to also update the config file config/translation-manager.php to your needs!

Usage

Local Storage / Single Server Setup

By default, the translation manager is available at /translation-manager. However, you can change the route in the config file. Before you can edit translations, you must also set up the output languages. The default language isn't editable to separate development and translation.

To push the translations into the database, you need to run the following command:

It's now possible to edit any language string via the web interface and save them to the database. If a language string already exists, it won't be overwritten. You can force that behavior by using the --force flag.

Before you can use the translations in your application, you need to export them to PHP files that will get stored in the lang folder. You can do that by running the following command:

Cloud Storage / Multi Server Setup

The best way to use the translation manager in a cloud setup is to run a single server instance, where the translators can edit the translations. However, you might also want to push the translations to other environments. That's where cloud storage comes into play.

By using the translation-manager:push-to-storage command, you can push any lang file to the storage disk defined in the config. With the translation-manager:pull-from-storage command, you can then pull the translations from the storage disk.

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of translation-manager with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
spatie/laravel-package-tools Version ^1.0
illuminate/config Version ^9.33|^10.0|^11.0
illuminate/contracts Version ^9.33|^10.0|^11.0
illuminate/database Version ^9.33|^10.0|^11.0
illuminate/queue Version ^9.33|^10.0|^11.0
illuminate/routing Version ^9.33|^10.0|^11.0
illuminate/support Version ^9.33|^10.0|^11.0
illuminate/view Version ^9.33|^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 empuxa/translation-manager contains the following files

Loading the files please wait ....