tiagobutzke/json2dto

Generate DTO objects by a json

1.0.0 2014-06-22 15:46 UTC

This package is not auto-updated.

Last update: 2024-11-19 03:54:21 UTC


README

Generate Data Transfer Objects is normaly a hard work. With json2dto, you can easily generate your DTO's by a json file.

Install via Github

# clone this repository
git clone git@github.com:tiagobutzke/json2dto.git

Install via Composer

# add in composer.json
"require-dev": {
    "tiagobutzke/json2dto": "1.0.*"
}

Basic Usage

# Execute json2dto
./json2dto some_file.json some/directory --namespace=SomeNamespace

Namespace is an optional parameter.

Thanks!

;)