Download the PHP package mineschan/loco-laravel-export without Composer

On this page you can find all versions of the php package mineschan/loco-laravel-export. 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 loco-laravel-export

LocoLaravelExport

Latest Version on Packagist Total Downloads License

A drop in solution for exporting translations from https://localise.biz - A translation management tool to Laravel 5 project.

Installation

Via Composer

If you like to have custom configurations

Usage: Export

Step 1

Add your Export Key as LOCO_EXPORT_API_KEY in .env

Step 2

Save all available languages to resources/lang directory.

Done!


By default the package export all available languages from your Loco porjects, if you like to export only part of them you can specify using arguments.

You can pass them one by one, or you can simply pass zh for all zh locale. e.g. zh-Hant, zh-TW

Export in Live servers

Just like artisan:migrate. If you run localise:export on non-local environment, confirmation will be needed.

You can pass -f or --force to make it silent. Helpful if you want to include this to your CI/CD flow.

Usage: Get string

LocoLaravelExport saves string array files from Localise.biz to resources/lang/{lang}/loco.php by default.

This package provides a helper function loco() to help you retrieve your saved strings with this package easily.

Alternatively, you can still use Laravel __() helper like so __('loco.{your_string_key}').

Configurable options

Option default Explanation
api_key* (null) Export Key of Loco project
lang_filename loco Default file name after export & save.
locales [] Default languages to export if you do not specific any.
download Achieve download options.
export Export options.

Contributions

Pull request is welcomed!

This is my first composer package, please do support me by giving me stars.

Change log

Please see the changelog for more information on what has changed recently.

Author

License

MIT. Please see the license file for more information.


All versions of loco-laravel-export with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~5
loco/loco Version ^2.0
chumper/zipper Version 1.0.x
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 mineschan/loco-laravel-export contains the following files

Loading the files please wait ....