Skip to content

tiagobutzke/json2dto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2dto

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!

;)

About

Convert JSON files in PHP DTO classes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages