stefandoorn / google-shopping-category-form-type-bundle
Form type to select a Google Shopping Category ID
Installs: 5 756
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 3
Type:symfony-bundle
Requires
- php: ^7.4 || ^8.1
- symfony/form: ^4.0 || ^5.0 || ^6.0
- symfony/framework-bundle: ^4.0 || ^5.0 || ^6.0
Requires (Dev)
- dev-master
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.0
- dev-dependabot/composer/phpunit/phpunit-9.6.9
- dev-dependabot/composer/symfony/form-5.4.24
- dev-dependabot/composer/matthiasnoback/symfony-dependency-injection-test-4.3.1
- dev-dependabot/composer/phpstan/phpstan-0.12.94
- dev-dependabot/composer/symfony/framework-bundle-4.4.27
- dev-dependabot/composer/symfony/form-5.3.4
- dev-dependabot/composer/sylius-labs/coding-standard-4.0.1
This package is auto-updated.
Last update: 2024-11-23 14:05:09 UTC
README
GoogleShoppingCategoryFormTypeBundle
Installation
composer require stefandoorn/google-shopping-category-form-type-bundle
Usage
In your form, use:
$builder->add('googleShoppingCategory', GoogleShoppingCategoryType::class);
The locale of the category list downloaded can be adjusted by injecting another locale into the downloader service:
google_shopping_category.downloader.category: class: StefanDoorn\GoogleShoppingCategoryFormTypeBundle\Downloader\GoogleShoppingCategoryList arguments: - 'nl_NL'