Skip to content

A map of entity generate from annotations for Zend Framework 2

License

Notifications You must be signed in to change notification settings

newage/annotations

Repository files navigation

Annotations

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

A map of entity generator from annotations on console for Zend Framework 2. Project uses PSR-2 coding style and PSR-4 autoloading standard.

Install

Via Composer

$ composer require newage/annotations

Usage

  1. Copy a configuration file.
copy vendor/newage/annotations/config/annotations.global.php.dist config/autoload/annotations.global.php
  1. Change a path and a namespace to your Entity for AnnotationBuilder.
  2. Change a path for MapperBuilder to generating a file of map.
  3. Add a module Newage\Annotations to your config.
  4. Set annotations to your Entity. You can see examples User and Role entities.
  5. You need to start a console command:
zf mapper generate

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email vadim.leontiev@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

A map of entity generate from annotations for Zend Framework 2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages