lyssal/structure-bundle

此包已被废弃,不再维护。未建议替代包。

用于在 Symfony 中更简单、更高效工作的各种工具

安装: 564

依赖项: 5

建议者: 0

安全: 0

星级: 0

关注者: 2

分支: 1

开放问题: 0

类型:symfony-bundle

0.2.2 2016-05-19 17:28 UTC

README

此存储库已被废弃。

您可以用以下其他存储库替代它

LyssalStructureBundle 包含各种工具,可简化 Symfony 应用程序的开发。

SensioLabsInsight

文档

其他包

安装

  1. 更新您的 composer.json
"require": {
    "lyssal/structure-bundle": "x.y.*"
}
  1. 安装包
php composer.phar update
  1. 更新 AppKernel.php
new Lyssal\StructureBundle\LyssalStructureBundle(),
  1. 更新 routing.yml(如果您想使用 Response 服务)
lyssal_structure:
    resource: "@LyssalStructureBundle/Controller"
    type: "annotation"
    prefix: "/LyssalStructure"

要使用默认的 LyssalStructureBundle 中的 Repository 或如果您使用 Manager,则需要定义 doctrine.orm.default_repository_class 如此

doctrine:
    orm:
        default_repository_class: "Lyssal\StructureBundle\Repository\EntityRepository"