New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

vortgo/dbal-laravel-enum

DBAL package for laravel migrations. Added field type - enum
633 1
Install
composer require vortgo/dbal-laravel-enum
Latest Version:v2.5.6
PHP:^5.6 || ^7.0
License:MIT
Last Updated:Oct 21, 2016
Links: GitHub  ·  Packagist
Maintainer: vortgo

Doctrine DBAL for laravel migrations

Changed files from original package

dbal/lib/Doctrine/DBAL/Schema/Column.php

dbal/lib/Doctrine/DBAL/Types/EnumType.php

Usage

When you need changing field enum, just added in your migrations file

Doctrine\DBAL\Types\Type::addType('enum', 'Doctrine\DBAL\Types\EnumType');

Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string');

Related Packages

mrjgreen/database

Expressive Database Layer for PHP - Based on Illuminate/Database

48,642 52
napp/dbalcore

DBAL core for projects

3,994 0
larapack/doctrine-support

Better Doctrine Support with Laravel (Support for `enum`)

2,418,954 175
marktopper/doctrine-dbal-timestamp-type

Add the timestamp type for Doctrine/DBAL

866,606 49
mixartemev/dbal-vertica-driver

Doctrine DBAL driver for Vertica

17,077 4

Version History

Version Released PHP License
v2.5.6 ^5.6 || ^7.0 MIT
v2.5.5 >=5.3.2 MIT
v2.5.4 >=5.3.2 MIT
v2.5.3 >=5.3.2 MIT
v2.5.2 >=5.3.2 MIT
Pre-releases (18)
Version Released PHP License
v2.5.0-RC2 >=5.3.2 MIT
v2.5.0-RC1 >=5.3.2 MIT
v2.5.0-BETA3 >=5.3.2 MIT
v2.5.0-BETA2 >=5.3.2 MIT
2.4.0-RC2 >=5.3.2 MIT