PHP code example of aimilink / laravel-dto

1. Go to this page and download the library: Download aimilink/laravel-dto library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

aimilink / laravel-dto example snippets

shell script

// 默认将创建到项目app/DTO目录
php artisan make:dto BaseDTO