friendsofsymfony/propel1-user-bundle

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

FOSUserBundle 的 Propel 1.6 集成

dev-master / 1.0.x-dev 2017-06-01 09:02 UTC

This package is auto-updated.

Last update: 2023-01-10 11:04:18 UTC


README

FOSPropel1UserBundle 为 FOSUserBundle 提供了对 Propel 1.x 的支持。

Build Status Total Downloads Latest Stable Version

安装

通过 composer 安装此包

$ composer require friendsofsymfony/propel1-user-bundle "~1.0@dev"

然后启用 kernel 中的包

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new FOS\UserBundle\FOSUserBundle(),
        new FOS\Propel1UserBundle\FOSPropel1UserBundle(),
        // ...
    );
}

使用

启用此包时,FOSUserBundle 将自动配置使用 FOS\Propel1UserBundle\Model\User 作为其用户类。配置 FOSUserBundle 时,跳过 db_driverservice.user_manager 设置,以及 user_class(除非您想更改用户类)。

许可证

此包在 MIT 许可证下。有关完整的许可证信息,请参阅 包中的许可证

报告问题或功能请求

问题和功能请求在 Github 问题跟踪器 中跟踪。

在报告错误时,最好在基于 Symfony Standard Edition 的基本项目中重现它,以便包的开发者可以通过简单地克隆项目并遵循一些步骤来重现问题。