Download the PHP package timehunter/laravel-dto-generator without Composer
On this page you can find all versions of the php package timehunter/laravel-dto-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download timehunter/laravel-dto-generator
More information about timehunter/laravel-dto-generator
Files in timehunter/laravel-dto-generator
Download timehunter/laravel-dto-generator
More information about timehunter/laravel-dto-generator
Files in timehunter/laravel-dto-generator
Vendor timehunter
Package laravel-dto-generator
Short Description A generator that creates PHP Data Transfer Object by array schema.
License MIT
Homepage https://github.com/timehunter/laravel-dto-generator
Package laravel-dto-generator
Short Description A generator that creates PHP Data Transfer Object by array schema.
License MIT
Homepage https://github.com/timehunter/laravel-dto-generator
Please rate this library. Is it a good library?
Informations about the package laravel-dto-generator
Laravel DTO Generator
A DTO generator that helps you create a bunch of models instead of repeating copy/paste.
Star me if you find its useful. ^.^
Please update your version to be "~v2.0" and re-publish your config file
Install the package in development dependencies:
Via Composer
Installation
- Create your local config file `
- Add your array schema in config
- Run artisan command: `
- Check your files under your specified file location
Example
Input
PHP Array Schema
``
Note: each object should have key name defined.
- If it is an object please define it as a
object
, see the above. - If your components are array of objects, please define it as a pure array.
- You have to assign a value for each property, for example, an empty string
''
forfirst_name
.
Example Output Usage
``
Output - DTOs:
User Class
``
Comment Class
``
Author Class
``
Followers Class
``
FollowerUser Class
``
License
MIT. Please see the license file for more information.
All versions of laravel-dto-generator with dependencies
PHP Build Version
Package Version
Requires
nette/php-generator Version
^3.2
The package timehunter/laravel-dto-generator contains the following files
Loading the files please wait ....