Skip to content

pida42/gefud

 
 

Repository files navigation

Gefud - Generator for Entities, Factories and their Usecases in Ddd

##Getting started

  1. Clone this repo git clone git@github.com:pida42/gefud.git
  2. Run composer install

##Running tests

  1. Run PHPSpec tests by default with bin/phpspec run

##Usage

bin/gefud entity:generate "Test\Entity\Employee" id:int name:string surname:string

##TODO

  1. Add generating unit tests for entities (cli accepts third parameter in variables as test value, eg. "name:string:Michał")
  2. Add generating factories for entities
  3. Add configuration throught gefud.yml with path for generated files and default namespace (shortens cli commands with namespace)
  4. Add InMemory store generation
  5. Add spec test generations with default store (eg. with InMemory)
  6. Add behat test for cli execution
  7. Add generation of specified framework stores (eg. Symfony2/Doctrine, Phalcon etc.)

About

Generator for Entities, Factories and their Usecases in Ddd

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%