Download the PHP package stefandoorn/sylius-street-number-plugin without Composer
On this page you can find all versions of the php package stefandoorn/sylius-street-number-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stefandoorn/sylius-street-number-plugin
More information about stefandoorn/sylius-street-number-plugin
Files in stefandoorn/sylius-street-number-plugin
Package sylius-street-number-plugin
Short Description Split number from street per address Sylius.
License MIT
Informations about the package sylius-street-number-plugin
Sylius Street Number Plugin
This plugin helps you split street & number.
Features:
- Add
streetNumberfield to Address form (and database)
Optional features:
- Add
streetNumberAdditionfield to Address form (and database)
Installation
-
Require plugin with composer:
-
Add plugin class to your
AppKernel. -
Add to your config:
-
Add doctrine mapping fields for table
sylius_address(seetests/Application/config/doctrine/Address.orm.yml):The
streetNumberAdditionfield is always added, regardless whether you use it. It will benullin that cae. -
Add to
_sylius.yaml: -
Add to
SyliusAdminBundle/views/Common/Form/_address.html.twig: -
Add to
SyliusShopBundle/views/Common/Form/_address.html.twig: - Update database:
(Optional) Add streetNumberAddition field
-
Enable in config (for form extension):
-
Add to
SyliusAdminBundle/views/Common/Form/_address.html.twig: - Add to
SyliusShopBundle/views/Common/Form/_address.html.twig: