PHP code example of mapado / pretty-types

1. Go to this page and download the library: Download mapado/pretty-types 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/ */

    

mapado / pretty-types example snippets


/**
 * ...
 *
 * @ORM\Column(name="column_name", type="json_pretty")
 */

/**
 * ...
 *
 * @ORM\Column(name="column_name", type="datetime")
 */

/**
 * @ORM\Column(name="column_name", type="utcdatetime")
 */