behappy/company-data-plugin
Composer 安装命令:
composer require behappy/company-data-plugin
包简介
Provides a way to create datas for your selling company on Sylius.
README 文档
README
Provides a way to create datas for your selling company on Sylius.
This plugin does not provide any useful functionality as is. It is a dependency point for other plugins.
Installation-procedure
$ composer require behappy/company-data-plugin
Enable the plugin
// in app/AppKernel.php public function registerBundles() { $bundles = array( // ... new BeHappy\SyliusCompanyDataPlugin\BeHappySyliusCompanyDataPlugin(), ... ); // ... }
#in app/config/config.yml imports: ... - { resource: "@BeHappySyliusCompanyDataPlugin/Resources/config/config.yml" } ...
# in routing.yml ... behappy_company_data_plugin: resource: '@BeHappySyliusCompanyDataPlugin/Resources/config/routing.yml' ...
Generate database
Simply launch
php bin/console doctrine:schema:update --dump-sql --force
That's it !
You now have a new entry in Admin under configuration tab : Company data
There you can configure your company(ies) data(s) in order to be used by other plugins.
Thanks
This plugin is partially inspired by BitBagCommerce/SyliusInvoicingPlugin (https://github.com/BitBagCommerce/SyliusInvoicingPlugin).
Feel free to contribute
You can also ask your questions at the mail address in the composer.json mentioning this package.
Other
You can also check our other packages (including Sylius plugins) at https://github.com/BeHappyCommunication
统计信息
- 总下载量: 5.61k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-04