Download the PHP package dikderoy/yii-pophpconvertor without Composer

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

yii-pophpconvertor

Latest Version on Packagist Software License Total Downloads

This is a fork of the EMessageCommand for Yii 1.x

This command:

Install

Via Composer

Add the following items for commandMap to your console.php config file:

'commandMap' => array(
    'emessage' => array(
        'class' => '\EMessageCommand',
    ),
),

Usage

Usage instructions and examples are available on official extension page at yiiframework.com

Actions

duplicates

Finds the duplicates between all .php files. The search can be case insensitive. Run it after a message execution, as it searches into the first language.

duplicates [--caseSensitive=true] [--config=protected/messages/config.php]

message

Searches for messages to be translated in the specified source files

message [--config=protected/messages/config.php]

po

Converts messages from gettext .po files to .php files.

po [--config=protected/messages/config.php]

php

Converts messages from .php files to gettext .po files.

php [--config=protected/messages/config.php]

statistics

Shows the translation statistics.

statistics [--config=protected/messages/config.php]

Configuration File

You can specify the path of the configuration file with --config= argument, default is protected/messages/config.php.

The file must be a valid PHP script which returns an array of name-value pairs.

Each name-value pair represents a configuration option. The following options must be specified:

parameter description required default
sourcePath string, root directory of all source files yes none
messagePath string, root directory containing message translations. yes none
languages array, list of language codes that the extracted messages should be translated to. yes none
autoMerge boolean, overwrite the .php files with the new extracted messages. no false
launchpad boolean, if the .po files must be stored as protected/messages/launchpad/template/lang.po or in the same directory of the converted .php file. no false
skipUnused boolean, do not mark unused string with @@ and skip them no false
fileTypes array, a list of file extensions (e.g. php, xml) Only the files whose extension name can be found in this list will be processed. If empty, all files will be processed. yes none
exclude array, a list of directory and file exclusions. Each exclusion can be either a name or a path. If a file or directory name or path matches the exclusion, it will not be copied. For example, an exclusion of .svn will exclude all files and directories whose name is .svn. And an exclusion of /a/b will exclude file or directory sourcePath/a/b no array()
translator the name of the function for translating messages. This is used as a mark to find messages to be translated. no Yii::t

Example (if located at default path protected/messages/config.php):

Change log

June 21, 2016
June 4, 2012
January 4, 2012
December 14, 2011
November 10, 2010
May 12, 2010
May 23, 2009

Contributing

Fork and Pull-Request

Credits

License


All versions of yii-pophpconvertor with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii Version ^1.1
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 dikderoy/yii-pophpconvertor contains the following files

Loading the files please wait ....