divineniiquaye / cycle-annotation
Cycle ORM Annotated Entities generator
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 5
pkg:composer/divineniiquaye/cycle-annotation
Requires
- php: ^7.2
- biurad/biurad-loader: ^0.1
- divineniiquaye/cycle-schema-builder: ^1.1
- doctrine/annotations: ^1.8
Requires (Dev)
- mockery/mockery: ^1.1
- phpunit/phpunit: ~8.0
- spiral/code-style: ^1.0
- spiral/debug: ^1.3
README
Example:
/** * @Entity(repository = "Repository/UserRepository") */ class User { /** @Column(type="primary") */ protected $id; /** @HasOne(target=Profile::class, load="eager") */ protected $profile; /** @HasMany(target=Post::class, load="lazy") */ protected $posts; /** @ManyToMany(target=Tag::class, though=TagMap::class, load="lazy") */ protected $tags; ... }
License:
The MIT License (MIT). Please see LICENSE
for more information. Maintained by Spiral Scout.