2017 © Pedro Peláez
 

library user

User module for zend framework 3

image

vim/user

User module for zend framework 3

  • Sunday, January 21, 2018
  • by vanvas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

user

Module for Zend Framework 3., (*1)

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org., (*2)

composer require vim/user

Register Vim\User in config/modules.config.php:, (*3)

<?php
return [
    'Vim\User',
];

Register Entity:, (*4)

<?php
return [
    'doctrine' => [
        'driver' => [
            'application_annotation_driver' => [
                'paths' => [
                    './vendor/vim/user/src/Entity',
                ],
            ],
            'orm_default' => [
                'drivers' => [
                    'Vim\User\Entity' => 'application_annotation_driver',
                ],
            ],
        ]
    ],
];

CRUD Service

<?php
/** @var \Vim\User\Service\UserService $userService */
$userService = $container->get(\Vim\User\Service\UserService::class);

More information here: vim/crud, (*5)

The Versions