pharmaintelligence/gstandaard-bundle
Composer 安装命令:
composer require pharmaintelligence/gstandaard-bundle
包简介
Propel bindings for Z-Index (http://www.z-index.nl)
README 文档
README
This bundle is licensed under the MIT License.
GStandaard bundle contains propel bindings and an import task for the Z-Index dataset.
Requirements
- Symfony 2.4.x
- Propel bundle 1.4.x
- PHP CURL extension
- See also the
requiresection of composer.json
Installation
Install the latest version with composer require pharmaintelligence/gstandaard-bundle
Documentation
Setup
GStandaard-Bundle hooks into the propel settings from your project. Setting up your tables and om-classes can be done using the propel:model:build and propel:migration:* tasks.
Two parameters are required in your config.yml:
# app/config.yml
pharma_intelligence_gstandaard:
user: '%gstandaard_user%'
password: '%gstandaard_user%'
# app/parameters.yml
gstandaard_user: username
gstandaard_password: password
These parameters are the username/password you've received from Z-Index to download the G-Standaard.
Importing G-Standaard
In your project directory run:
php app\console pharma-intelligence:g-standaard:import
Appending the option --alleenMutaties speeds up the import process by only processing mutated fields.
Usage
All tables available through the G-Standaard are available within this bundle, usage is through propel's query & om classes.
Added bonuses
An extra table is available: gs_artikel_eigenschappen. This table is a denormalized table containing the most used properties for all Z-Index numbers.
The pi.gstandaard.barcode_service is registered through the service container. It allows a user to search for products based on barcodes.
Contributing
Pull requests are welcome.
统计信息
- 总下载量: 1.35k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-11