Code Monkey home page Code Monkey logo

zfcuserdoctrineorm's Introduction

ZfcUserDoctrineORM

Version 0.1.1 Created by Kyle Spraggs and the ZF-Commons team

Introduction

ZfcUserDoctrineORM is a Doctrine2 ORM storage adapter for ZfcUser.

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 ZfcUser\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 Zfc Components:

php composer.phar require zf-commons/zfc-user-doctrine-orm

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

'modules' => array(
    'DoctrineModule',
    'DoctrineORMModule',
    'ZfcBase',
    'ZfcUser',
    'ZfcUserDoctrineORM',
    'Application',
),

Now, you can use ZfcUser 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

If SQL looks okay, do:

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

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

zfcuserdoctrineorm's People

Contributors

evandotpro avatar danielss89 avatar dennis-fedco avatar akrabat avatar ocramius avatar rhutchison avatar bgallagher avatar rwoverdijk avatar dermellor avatar dasprid avatar inscure avatar jchampion avatar bakura10 avatar neeckeloo avatar websafe avatar tomhanderson avatar

Watchers

James Cloos avatar Ujjwal Ojha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.