Download the PHP package bushbaby/bsb-doctrine-translator without Composer

On this page you can find all versions of the php package bushbaby/bsb-doctrine-translator. 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 bsb-doctrine-translator

BsbDoctrineTranslator

WARNING! very much work in progress - do not use in production!

Set of tools to manage translation from a doctrine database.

Installation

as zf2 project

BsbDoctrineTranslator works with Composer. To install it into your project, just add the following line into your composer.json file:

"require": {
    "bushbaby/bsb-doctrine-translator": "~1.0.0@dev"
}

Then update your project by runnning composer.phar update.

Finally enable the module by adding BsbDoctrineTranslator in your application.config.php file.

as standalone

For development purposes you might want to install BsbDoctrineTranslator standalone. Clone the project somewhere on your computer

git clone [email protected]:bushbaby/BsbDoctrineTranslator.git BsbDoctrineTranslator
cd BsbDoctrineTranslator
curl -sS https://getcomposer.org/installer | php
git checkout develop
./composer.phar install
phpunit

Configuration

To configure the module just copy the bsb_doctrine_translator.local.php.dist (you can find this file in the config folder of BsbDoctrineTranslator) into your config/autoload folder, and override what you want.

Commandline Tool

Commands

The source scanner provides the ability to detect any translate(message, domain, locale) translatePlural(message, plural, number, domain, locale) invokations in PHP source.

scan-source accepts these arguments

--locale 
--domain 
--file=path/to/file
--kind=all|singular|plural defaults to all

To list detected messages

scan-source list 

Export detected messages

scan-source export > exported.txt

The comparison component provides the ability to compare message defined in source to the actual translation in the database

Provides the ability to compare the message found in source to messages stored in database

compare untranslated

Features (some planned)


All versions of bsb-doctrine-translator with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
zendframework/zendframework Version ~2.0,>=2.2.2
bushbaby/bsb-doctrine-translation-loader Version >=1.1
phpoffice/phpexcel Version ~1.7
pear/console_table Version >=1.2
nikic/php-parser Version ~1.0,>=1.2.2
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 bushbaby/bsb-doctrine-translator contains the following files

Loading the files please wait ....