PHPackages                             coolseven/laravel-migration-char-type - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. coolseven/laravel-migration-char-type

ActiveLibrary[Database &amp; ORM](/categories/database)

coolseven/laravel-migration-char-type
=====================================

Add Char Type For Laravel Migration

V2.0.0(5y ago)0107MITPHP

Since Sep 22Pushed 5y agoCompare

[ Source](https://github.com/coolseven/laravel-migration-char-type)[ Packagist](https://packagist.org/packages/coolseven/laravel-migration-char-type)[ Docs](https://github.com/coolseven/doctrine-dbal-char-type)[ RSS](/packages/coolseven-laravel-migration-char-type/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

Register Char Type To Doctrine Dbal library's types map , This package enables changing a column's type to char type when using laravel's migration schema

The solution is inspired by [Muhammad Zamroni's article](https://medium.com/@matriphe/adding-custom-char-type-in-laravel-migration-780d8a9cac29)

Usage:
------

[](#usage)

```
composer require coolseven/laravel-migration-char-type
```

```
