benatespina / i18n-routing-bundle
Bundle that provides some missing features to complement the JMSI18nRoutingBundle
Installs: 1 175
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.0
- symfony/framework-bundle: ^3.0
- symfony/templating: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.3
- jms/i18n-routing-bundle: ^2.0
- phpspec/phpspec: ^3.3
- symfony/asset: ^3.2
- symfony/console: ^3.2
- symfony/translation: ^3.2
- symfony/twig-bundle: ^3.2
- symfony/var-dumper: ^3.2
- symfony/web-server-bundle: ^3.3
- symfony/yaml: ^3.2
This package is not auto-updated.
Last update: 2024-11-18 07:37:29 UTC
README
Bundle that provides some missing features to complement the JMSI18nRoutingBundle
Requirements
PHP >= 7.0
Symfony >= 3.0
Installation
The easiest way to install this bundle is using Composer
$ composer require benatespina/i18n-routing-bundle
Documentation
All the documentation is stored in the docs
folder.
Tests
This bundle is completely tested by PHPSpec, SpecBDD framework for PHP.
Run the following command to launch tests:
$ vendor/bin/phpspec run -fpretty
Also, you can easily start a simple application to test the features that the bundle provides.
$ tests/Application/bin/console server:start --docroot=tests/Application/web $ open http://127.0.0.1:8000
Contributing
This bundle follows PHP coding standards, so pull requests need to execute the Fabien Potencier's PHP-CS-Fixer. Furthermore, if the PR creates some not-PHP file remember that you have to put the license header manually. In order to simplify we provide a Composer script that wraps all the commands related with this process.
$ composer run-script cs
There is also a policy for contributing to this bundle. Pull requests must be explained step by step to make the review process easy in order to accept and merge them. New methods or code improvements must come paired with PHPSpec tests.
Credits
This bundle is created by:
@benatespina - benatespina@gmail.com