Getting started
Installing Laravel DTO in your application.
Grab the dependency with Composer
Create new data transfer object
To create a new DTO class run the following command on your project:
You should have a file with a path like app/DataTransferObjects/CreatePostData.php
which looks like this:
Last updated