title: Register custom Doctrine DBAL types in Laravel
body: <p>Just recently I on-boarded a Laravel 5 project and faced the problem of extending Doctrine DBAL implementation with custom types supported by Postgres.
  I have to plug in nicely <a href="https://github.com/opensoft/doctrine-postgres-types" rel="nofollow">https://github.com/opensoft/doctrine-postgres-types</a> and <a href="https://github.com/boldtrn/JsonbBundle" rel="nofollow">https://github.com/boldtrn/JsonbBundle</a> into the application configuration. Coming from Symfony2 I was expecting that there will be a smooth way of adding it to Doctrine's configuration (as in <a href="http://symfony.com/doc/current/cookbook/doctrine/dbal.html#registering-custom-mapping-types-in-the-schematool" rel="nofollow">http://symfony.com/doc/current/cookbook/doctrine/dbal.html#registering-custom-mapping-types-in-the-schematool</a>). Sadly it doesn't seem to be the case. </p>
  
  <p>I saw the suggestion mentioned in 2013 by <em>betawax</em> in <a href="https://github.com/laravel/framework/issues/1675" rel="nofollow">https://github.com/laravel/framework/issues/1675</a>, also replied by <em>tylorotwell</em> that there are no plans for such kind of support. I don't feel convinced this is the right way to do it.</p>
  
  <p>Did anyone overcome this obstacle recently?</p>