PHP code example of antonyan / ddd-mappers-infrastructure

1. Go to this page and download the library: Download antonyan/ddd-mappers-infrastructure 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/ */

    

antonyan / ddd-mappers-infrastructure example snippets


return [
    'httpConfig' => [
        'availableUrls' => [
            'get' => getenv('SOME_MICROSERVICE_BASE_URL').'/users/:id',
        ]
    ],
];