PHP code example of orkestra / common
1. Go to this page and download the library: Download orkestra/common 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/ */
orkestra / common example snippets
# /path/to/your/bootstrap.php
use Doctrine\DBAL\Types\Type;
// DateTime types
Type::overrideType('datetime', 'Orkestra\Common\DbalType\DateTimeType');
Type::overrideType('date', 'Orkestra\Common\DbalType\DateType');