承接 lm-commons/lmc-user-doctrine-orm 相关项目开发

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

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

lm-commons/lmc-user-doctrine-orm

最新稳定版本:3.0.6

Composer 安装命令:

composer require lm-commons/lmc-user-doctrine-orm

包简介

Doctrine2 ORM storage adapter for LmcUser.

README 文档

README

Build Status Coverage Status

Based on ZfcUserDoctrineORM by Kyle Spraggs and the ZF-Commons team

Introduction

LmcUserDoctrineORM is a Doctrine2 ORM storage adapter for LmcUser.

Options

The following options are available:

  • enable_default_entities - Boolean value, determines if the default User entity should be enabled. Set it to false in order to extend LmcUser\Entity\User with your own entity. Default is true.

Dependencies

Installation

Set up Database Connection Settings for Doctrine ORM:

Namely, go to Doctrine Connection Settings, and copy/paste/modify the example configuration file content into your config/autoload/doctrine.orm.local.php.

Install Lmc Components:

php composer.phar require lm-commons/lmc-user-doctrine-orm 

Set up your Modules in config/application/application.config.php, something like

'modules' => array( 'DoctrineModule', 'DoctrineORMModule', 'LmcUser', 'LmcUserDoctrineORM', 'Application', ), 

Now, you can use LmcUser SQL schema to set up your database tables.

Alternatively, you can use doctrine-module to do this work for you:

vendor/bin/doctrine-module orm:schema-tool:update --dump-sql 

Note: If you want to use a different table schema or user entity then you have to set enable_default_entities to false in the lmcuser config file

If SQL looks okay, do:

vendor/bin/doctrine-module orm:schema-tool:update --force 

You can now navigate to /user and it should work.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固