inwendo/iw_client_auth_user_symfony_bundle

此包的最新版本(0.2.4)没有提供许可证信息。

Inwendo 客户端身份验证用户包

0.2.4 2020-05-15 14:47 UTC

This package is not auto-updated.

Last update: 2024-09-28 11:47:46 UTC


README

安装

步骤 1: 下载包

编辑 composer.json 并添加以下信息

    //...

    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/inwendo/iw_client_auth_user_symfony_bundle"
        }
    ],
    //...
    "require": {
        "inwendo/iw_client_auth_user_symfony_bundle": "dev-master"
    }
    //...

打开命令行,进入您的项目目录,并执行以下命令以下载此包的最新稳定版本

$ composer update

此命令需要您已全局安装 Composer,如 Composer 文档中的安装章节所述。

步骤 2: 启用包

然后,通过将其添加到项目 app/AppKernel.php 文件中注册的包列表中来启用该包

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Inwendo\Auth\LoginBundle\InwendoAuthLoginBundle(),
        );

        // ...
    }

    // ...
}

步骤 3: 将配置添加到 config.yml 文件

inwendo_auth_login:
    userrepository: "AppBundle:User"

步骤 5: 使用方法

待办事项