You can obtain free community support for example through stackoverflow, or also through the Symfony2 mailing list.
If you think you found a bug, please create a ticket in the bug tracker.
If you take code quality seriously, try out the new continuous inspection service.
scrutinizer-ci.com
To install JMSI18nRoutingBundle with Composer just add the following to your composer.json file:
// composer.json
{
// ...
require: {
// ...
"jms/i18n-routing-bundle": "dev-master"
}
}
1.0.*
.Then, you can install the new dependencies by running Composer?s update
command from the directory where your composer.json
file is located:
php composer.phar update
Now, Composer will automatically download all required files, and install them
for you. All that is left to do is to update your AppKernel.php
file, and
register the new bundle:
<?php
// in AppKernel::registerBundles()
$bundles = array(
// ...
new JMS\I18nRoutingBundle\JMSI18nRoutingBundle(),
// not required, but recommended for better extraction
new JMS\TranslationBundle\JMSTranslationBundle(),
// ...
);
deps
file (Symfony 2.0.x)¶First, checkout a copy of the code. Just add the following to the deps
file of your Symfony Standard Distribution:
[JMSI18nRoutingBundle]
git=git://github.com/schmittjoh/JMSI18nRoutingBundle.git
target=bundles/JMS/I18nRoutingBundle
; not required, but recommended for better extraction
[JMSTranslationBundle]
git=git://github.com/schmittjoh/JMSTranslationBundle.git
target=bundles/JMS/TranslationBundle
Then register the bundle with your kernel:
<?php
// in AppKernel::registerBundles()
$bundles = array(
// ...
new JMS\I18nRoutingBundle\JMSI18nRoutingBundle(),
new JMS\TranslationBundle\JMSTranslationBundle(),
// ...
);
Make sure that you also register the namespaces with the autoloader:
<?php
// app/autoload.php
$loader->registerNamespaces(array(
// ...
'JMS' => __DIR__.'/../vendor/bundles',
// ...
));
Now use the vendors
script to clone the newly added repositories
into your project:
php bin/vendors install