承接 ns/simple-user-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ns/simple-user-bundle

Composer 安装命令:

composer require ns/simple-user-bundle

包简介

Basic pre-configured user admin and auth bundle for NSAdminBundle

README 文档

README

Basic pre-configured user admin and auth bundle for NSAdminBundle

##Installation

Require SimpleUserBundle composer require ns/simple-user-bundle

add it to your project bundles.php NS\SimpleUserBundle\NSSimpleUserBundle::class => ['all' => true],

and require the routing config in your project routes.yaml file. NOTE: The SimpleUserBundle routes must be included before the AdminBundle routes.

ns_simple_user:
    resource: "@NSSimpleUserBundle/Resources/config/routing.yml"
    prefix:  /

ns_admin:
    resource: "@NSAdminBundle/Resources/config/routing.yml"
    prefix:  /admin

Update your project security.yaml file:

security:
    encoders:
        NS\SimpleUserBundle\Security\SecurityUser:
            algorithm: bcrypt
        NS\SimpleUserBundle\Entity\User\User:
            algorithm: bcrypt
    providers:
        app:
            id: NS\SimpleUserBundle\Security\SecurityUserProvider
    firewalls:
        main:
            form_login:
                login_path: login
                check_path: login_check
            logout:
                path: logout
                target: login
    access_control:
        - { path: ^/logout$, role: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }

The user admin list can be accessed with the admin_user_list route.

统计信息

  • 总下载量: 173
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2020-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固