承接 edemy/mainbundle 相关项目开发

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

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

edemy/mainbundle

Composer 安装命令:

composer require edemy/mainbundle

包简介

Main Bundle for eDemy Framework

README 文档

README

The eDemyMainBundle is the main bundle for the eDemy Framework. It adds base functionality for other bundles.

Installation

$ composer require edemy/mainbundle:dev-master

app/AppKernel.php

new JMS\SerializerBundle\JMSSerializerBundle(),
new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
new FOS\UserBundle\FOSUserBundle(),
new eDemy\MainBundle\eDemyMainBundle(),
Optional
new Stfalcon\Bundle\TinymceBundle\StfalconTinymceBundle(),

app/routing.yml

edemy_main:
    resource: .
    type: extra

app/config.yml

fos_user:
    db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
    firewall_name: main
    user_class: eDemy\MainBundle\Entity\User

app/security.yml

security:
    encoders:
        FOS\UserBundle\Model\UserInterface: sha512

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    providers:
        fos_userbundle:
            id: fos_user.user_provider.username

    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt)|css|images|js)/
            security: false

        main:
            pattern:    ^/
            form_login:
                provider: fos_userbundle
                csrf_provider: form.csrf_provider
            logout:       true
            anonymous:    true

License

This bundle is under the GNUv2 license. See the complete license in the bundle:

Resources/meta/LICENSE

Documentation

The bulk of the documentation is stored in the Resources/doc/index.md file in this bundle.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GNU
  • 更新时间: 2015-05-12