集成/投票组件包

集成投票组件包

0.15 2021-09-01 04:57 UTC

README

此组件包提供投票的前端功能

要求

  • 查看 composer.json 文件中的 require 部分

功能

  • 投票管理

文档

安装

按照以下步骤安装此组件包

使用 composer 安装

$ php composer.phar require integrated/poll-bundle:~0.15

启用组件包

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Integrated\Bundle\PollBundle\IntegratedPollBundle()
        // ...
    );
}

导入路由

# app/config/routing.yml
integrated_poll:
    resource: @IntegratedPollBundle/Resources/config/routing.xml

Doctrine 配置

# app/config/config.yml
doctrine:
    dbal:
        types:
            ip: Darsyn\IP\Doctrine\MultiType

许可证

此组件包遵循 MIT 许可证。完整许可证请参阅组件包内

LICENSE

贡献

欢迎提交 pull request。请参阅我们的 贡献指南

关于

此组件包是 Integrated 项目的一部分。您可以在 集成开发者 网站上了解更多关于此项目的信息。